GNOME Bugzilla – Bug 434193
Drag and drop in scrolled windows
Last modified: 2021-06-18 15:52:09 UTC
When dragging a file in a scrolled nautilus window scrolling with the scroll wheel should work. I have thought about this a lot and this is a feature I would be really happy to see implemented. Other information:
This bug is also reported in the ubuntu bug tracker: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/104395 and marked as confirmed, wishlist. It is confirmed, so you could say this one is also confirmed. (By the way, shouldn't the version be adapted since it also happens in 2.20?)
Windows XP has this same bug, would like to know if Vista has it too. That would suggest this is a hard-to-fix bug.
I just tried and I can't scroll in explorer when drag and dropping a file under Vista either.
Created attachment 131498 [details] [review] We need to redraw the dnd rectangle on scroll event too. I've marked this bug as depending in bug 576952, as we need that patch so gtk dnd passes the scroll events to us. But nautilus still has a small glitch in icon view when doing the scrolling (list view works fine), so this small patch fixes it.
I reported the bug about the black lines during scrolling when dragging and dropping on launchpad here: https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/368214 Is this now fixed in nautilus. (I.e. was your patch accepted?)
(In reply to comment #5) > I reported the bug about the black lines during scrolling when dragging and > dropping on launchpad here: > https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/368214 > > Is this now fixed in nautilus. (I.e. was your patch accepted?) > My patch may help but it doesn't fix your launchpad bug, instead if I run nautilus against git master GTK+ the blacklines are almost gone, but with ubuntu gtk+ they constantly appear, so it could be related to gtk+ themes?, therefore your launchpad bug is not related to my patch, my patch fixes another (more severe) blacklines issue that appears due to my gtk+ patch to support scrolling dnd.
Comment on attachment 131498 [details] [review] We need to redraw the dnd rectangle on scroll event too. Thanks for the patch. I am not commenting yet on the semantics of the patch, but code-style-wise, here's some comments: >+void dnd_highlight_queue_redraw (GtkWidget *widget); If you make the function public, there's no need to have this prototype here. >+void dnd_highlight_queue_redraw (GtkWidget *widget); Should be nautilus_dnd_highlight_queue_redraw()
Nelson, do you think you can update the patch?
Just wanted to report this, but luckily found this report. Hope this can be fixed before it turns 10 years old.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version of Files (nautilus), then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/nautilus/-/issues/ Thank you for your understanding and your help.