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

--- Comment #14 from Michail Vourlakos <mvourla...@gmail.com> ---
(In reply to Alexandre Pereira from comment #13)
> Just a heads up, because I think it may be related to this fix, but don't
> know for sure.
> 
> Right now, If I change monitor names ( Like switching from Xorg to Wayland
> or vice versa ), latte-dock doesn't start ( according to debug log, gets
> stuck on "Step 1" ). 
> 
> To make it work, I have to edit the layout file and remove the "lastScreen"
> lines. ( then works properly after )


1. I suppose you mean that this is case for an explicit screen set dock and not
onPrimary ones

If that is the case then this is unfortunate but it does make sense. As plasma
is doing it and Latte follows it screens are identified by their name e.g.
HDMI-1, eDS-1 etc...

but these names returned from Qt arent the same for X11 and Wayland. So HDMI-1
for X11 it could be HDMI-1-wayland for wayland. I havent find also any pattern
that could help in their naming.

So when a Latte panel/dock is onPrimary set then it just updates its primary
screen from X11 to wayland and vice versa. But when the screen is set on an
explicit one screen e.g. HDMI-1 then Latte considers that HDMI-1 and
HDMI-1-wayland are different screens and they could be also present at the same
time and for that reason when working in wayland a dock for HDMI-1 isnt shown
for HDMI-1-wayland

You can read the recorded screens identifiers at: ~/.config/lattedockrc  at
ScreenConnectors section

The best solution would be the screens to not be identified by their name but
rather through their EDID:
https://en.wikipedia.org/wiki/Extended_Display_Identification_Data
but I dont know how to retrieve it from Qt...

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

Reply via email to