After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 110510 - Mouse-up selects workspace even after drag
Mouse-up selects workspace even after drag
Status: RESOLVED FIXED
Product: libwnck
Classification: Core
Component: pager
2.2.x
Other Linux
: Normal normal
: ---
Assigned To: libwnck maintainers
libwnck maintainers
Depends on:
Blocks: 155910
 
 
Reported: 2003-04-10 23:50 UTC by Michael Toomim
Modified: 2006-05-15 17:22 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (3.96 KB, patch)
2006-02-18 11:10 UTC, Vincent Untz
committed Details | Review

Description Michael Toomim 2003-04-10 23:50:17 UTC
Try clicking and holding on a workspace grid on the workspace-switcher, and
then dragging the mouse to a new workspace grid before you release the
mouse button.  The mouse-up event causes you to switch to the new
workspace, but it shouldn't.  The drag should have canceled the workspace
switch.

This is particularly an issue if you try to drag a window from one
workspace to another, but miss the window.  You get switched to the
workspace you were trying to drag the window to, and the window hasn't
moved from the first workspace.
Comment 1 Vincent Noel 2005-01-28 15:10:28 UTC
Moving to right component. Sorry for the spam.
Comment 2 Vincent Untz 2006-02-18 11:10:04 UTC
Created attachment 59634 [details] [review]
Proposed patch

This is a proposed patch. It could do with a review since I'm reusing some variables that are used for drag and drop to detect this case.

It also changes the functions so that we immediately return if the button is not the left button.