G-dH / advanced-alttab-window-switcher

A highly customizable replacement for Gnome Shell's Alt-Tab window and app switchers.
GNU General Public License v3.0
164 stars 11 forks source link

[BUG] Tiling popup gets stuck on screen #124

Open harrymander opened 2 days ago

harrymander commented 2 days ago

Describe the bug

The tiling popup that shows when tiling a window on Ubuntu doesn't go away when a application is selected or Esc key is pressed.

Additionally, it seems to cause other parts of Gnome to become unresponsive, e.g. task bar, copy-paste, selecting windows in the Activities overview (pressing Super/Windows key). The popup also persists on the lock screen.

So far, the only thing I have found that removes the popup is taking a screenshot!

To reproduce

  1. In system settings > Ubuntu Desktop: ensure that 'Tiling Popup' is checked
  2. Arrange two maximised windows on the same screen with one on top of the other
  3. Tile one of the windows e.g. by pressing Alt+Left
  4. The tiling popup will show. Clicking on a window will tile it into the empty space, but the popup then becomes unresponsive.

Expected behaviour

The popup disappears after selecting a window or pressing Esc.

Screenshots

Screenshot from 2024-10-14 13-40-29

Desktop

Logs

Oct 14 14:14:20 c032du gnome-shell[16965]: Can't update stage views actor unnamed [MetaWindowActorX11] is on because it needs an allocation.
Oct 14 14:14:20 c032du gnome-shell[16965]: Can't update stage views actor unnamed [MetaSurfaceActorX11] is on because it needs an allocation.
Oct 14 14:14:21 c032du gnome-shell[16965]: Error in size change accounting.
Oct 14 14:14:21 c032du gnome-shell[16965]: JS ERROR: TypeError: this._inputHandler is undefined
                                           vfunc_key_press_event@file:///home/harry/.local/share/gnome-shell/extensions/advanced-alt-tab@G-dH.github.com/src/windowSwitcherPopup.js:1651:9
                                           @resource:///org/gnome/shell/ui/init.js:21:20
Oct 14 14:14:22 c032du gnome-shell[16965]: JS ERROR: TypeError: this._timeoutIds is undefined
                                           _delayedDestroy@file:///home/harry/.local/share/gnome-shell/extensions/advanced-alt-tab@G-dH.github.com/src/windowSwitcherPopup.js:1102:13
                                           fadeAndDestroy@file:///home/harry/.local/share/gnome-shell/extensions/advanced-alt-tab@G-dH.github.com/src/windowSwitcherPopup.js:1097:18
                                           fadeAndDestroy@file:///usr/share/gnome-shell/extensions/tiling-assistant@ubuntu.com/src/extension/tilingPopup.js:271:15
                                           vfunc_button_press_event@resource:///org/gnome/shell/ui/switcherPopup.js:230:14
                                           vfunc_button_press_event@file:///usr/share/gnome-shell/extensions/tiling-assistant@ubuntu.com/src/extension/tilingPopup.js:216:22
                                           @resource:///org/gnome/shell/ui/init.js:21:20
linuxbastler commented 2 days ago

I didn't have this problem on Ubuntu 24.04. Last weekend I updated to Ubuntu 24.10 and now I have the same problem as harrymander describes. The Tiling Popup does stay on screen all time.

G-dH commented 2 days ago

Thanks, I'll look into it.

pwlsp commented 1 day ago

same here

G-dH commented 26 minutes ago

Please, install AATWS from the main branch and let me know how the fix works for you.