Skip to content

Fix GNOME 50 edge/quarter tiling offset toward screen edge (fix of bug #2155749) - #462

Open
J160KU wants to merge 1 commit into
ubuntu:mainfrom
J160KU:fix/gnome50-right-tile-offset
Open

Fix GNOME 50 edge/quarter tiling offset toward screen edge (fix of bug #2155749)#462
J160KU wants to merge 1 commit into
ubuntu:mainfrom
J160KU:fix/gnome50-right-tile-offset

Conversation

@J160KU

@J160KU J160KU commented Aug 2, 2026

Copy link
Copy Markdown

Summary

  • On GNOME 50 / Ubuntu 26.04, right-half and quarter tiling places windows with a large horizontal offset (windows appear anchored by their center to the screen edge instead of flush to the work area). See Edge-tiling on ultrawide (5120x1440, 32:9) anchors the window to its center instead of the screen edge #454 and LP #2155749.
  • Skip the GNOME 50-incompatible placement path: do not call set_maximize_flags(VERTICAL/HORIZONTAL), override_constraints, _prepareAnimationInfo(MAXIMIZE), or move_frame before resize on Shell 50+.
  • Place tiled windows with a single clamped move_resize_frame(false, ...) on GNOME 50+. Older Shell versions keep the previous behavior.

Additional info

Test plan

  • On Ubuntu 26.04 / GNOME 50 Wayland, enable Ubuntu Tiling Assistant
  • Quarter tiles (corners / numpad): flush to work-area corners
  • Confirm tiling still works after logout/login

On GNOME 50, semi-maximize plus move_frame/user_op placement anchors
tiled windows by their center instead of flush to the work area. Skip
that path on Shell 50+ and place with a single clamped move_resize_frame.

Fixes ubuntu#454
LP: #2155749

Co-authored-by: Cursor <cursoragent@cursor.com>
@J160KU J160KU changed the title Fix GNOME 50 edge/quarter tiling offset toward screen edge Fix GNOME 50 edge/quarter tiling offset toward screen edge (fix of bug #2155749) Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant