-
-
Notifications
You must be signed in to change notification settings - Fork 152
Description
Expected behaviour
When opening a previously opened folder in spatial mode ("Open each folder in its own window"), the resulting window should have the position, size, view state, and scroll position that it had when it was last closed. This is how it works in Xorg and Xwayland.
Actual behaviour
When opening a previously opened folder in spatial mode ("Open each folder in its own window"), the resulting window has the previous size, view state, and scroll position, but NOT the actual window position it had when it last closed. The resulting position is likely based on the compositor default (in labwc, it appears to be the center of the screen.) This completely defeats spatial orientation.
For myself, in practice, I'll be on Xorg for another couple of years since I'll ultimately be using Debian Stable's MATE and all of its components, so for me this isn't immediately an issue. Furthermore, I don't believe Xwayland is going away anytime soon, so as long as Caja can run as an Xwayland client then this will indefinitely be less of an issue.
Nonetheless, as it stands, Caja as a native Wayland client is broken in spatial mode. I am unsure what options there are in Wayland compositors to get and set window positions, but should there be one, Caja should leverage it when running as a Wayland client.
Steps to reproduce the behaviour
In spatial mode, open a folder and move the window somewhere. Close the window and then reopen the folder.
MATE general version
N/A; I'm testing caja-master by itself
Package version
1.29.0
Linux Distribution
Debian 13