GNOME Bugzilla – Bug 91176
Double click in List View launches application twice
Last modified: 2004-12-22 21:47:04 UTC
Nautilus version:2.0.4 Description Doubleclicking a file in list-view starts the associated program twice. If the file isn't associated with a program the error-box pops up twice. Icon-view doesn't have this problem.
*** Bug 91379 has been marked as a duplicate of this bug. ***
*** Bug 91151 has been marked as a duplicate of this bug. ***
See this bug too; and (this seems related enough, so...) if, in list view, I 1. select an item 2. double-click between column headers (to auto-resize column) -> the selected item is launched, even though the double click was nowhere near it (deb nautilus2 2.0.7-1)
Created attachment 12634 [details] [review] patch from redhat8
I tried the patch from RH8, but it doesn't work (on debian sid), maybe a wrong patch. anyway, RH8 doesn't have this bug..
*** Bug 100096 has been marked as a duplicate of this bug. ***
Created attachment 12904 [details] [review] The patch modified for nautilus version 2.1.x:
Red Hat Beta (Phoebe) has the same bug. Nautilus 2.1.5.
For me this patch *Works*. The applications is not launched twice, but on the second click rename is activated as well as launching the application. Not perfect, but better than current behavior.
Maybe this patch in combination with a patch to disable click-to- rename (http://bugzilla.gnome.org/show_bug.cgi?id=83552 and friends) would produce the least buggy solution?
This should be applied for 2.2, not sure how to mark that. The bug is pretty serious.
I tested the most recent patch for this bug, together with my own patch for bug 83552 with nautilus 2.1.5 on debian woody. It works! Applications now get launched only once and rename isn't activated anymore.
Forgot to mention that I am using garnome (0.19.5), not the sid-backport of gnome2 to woody.
I can confirm that applying both of the above mentioned patches fixes these problems in the list view.
This is a patch to egg's dnd code, so jrb should probably be the one to check it and put it in egg. We can put it in nautilus if he does, I'd rather not fork it.
fwiw, the bug is really in nautilus, not the eggtreednd stuff. Nautilus does activation on event_after. The treeviewdnd eats events and resends them if necessary, but doesn't eat the event_after. So nautilus gets the event_after twice, once for the original event and once for the resend.
I fixed this bug in the list view.