Public bug reported:

[ Impact ]

* The Tiling Popup computes the free screen space immediately after tiling a
  window, but on Wayland move_resize_frame() is applied asynchronously, so
  get_frame_rect() can still report the previous geometry. The popup then offers
  tiles based on stale free space.
* Wait for the window's size-changed signal before collecting the tile group,
  with a timeout fallback for synchronous resizes.

[ Test Plan ]

* On Ubuntu 26.04 Wayland, tile a window and open the Tiling Popup.
* Expected: the offered tiles match the space actually left by the window.
* Actual: the popup uses the pre-resize geometry.

[ Where problems could occur ]

* The popup is now delayed until the window settles; if size-changed never
  arrives the timeout fallback applies, so the popup could be briefly delayed.

[ Other Info ]

* Upstream: tiling-assistant f34000b ("Wait for a tiled window to settle before
  the popup").

** Affects: gnome-shell-ubuntu-extensions (Ubuntu)
     Importance: Medium
     Assignee: Marco Trevisan (Treviño) (3v1n0)
         Status: Fix Committed

** Affects: gnome-shell-ubuntu-extensions (Ubuntu Resolute)
     Importance: Medium
     Assignee: Marco Trevisan (Treviño) (3v1n0)
         Status: Fix Committed

** Also affects: gnome-shell-ubuntu-extensions (Ubuntu Resolute)
   Importance: Undecided
       Status: New

** Changed in: gnome-shell-ubuntu-extensions (Ubuntu Resolute)
   Importance: Undecided => Medium

** Changed in: gnome-shell-ubuntu-extensions (Ubuntu Resolute)
       Status: New => Fix Committed

** Changed in: gnome-shell-ubuntu-extensions (Ubuntu Resolute)
     Assignee: (unassigned) => Marco Trevisan (Treviño) (3v1n0)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2170263

Title:
  Tiling Popup shows stale free space

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell-ubuntu-extensions/+bug/2170263/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to