Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tiling-Assistant doesn't handle display resolution changes #288

Open
rungitringit opened this issue Sep 12, 2023 · 2 comments
Open

Tiling-Assistant doesn't handle display resolution changes #288

rungitringit opened this issue Sep 12, 2023 · 2 comments
Labels
enhancement Improve this extensions

Comments

@rungitringit
Copy link

rungitringit commented Sep 12, 2023

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 rungitringit added the bug Something isn't working label Sep 12, 2023
@rungitringit
Copy link
Author

rungitringit commented Sep 12, 2023

I just read #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.

@Leleat Leleat added enhancement Improve this extensions and removed bug Something isn't working labels Sep 13, 2023
@Leleat
Copy link
Owner

Leleat commented Sep 13, 2023

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve this extensions
Projects
None yet
Development

No branches or pull requests

2 participants