Consistent behaviour of remembering window position across virtual desktops

Hi!

When using virtual desktops one can choose to display one window on multiple desktops. This can be done from Window Menu (default shortcut is Alt+F3), “Desktops” submenu.

The way it works currently is that when window is dragged around manually, or maximized, then window keeps its position across all virtual desktops.
Unless window is quick-tiled, in which case it doesn’t.

I’m not even sure if this is intended behaviour, at first I though this is a bug. But it seems like this might be intended. From what I gathered, it was implemented this way, because most tiling window managers do have a separate tiling layout on different desktops.

In my opinion the behaviour of remembering — or not remembering — windows positions should be consistent, regardless of how the window changed its position (dragged, maximized, quick tiled). I can think of three ways to do that:

  1. make windows always remember their positions across virtual desktops;
  2. make windows never remember their positions across virtual desktops;
  3. let the user choose via a global setting;
  4. let the use choose via a per-window setting.

Oh, and I haven’t even mentioned activities yet. From quick testing it looks like windows remember their position (even when quick tiled) across activities. So at least here the behaviour is consistent.

I can’t post links, so maybe someone else could post links to these.
Related bugs:

Related discussions:

Related MR:

My input is that, I was only using the feature of displaying a window on all dekstops in multi-screen setups.
I had one screen, on which I split windows across multiple virtual desktops, because the windows would become too small if I tried to have them all on screen at once. On my second screen, I usually put chat windows, and/or documentation. But I wanted these to stay on second screen when switching virtual desktops. But recently there’s an option to switch virtual desktops separately on each screen, and now I’m using that instead.

In my opinion, we should rename “All Desktops” option, to something like “Sticky Window”. If the window is set to display on some desktops — e.g. desktops 1 and 3 — then it should have separate position on each desktop. If the window is set as “Sticky Window” it should display on all desktops and it should always keep the same position across all virtual desktops.
I think this behaviour makes most sense, and it should cover all usecases. Please post if you have an usecase that won’t be covered by that! Other ideas are also very much welcome!

1 Like