After screen lock, windows are shown on wrong screen
Affected version
- Ubuntu 22.04 LTS
- Gnome 42.2
- X11
Bug summary
Windows in some applications creeps upwards from primary screen to secondary, often being moved completely to the second screen after a screen lock.
I'm using two different machines, with somewhat different configurations, and both experience this behavior.
One machine has two screens stacked vertically, with a 2k on top of a 4k screen, the other one is also stacked but with two 1600 screens.
Steps to reproduce
Sometimes it is enough to manually lock the screen and log back in for one or more windows to move, but other times there are no change at all.
Just tried to open the file browser, and set the timeout for screen blanking to 1 min. Activating the screen again after it blanked (it didn't lock) the file browser had moved to the upper (secondary) screen. This machine use the nvidia-driver-515
(v515.48.07) and has a NVIDIA RTX A2000 card
What happened
One window (in the previous described case) moved from primary screen to secondary screen. It does not seems like the location reflect the previous location, unless there are some recalculations of the coordinates. The right edge of the window window is partly outside the screen, but otherwise the window isn't malformed. It is just the position that is off, and of course it emerged on the wrong screen.
What did you expect to happen
Windows should reemerge at the same location