gnome-shell:wip/carlosg/spurious-window-drags

Last commit made on 2022-10-05
Get this branch:
git clone -b wip/carlosg/spurious-window-drags https://git.launchpad.net/gnome-shell

Branch merges

Branch information

Name:
wip/carlosg/spurious-window-drags
Repository:
lp:gnome-shell

Recent commits

dbb853b... by Carlos Garnacho

dnd: Start implicit DnD from the original drag position

Locking the DnD actor to the pointer coordinates at the time of
starting a drag (e.g. after the DnD threshold) is going to look like
it lags behind.

Start the DnD operation at the button/touch press coordinates, so
the actor looks like it snaps to that position instead of being dragged
from there.

660f445... by Carlos Garnacho

windowPreview: Handle window preview activaton differently

Currently, to coordinate the window preview activation on click
and the window preview DnD, there is a ClutterClickAction that
indirectly handles both (the latter through long-press cancellation).

Since there are other means to cancel a ClutterClickAction
other than moving past the drag threshold (say, other touchpoints
appearing), interpreting CLUTTER_LONG_PRESS_CANCEL as "dragged
far enough to initiate window DnD" does not quite hold.

But we cannot (currently) make the actor both draggable and add
a ClutterClickAction for activation and have each handle their
own piece of interaction. Prefer that the draggable implementation
handles DnD entirely on its own, and avoid the ClutterClickAction
with simpler event handlers.

The actions in these event handlers will not get to run if DnD was
initiated, and when they get to happen it will mean DnD did not
get to initiate, which sounds like the desired behavior.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4586

31d466d... by Carlos Garnacho

swipeTracker: Disconnect all remaining gestures on destruction

The destroy() handler is a bit inconsistent, since there are other
"gestures" that do need disconnecting their signals from other
objects.

Remove the remaining gestures as well, so that the SwipeTracker
can be cleanly detached from the related actor.

09ea3a4... by Carlos Garnacho

swipeTracker: Use given actor for 3fg touch gesture

Just like the other gestures, ensure it is connected to the
requested actor instead of the stage. Also handle its disconnection
on SwipeTracker destruction.

Fixes the OSK emoji panel SwipeTracker unintendedly handling touch
input while the OSK is not visible.

f5c29de... by Alexander Shopov

Update Bulgarian translation

fd4bd24... by Cheng-Chia Tseng

Update Chinese (Taiwan) translation

c7cd51c... by Nart Tlisha

Update Abkhazian translation

17b9b0b... by Olexander <email address hidden>

Update Ukrainian translation

a3c84ca... by Fabio Tomat <email address hidden>

Update Friulian translation

4816aa5... by Dusan Kazik

Update Slovak translation