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

            Bug ID: 413281
           Summary: How to identify screens properly?
           Product: kwin
           Version: 5.17.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: multihead
          Assignee: kwin-bugs-n...@kde.org
          Reporter: mvourla...@gmail.com
  Target Milestone: ---

I am developing Latte and I think Plasma/KDE stack should find a way to respond
to that more consistently. Please correct me if I am missing something.

1. Plasma in order to identify screens and load its desktops accordingly is
using QScreen::name() 

2. In Latte I used the same approach in order to assign containment ids to
screens

3. For KWin I do not know how is handling things

----

[1] / [2] has the issue that the screen name is not consistent, it can break
multiple times and at the same time it definitely breaks between X11 and
wayland. The same monitor returns a different name when used in X11 and a
different name when used in wayland. This situation can create missing
workflows/applets/settings for the users because if the screen name is NOT
identified properly then all the past settings assigned to it in Plasma and
Latte will be lost.

In Plasma 5.17, (case [3]) the same problem still occurs with KWin new
implementation. The screens assignments are not translated between X11/Wayland.
For wayland the user must reasssign the screen settings through plasma
systemsettings -> Screens.

So I would like to ask if there is a concrete way to identify screens through
Qt. I tested any function through QScreen,
manufacturer(),model(),serialNumber() none of them returns concrete and
trustful results. 

I tried to search if there is a way to access EDID through Qt but I didnt find
any yet... Even though that I have read that EDID is not to be trusted at all
times, there are cases that EDID information are faulty sometimes.

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

Reply via email to