ubuntu / ubuntu/Tiling-Assistant
Window snapping after reopening introduces unnecessary offset
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.3k
- Forks
- 78
- PR merge metrics
- No merged PRs in 30d
Description
Affected version
- Ubuntu: Ubuntu 26.04 LTS
- GNOME Shell: GNOME Shell 50.1
- Session: wayland
- Kernel: 7.0.0-28-generic
- Graphics: 00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)
Bug summary
Trying to snap a previously snapped window to one side introduces an unnecessary offset (please watch the video; I don't know how to explain it in words).
Steps to reproduce
- Open Google Chrome and snap it to the right.
- Open VS Code and snap it to the left.
- Close VS Code.
- Reopen VS Code and snap it to the left again.
What happened
It snapped the window to the left, but left a huge gap in between and a big portion outside the display.
What did you expect to happen
No gap, nothing outside the display.
Screencast
https://github.com/user-attachments/assets/15b6b609-ef1c-4d09-9d14-d6ca7c824f1c
Does it happen on both sides?
Yes. When it occurs on the left side, it offsets to the left. When it occurs on the right side, it offsets to the right. Here is a screenshot of it occuring in the right side:
Does it consistently occur every single time
Yes.
Does doing something solve the issue
Yes, disabling the tiling assistant extension using the following command fixes the issue:
gnome-extensions disable tiling-assistant@ubuntu.com
However, re-inabling it brings back the issue.
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 sequence with Chrome and VS Code on Ubuntu GNOME Wayland, then repeat it with the tiling-assistant@ubuntu.com extension disabled to confirm the comparison. Trace the snapping and window-reopening behavior implicated by the reproduction; done means reopened windows snap flush to either side without gaps or extending beyond the display.
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
- 68/100