You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WLCS at the moment uses position_window_absolute to place a window somewhere in the compositor coordinate space. However this type of behavior isn't going to be supported by every type of window management solution inside the compositor.
Tilers come to mind for an example of where placing a window at an absolute position in wlcs would conflict with how window management is done.
I guess the question then is how would position_window_absolute be adjusted to handle both types of window management concepts (tiling and floating) or would some tests like pointer_movement need a tiling mode?
The text was updated successfully, but these errors were encountered:
Currently the assumption that WLCS can place a surface at an arbitrary location is baked pretty deep into a lot of the tests, and it would be hard to adapt some of them to not require this assumption. WLCS is focused more towards testing flexible display server libraries (like Mir and wlroots) and less towards specific shells (like Ubuntu Frame or Sway), so we hope this isn't too much of a problem.
Hm. Probably the way to deal with this is to invert control? Rather than having position_window_absolute and then the tests using hard-coded positions, have a layout_of_window query that returns the window rectangle, in compositor coordinates.
That still assumes windows map to rectangles, which is an assumption but probably a fairly reasonable one.
Avoiding races would be the trick with such a solution. I agree with Alan; this is a sensible thing to want, but not something that's an urgent priority for us.
WLCS at the moment uses
position_window_absolute
to place a window somewhere in the compositor coordinate space. However this type of behavior isn't going to be supported by every type of window management solution inside the compositor.Tilers come to mind for an example of where placing a window at an absolute position in wlcs would conflict with how window management is done.
I guess the question then is how would
position_window_absolute
be adjusted to handle both types of window management concepts (tiling and floating) or would some tests likepointer_movement
need a tiling mode?The text was updated successfully, but these errors were encountered: