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 767621 - Window twitches when dragging from inside the window
Window twitches when dragging from inside the window
Status: RESOLVED FIXED
Product: file-roller
Classification: Applications
Component: general
3.20.x
Other Linux
: Normal minor
: ---
Assigned To: file-roller-maint
file-roller-maint
Depends on:
Blocks:
 
 
Reported: 2016-06-13 20:00 UTC by Ernestas Kulik
Modified: 2016-09-15 05:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
window: set the paned as the drag destination (2.30 KB, patch)
2016-06-13 20:01 UTC, Ernestas Kulik
none Details | Review

Description Ernestas Kulik 2016-06-13 20:00:58 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.
Comment 1 Ernestas Kulik 2016-06-13 20:01:34 UTC
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.
Comment 2 Hussam Al-Tayeb 2016-08-23 10:19:19 UTC
*** Bug 770271 has been marked as a duplicate of this bug. ***
Comment 3 Hussam Al-Tayeb 2016-08-23 10:41:13 UTC
Same issue in evince when dragging an image from a pdf file to outside the evince window.
Comment 4 Hussam Al-Tayeb 2016-08-23 11:22:43 UTC
I tested yelp as well. Dragging an image cases flickering exactly while the image crosses the window border.
Comment 5 Ernestas Kulik 2016-08-23 11:24:52 UTC
(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. :)
Comment 6 Ernestas Kulik 2016-08-23 11:27:59 UTC
(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.
Comment 7 Paolo Bacchilega 2016-09-15 05:09:54 UTC
(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.