GNOME Bugzilla – Bug 731016
Text Drag'n'Drop broken in GtkTextView
Last modified: 2014-05-31 13:11:15 UTC
Filing this in General and not GtkTextView because it's probably gesture related. Steps to reproduce: - open gtk3-widget-factory - Select some text in one of the GtkTextViews - Drag the text with the middle mouse button - The text is now stuck to the cursor - left-click to let the text go after these steps, I can't select any text in the text view anymore. Does not happen in 3.12.2 for me.
Fallout from the gestures merge
The following fix has been pushed: 995b6d1 textview: Only trigger drag gesture on GDK_BUTTON_PRIMARY
Created attachment 277620 [details] [review] textview: Only trigger drag gesture on GDK_BUTTON_PRIMARY This gesture was only meant to react on GDK_BUTTON_PRIMARY (either through real pointer events, or implicitly assumed from touch events), as it used to behave before gestures. Otherwise the gtk_drag_begin*() call assumes being triggered by button 1, and the drag misbehaves because that button isn't really in the state mask.