Tiling-Assistant icon indicating copy to clipboard operation
Tiling-Assistant copied to clipboard

Tiling-Assistant doesn't handle display resolution changes

Open rungitringit opened this issue 1 year ago • 2 comments

Describe the bug Hello, thanks so much for Tiling-Assistant. I can't live without it! I work with virtual desktops (Currently Ubuntu 22.04 with v36) but unfortunately have different sized monitors at home and work. When I open a virtual desktop after a change of display resolution and try to snap to a corner or use the keyboard shorcut Tiling-Assistant tries two different window sizes between attempts but rarely gets it right. I usually have to minimise all windows, snap one to 50% of the screen and then try to re-tile the others to quarters manually. After that Tiling-Assistant works as expected for the rest of the day, until I change monitors again.

Not sure if I'm expecting too much - please let me know if this is a feature request instead!

Steps To Reproduce

  • Arrange Windows to corners.
  • Change display resolution
  • Try to use shortcut keys or snap corners to arrange windows back to new corners - it usually fails

System Info:

  • Distro (incl. version): Ubuntu 22.04
  • GNOME Shell version: 42.9-0ubuntu2
  • Extension version and from where (e. g. EGO, main branch...): v36
  • XOrg/Wayland: 1:7.7+23ubuntu2 (Amazon WorkSpaces seem to be using X11 not Wayland :( )

Journalctl logs

Sep 13 08:08:48 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaWindowGroup>:0x5589cf77a340] is on because it needs an allocation.
Sep 13 08:08:48 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x5589d16d4740] is on because it needs an allocation.
Sep 13 08:08:48 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x5589d16d7150] is on because it needs an allocation.
Sep 13 08:08:49 U-COMPUTERNAME gnome-shell[10601]: Window manager warning: Overwriting existing binding of keysym 31 with keysym 31 (keycode a).
Sep 13 08:08:49 U-COMPUTERNAME gnome-shell[10601]: Window manager warning: Overwriting existing binding of keysym 32 with keysym 32 (keycode b).
Sep 13 08:08:49 U-COMPUTERNAME gnome-shell[10601]: Window manager warning: Overwriting existing binding of keysym 33 with keysym 33 (keycode c).
Sep 13 08:08:49 U-COMPUTERNAME gnome-shell[10601]: Window manager warning: Overwriting existing binding of keysym 34 with keysym 34 (keycode d).
Sep 13 08:08:49 U-COMPUTERNAME gnome-shell[10601]: Window manager warning: Overwriting existing binding of keysym 35 with keysym 35 (keycode e).
Sep 13 08:08:49 U-COMPUTERNAME gnome-shell[10601]: Window manager warning: Overwriting existing binding of keysym 36 with keysym 36 (keycode f).
Sep 13 08:08:49 U-COMPUTERNAME gnome-shell[10601]: Window manager warning: Overwriting existing binding of keysym 37 with keysym 37 (keycode 10).
Sep 13 08:08:49 U-COMPUTERNAME gnome-shell[10601]: Window manager warning: Overwriting existing binding of keysym 38 with keysym 38 (keycode 11).
Sep 13 08:08:49 U-COMPUTERNAME gnome-shell[10601]: Window manager warning: Overwriting existing binding of keysym 39 with keysym 39 (keycode 12).
Sep 13 08:21:12 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaWindowGroup>:0x5589cf77a340] is on because it needs an allocation.
Sep 13 08:21:12 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x5589d16d4740] is on because it needs an allocation.
Sep 13 08:21:12 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x5589d16d7150] is on because it needs an allocation.
Sep 13 08:21:13 U-COMPUTERNAME gnome-shell[10601]: Error in size change accounting.
Sep 13 08:21:13 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaWindowGroup>:0x5589cf77a340] is on because it needs an allocation.
Sep 13 08:21:13 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x5589d16d4740] is on because it needs an allocation.
Sep 13 08:21:13 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x5589d16d7150] is on because it needs an allocation.
Sep 13 08:21:15 U-COMPUTERNAME gnome-shell[10601]: Error in size change accounting.
Sep 13 08:21:21 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaWindowGroup>:0x5589cf77a340] is on because it needs an allocation.
Sep 13 08:21:21 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x5589d16d4740] is on because it needs an allocation.
Sep 13 08:21:21 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x5589d16d7150] is on because it needs an allocation.
Sep 13 08:21:22 U-COMPUTERNAME gnome-shell[10601]: Error in size change accounting.
Sep 13 08:21:22 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaWindowGroup>:0x5589cf77a340] is on because it needs an allocation.
Sep 13 08:21:22 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x5589d16d4740] is on because it needs an allocation.
Sep 13 08:21:22 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x5589d16d7150] is on because it needs an allocation.
Sep 13 08:21:22 U-COMPUTERNAME gnome-shell[10601]: Error in size change accounting.
Sep 13 08:21:23 U-COMPUTERNAME gnome-shell[10601]: Error in size change accounting.
Sep 13 08:21:23 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaWindowGroup>:0x5589cf77a340] is on because it needs an allocation.
Sep 13 08:21:23 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x5589d16d4740] is on because it needs an allocation.
Sep 13 08:21:23 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x5589d16d7150] is on because it needs an allocation.
Sep 13 08:21:24 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaWindowGroup>:0x5589cf77a340] is on because it needs an allocation.
Sep 13 08:21:24 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x5589d16d4740] is on because it needs an allocation.
Sep 13 08:21:24 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x5589d16d7150] is on because it needs an allocation.
Sep 13 08:21:24 U-COMPUTERNAME gnome-shell[10601]: Error in size change accounting.
Sep 13 08:21:24 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaWindowGroup>:0x5589cf77a340] is on because it needs an allocation.
Sep 13 08:21:24 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x5589d16d4740] is on because it needs an allocation.
Sep 13 08:21:24 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x5589d16d7150] is on because it needs an allocation.
Sep 13 08:21:25 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaWindowGroup>:0x5589cf77a340] is on because it needs an allocation.
Sep 13 08:21:25 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x5589d16d4740] is on because it needs an allocation.
Sep 13 08:21:25 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x5589d16d7150] is on because it needs an allocation.
Sep 13 08:21:25 U-COMPUTERNAME gnome-shell[10601]: Error in size change accounting.
Sep 13 08:21:26 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaWindowGroup>:0x5589cf77a340] is on because it needs an allocation.
Sep 13 08:21:26 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x5589d16d4740] is on because it needs an allocation.
Sep 13 08:21:26 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x5589d16d7150] is on because it needs an allocation.
Sep 13 08:21:26 U-COMPUTERNAME gnome-shell[10601]: Error in size change accounting.
Sep 13 08:21:27 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaWindowGroup>:0x5589cf77a340] is on because it needs an allocation.
Sep 13 08:21:27 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x5589d16d4740] is on because it needs an allocation.
Sep 13 08:21:27 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x5589d16d7150] is on because it needs an allocation.
Sep 13 08:21:28 U-COMPUTERNAME gnome-shell[10601]: Error in size change accounting.
Sep 13 08:21:32 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaWindowGroup>:0x5589cf77a340] is on because it needs an allocation.
Sep 13 08:21:32 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x5589d16d4740] is on because it needs an allocation.
Sep 13 08:21:32 U-COMPUTERNAME gnome-shell[10601]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x5589d16d7150] is on because it needs an allocation.
Sep 13 08:21:34 U-COMPUTERNAME gnome-shell[10601]: Error in size change accounting.

rungitringit avatar Sep 12 '23 22:09 rungitringit

I just read https://github.com/Leleat/Tiling-Assistant/issues/61 and it is likely the problem I have may relate to: Moving tiled windows across monitors doesn't work, if the size of the tiled window is way too big for the new monitor. A workaround is to untile the window before moving it to a new monitor. if so this may not be fixable.

rungitringit avatar Sep 12 '23 23:09 rungitringit

Currently Tiling Assistant doesn't handle resolution changes at all but I want to implement it (some day when I got the time).

(The limitiation you mentioned probably doesn't affect this since that is about manually moving windows to new monitors.)

Leleat avatar Sep 13 '23 09:09 Leleat