ubuntu / ubuntu/Tiling-Assistant

Tiling-Assistant doesn't handle display resolution changes

Open
#288 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
1.3k
Forks
78
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. Reproduce the issue on Ubuntu 22.04 with GNOME Shell 42.9 under X11 by changing display resolution, then trace the display-change and tiling paths; done when corner snapping and keyboard shortcuts arrange windows correctly after the change.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.