GNOME Bugzilla – Bug 770271
dragging a file from file-roller causes file-roller to lose temporally its border
Last modified: 2016-10-12 18:10:58 UTC
Created attachment 333980 [details] Screenshot showing file-roller with no border shadow. Dragging a file from file-roller causes file-roller to lose temporally its border outline and shadow. Releasing the mouse brings back the border to file-roller. I was told on irc in gtk+ channel that this occasionally can happen in evince as well. Notice how file-roller doesn't have a border/shadow in the attached screenshot but nautilus does. The border comes back when I release the mouse.
*** This bug has been marked as a duplicate of bug 767621 ***
This also happens in multiple other applications. - Evince while dragging an image from an opened pdf file. - Yelp when dragging an image as it crosses the window border.
Probably the theme isn't handling the window being a drop target ?
Makes sense I'll check that out asap
Lapo, any insights ?
Looks like a theme issue yep. The whole window here is a drop target, which makes the shadow/borders go crazy. I'll see how to fix this in the theme.
I pushed a fix, avoiding the drop(active) styling to apply on the whole toplevel window, so this bug is technically fixed, but we're missing a way to indicate when a toplevel window is a drop target and I have no idea (yet) about how to do it, since we can't use the shadow since mutter won't support that and won't be visible when the window is maximised and we can't use the borders since our windows are borderless actually.