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

--- Comment #5 from Vinay V <vinay.v....@gmail.com> ---
(In reply to Vinay V from comment #0)
> SUMMARY
> Some windows automatically switching screens on unlock! 
> 
> I am using latest version of KDE (I think it is 6.1.1) on Garuda Linux
> (which is almost the same as Archlinux).
> 
> I have an external monitor connected to my laptop. The monitor is labelled
> as primary display and the laptop as secondary display. Generally, when I
> log back in from lock screen, my window placements go haywire. That is, many
> windows which are open in primary screen (monitor) will be moved to
> secondary (laptop screen) and will be maximised. This happens specifically
> for Dolphin, Konsole, KTorrent, Kate. Maybe others too, but I’ve observed
> these. Other windows like Chromium, VSCode, etc do not have this issue.
> This does not happen always, but whenever I'm away from my desktop for
> longer (longer than 10-15 minutes). If I lock my desktop and unlock within a
> short period, everything is fine.
> 
> I am running on Wayland with support for XWayland. Is it possible that this
> issue is happening for windows that run on Wayland and not XWayland?

I have narrowed it down to wayland being the problem. Windows of apps that run
on X11/XWayland works fine. But wayland apps will frequently move to the second
screen (laptop screen instead of external monitor) and will be maximised after
coming back from lock screen (again, not immediately, but after a while of
being locked).
I ran xlsclients command to determine which windows/apps were running on
X11/Xwayland. I figured out Chromium was one such app. After I changed the
flags to launch it with Wayland, Chromium also started behaving the same way!
ALL Chromium windows would be moved from primary external display to secondary
laptop screen and will be maximised!

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

Reply via email to