https://bugs.kde.org/show_bug.cgi?id=454621

--- Comment #4 from Allistar <allista...@gmail.com> ---
I have identified that this issue is caused by the change between 5.23 and 5.24
in screenpool.cpp ScreenPool::load.

I have fixed this with a patch which allows me to blacklist monitors from
Plasma by their serial number. Unfortunately QScreen doesn't expose the xscreen
that the monitor is on (eg. :0.0 or :0.1) which means that it's not easy to
stop shells from running on a monitor for a particular xscreen. The only unique
identifier for screens is their serial number. With my patch you can add a
section like this to the plasmarc:

[IgnoreScreens]
0=G455H97ABNCL-
1=D59H25C8BJ3S-

And Plasma shell won't start on those displays. This fixes the bug for me and
reverts Plasma workspace back to the previous behaviour.
The patch file is attached.

I think a proper fix it to limit Plasma (or QT) to one xscreen. Even with
"DISPLAY=":0.1" or --display=":0.0" set when running plasmashell it's still
picking up monitors from ":0.1". This is a bug, it shouldn't be looking at
displays that aren't the DISPLAY variable.
Another fix it to change QScreen to expose the xscreen number which would then
allow plasmashell to decide which screens it can and can't run on.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to