Skip to content

Tiling a maximized-on-startup window with the keyboard requires multiple key presses #434

@AlyMoh

Description

@AlyMoh

Describe the bug

If the user attempts to tile a window (e.g. File Manager) which was maximized on start up, for example to the right using the keyboard shortcuts, Tiling Assistant does not tile it to the right. Instead, it "un-maximizes" the window to the center, after which the user has to re-enter the keyboard shortcut again to correctly tile the window to the right.

Note that this bug does not occur when window gaps are turned on for maximized windows.

Steps To Reproduce

  1. Open any application, e.g. File Manager, and maximize the window. This does not apply to applications that do not restore their maximized state on startup, e.g., Eloquent.
  2. Close the application.
  3. Re-open the application. The application should start up in the maximized state.
  4. Re-tile the application, e.g., to the right using they keyboard shortcut.

Result: The window is "unmaximized" to the center and not tiled to the right as we'd expect.

System Info:

  • Distro (incl. version): Fedora Linux 43 (Workstation Edition)
  • GNOME Shell version: 49.2
  • Extension version and from where (e. g. EGO, main branch...): v53 from GNOME Extensions
  • XOrg/Wayland: Wayland

Journalctl logs
Possible relevant is the following message that was shown after reproducing the bug

❯ journalctl -fo cat /usr/bin/gnome-shell
...
Old animationInfo removed from actor [0x5565b4ca6a20 MetaWindowActorWayland]
Error in size change accounting.
...

Relevant screencast (bug is reproduced at 0:17)
https://github.com/user-attachments/assets/04faa3ff-3ae2-4a1f-b266-fdca6b9c0174

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions