GNOME Bugzilla – Bug 94516
Differentiate clicks from drags
Last modified: 2014-08-26 19:51:12 UTC
Entering as new bug so as not to mess things up. Clicking and dragging are substantially different actions and they can be handled differently. Following is a patch that adds this functionality to GulGestures and GaleonEmbedManualScroller classes. Both will continue to do whatever they do, but if the mouse wasn't moved before the button was released, they emit a 'clicked' signal. This makes it possible to have gestures and context menu, or manual scroll and pasteurlopen (someone come up with a good name for this:) using the same mouse button. The patch makes no changes to behavior, only adds the signals and a method for checking afterwards what button was used.
Created attachment 11313 [details] [review] Emit 'clicked' signal if mouse wasn't moved during gesture/manual scroll
Clicking and dragging are easy to mix. Also, this behavior (doing different things for dragging and clicking) is very different to any other gnome app. I'm not sure this is a good idea. I'm not totally oposed to this either.
So... you're saying that dragging files in nautilus does the same as clicking on them? Or clicking and dragging in the bookmark editor? I say they are different and distinct. Please allow us who can manage the difference make the most out of it.
I like very much the idea. We just need to make sure we follow the accessibility pref about the distance where the dragging start. (Not sure where the pref is but there is one).
Just found it by accident. Saving here for future reference :) http://developer.gnome.org/doc/API/2.0/gtk/gtksettings.html#GtkSettings--gtk-dnd-drag-threshold
Sadly this patch no longer applies, so marking it as needs-work :-)
Galeon has not seen any code changes since May 2010: https://git.gnome.org/browse/archive/galeon/log This project is not under active development anymore and got recently archived in GNOME Git. It is currently unlikely that there will be any further active development. Closing this report as WONTFIX as part of Bugzilla Housekeeping to reflect reality. Please feel free to reopen this bug report in the future if anyone takes the responsibility for active development again. If you are interested in maintainership, inform https://mail.gnome.org/mailman/listinfo/desktop-devel-list