GNOME Bugzilla – Bug 767621
Window twitches when dragging from inside the window
Last modified: 2016-09-15 05:09:54 UTC
Not sure what exactly causes this, but setting the window itself as the drag destination and setting the GTK_DEST_DEFAULT_HIGHLIGHT flag causes the window to flicker and twitch when dragging from the tree view onto the window.
Created attachment 329717 [details] [review] window: set the paned as the drag destination Setting the window as the drag destination along with the GTK_DEST_DEFAULT_HIGHLIGHT flag causes the window to misbehave. This commit fixes that by setting the paned as the drag destination.
*** Bug 770271 has been marked as a duplicate of this bug. ***
Same issue in evince when dragging an image from a pdf file to outside the evince window.
I tested yelp as well. Dragging an image cases flickering exactly while the image crosses the window border.
(In reply to Hussam Al-Tayeb from comment #4) > I tested yelp as well. Dragging an image cases flickering exactly while the > image crosses the window border. This bug is file-roller-specific. You would attract more attention if you reopened your GTK+ one. :)
(In reply to Ernestas Kulik from comment #5) > (In reply to Hussam Al-Tayeb from comment #4) > > I tested yelp as well. Dragging an image cases flickering exactly while the > > image crosses the window border. > > This bug is file-roller-specific. You would attract more attention if you > reopened your GTK+ one. :) To expand, this seems to be specifically caused by two things: setting the window as the drag destination and setting the GTK_DEST_DEFAULT_HIGHLIGHT flag.
(In reply to Ernestas Kulik from comment #1) > Created attachment 329717 [details] [review] [review] > window: set the paned as the drag destination > > Setting the window as the drag destination along with the > GTK_DEST_DEFAULT_HIGHLIGHT flag causes the window to misbehave. This > commit fixes that by setting the paned as the drag destination. patch pushed to master, thank you.