ubuntu / ubuntu/Tiling-Assistant
Tiling a maximized-on-startup window with the keyboard requires multiple key presses
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.3k
- Forks
- 78
- PR merge metrics
- No merged PRs in 30d
Description
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
- 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.
- Close the application.
- Re-open the application. The application should start up in the maximized state.
- 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,
mainbranch...): 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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with a maximized-on-startup application on GNOME Shell and a keyboard tiling shortcut, then trace the extension's maximize and tiling handling. Done means one shortcut tiles the restored maximized window to the requested side, without first unmaximizing it to the center.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100