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

Reapplying a layout with mapped applications makes the app unresponsive #304

Open
eschaubert opened this issue Nov 2, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@eschaubert
Copy link

Describe the bug
Reapplying a layout with mapped applications makes the app unresponsive, except the minimize and close buttons. After minimizing and restoring the window the application works again as usual.

Steps To Reproduce

  1. Create a layout and map applications to each Rectangle.
  2. Apply the layout
  3. Apply the layout again
  4. => all mapped apps unresponsive to clicks

System Info:

  • Distro (incl. version): Fedora 39
  • GNOME Shell version: 45
  • Extension version and from where (e. g. EGO, main branch...): 44
  • XOrg/Wayland: Wayland

Journalctl logs
Old animationInfo removed from actor [0x558be297e7e0 MetaWindowActorX11]
Error in size change accounting.

@eschaubert eschaubert added the bug Something isn't working label Nov 2, 2023
@ngpbach
Copy link

ngpbach commented Nov 3, 2023

Same issue.

System Info:

  • Distro (incl. version): Ubuntu 22.04
  • GNOME Shell version: 42.9
  • Extension version and from where (e. g. EGO, main branch...): 36, from Gnome-tweak site
  • XOrg/Wayland: Wayland

@eschaubert
Copy link
Author

eschaubert commented Nov 6, 2023

I saw that you disabled the animations for another issue where "Error in size change accounting" was reported by journalctl. So i tried and disabled them in preferences, and now I don't have the issue.

@antipovandr
Copy link

Same issue.
Ubuntu 22.04
Gnome 42.9
Extension version latest on 16 nov 2023 from extentsion.gnome.org via extension manager
XOrg/Wayland: Wayland

Disabling animations helped me.

@xalt7x
Copy link
Contributor

xalt7x commented Jan 11, 2024

Steps to reproduce:

  1. Launch 3 instances of GNOME Text Editor
    a. Launch First instance and input "1". We need this to differentiate windows
    b. Press Ctrl+N to launch the Second instance and input "2" there
    c. Repeat previous step for the Third instance

  2. Tile First instance to left ; in the Tiling Popup select Second instance for the right side

  3. Switch to the Third instance, tile it to left ; in the tiling pop-up select Second instance for the right side

  4. Try to input something on the Second instance (right side). Visually nothing happens but after user switches focus to the left window, the newly typed text appears.

  5. "Maximize"+"Restore" window actions will help to bring tiled window to the normal state.

Screencast:
Tiling_Assistant_issue_304.webm

System information:
Fedora 39 Silverblue
GNOME 45.3
Wayland
Extension v44


Workaround

Disable "Tiling" animation (thanks @eschaubert for the suggestion)

CLI way:
dconf write /org/gnome/shell/extensions/tiling-assistant/enable-tile-animations "false"

GUI way:

  1. Open Extension Manager . Open preferences for "Tiling Assistant" extension.
    Alternatively, launch gnome-extensions prefs tiling-assistant@leleat-on-github
  2. Enable "Advanced/Experimental settings" (can be found under "bulb" icon on the left corner of the extension preferences window header-bar)
  3. Now on the "General" page under the "Animations" section disable "Tiling" animation

Bug report on the Ubuntu tracker: https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-tiling-assistant/+bug/2051595

Leleat pushed a commit that referenced this issue Feb 27, 2024
While I can't reproduce the issue, multiple people reported the bug (
via multiple issues). Apparently, disabling the tiling animations works
around the bug. So disable the tiling animations for layouts. A proper
fix would probably require implementing custom animations rather than
mis-using/hooking into GNOME Shell animations. For now just use this
simple workaround since this is a rather annoying bug for those who are
affected and has been around for a while.

Works around #304
Leleat pushed a commit that referenced this issue Feb 27, 2024
While I can't reproduce the issue, multiple people reported the bug (
via multiple issues). Apparently, disabling the tiling animations works
around the bug. So disable the tiling animations for layouts. A proper
fix would probably require implementing custom animations rather than
mis-using/hooking into GNOME Shell animations. For now just use this
simple workaround since this is a rather annoying bug for those who are
affected and has been around for a while.

Works around #304
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants