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

Méven <me...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |me...@kde.org

--- Comment #8 from Méven <me...@kde.org> ---
(In reply to Grady from comment #6)
> (In reply to David Edmundson from comment #1)
> > For X this is not fixable, for wayland we may have an option
> 
> Would it be possible to simply append numbers onto the names of monitors in
> the order they are gathered from the OS for X?
> I don't know where you're getting the information from for the monitor
> names, but I assume there's some kind of query being made, and an array of
> strings is being returned or objects with string properties, maybe just
> append the array index value onto the string? With a +1 so it starts at 1
> instead of 0.

IIRC The problem with X11 is the ordering is not deterministic accross reboots,
we simply can't use it.

> Also, just another idea, another option would be to append the name of the 
> port the monitors are connected to

What if you have two HDMI ports ?
Then X11 is not deterministic.

Ports and ordering are useless here, you always need a better source of truth.
For linux that's libdrm and the serialnumber
https://gitlab.freedesktop.org/mesa/drm.

But Even then we have trouble because screens by some manufacturers can share
the exact same serialnumber...
Hence https://bugs.kde.org/show_bug.cgi?id=450344

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

Reply via email to