Public bug reported:

Package: gnome-shell-ubuntu-extensions 50.26.04.7ubuntu (tiling-assistant, 
reports v54)
Ubuntu 26.04 (resolute), GNOME Shell 50.1, Wayland
Hardware: ThinkPad X390 Yoga (built-in Wacom pen + touch digitizer), external 
USB mouse

Problem
Dragging a window (e.g. a terminal) by its title bar with the mouse makes Tiling
Assistant tile/maximize it as soon as the pointer is about halfway across the
screen, far from any edge, so windows are almost impossible to move. Dragging by
touch works. With the extension disabled (native GNOME edge tiling) mouse drags
are normal.

When the pen is placed on the screen, a second, motionless pointer appears at
the top of the screen (the pen's own pointer) and edge snapping with the mouse
stops working entirely (no preview, no tiling at the left/right edges).

Cause
The packaged moveHandler.js contains the drag-sprite heuristic from upstream
"Handle window drag by touch input" (_lastSprite = sprite of any stage LEAVE
event) but not the follow-up fix:
  0351b533a9 "moveHandler: Workaround spurious LEAVE events from tablet tools"
  (Closes https://github.com/ubuntu/Tiling-Assistant/issues/453)
Per that commit message, tablet tools fire spurious LEAVE events right after the
mouse LEAVE when a drag starts from the mouse, so getDragCoords() reads the
wrong sprite. Upstream v55 (2026-09-20) contains the fix.

The update currently in resolute-proposed (50.26.04.8ubuntu) does not contain it
either: its vendored moveHandler.js has none of SpriteRole / _seenPointerLeave /
FLAG_GRAB_NOTIFY.

I matched the symptoms to the code and to upstream issue #453; I did not
instrument the shell to log the coordinates.

Steps to reproduce
1. Ubuntu 26.04, Wayland, a device with a Wacom/tablet digitizer, Tiling
   Assistant enabled.
2. Drag any window by its title bar with a mouse toward the middle of the 
screen.
Expected: tile preview only near a screen edge.
Actual: tile preview/tiling starts mid-screen.

Suggested fix: cherry-pick 0351b533a9 (or update to v55) in the next SRU.
Workaround: gnome-extensions disable [email protected]

** Affects: gnome-shell-ubuntu-extensions (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  Tiling Assistant snaps window mid-screen when dragged with mouse
  (missing upstream fix 0351b533a9, tablet-tool LEAVE events)

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


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

Reply via email to