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 91176 - Double click in List View launches application twice
Double click in List View launches application twice
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Views: List View
2.0.x
Other Linux
: High major
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 91151 91379 100096 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-08-19 15:40 UTC by Michael Guntsche
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch from redhat8 (491 bytes, patch)
2002-11-29 13:50 UTC, Timo Aaltonen
none Details | Review
The patch modified for nautilus version 2.1.x: (739 bytes, patch)
2002-12-10 20:30 UTC, Dennis Cranston
none Details | Review

Description Michael Guntsche 2002-08-19 15:40:28 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.
Comment 1 Michael Guntsche 2002-08-22 07:11:47 UTC
*** Bug 91379 has been marked as a duplicate of this bug. ***
Comment 2 Dave Bordoley [Not Reading Bug Mail] 2002-08-22 20:17:50 UTC
*** Bug 91379 has been marked as a duplicate of this bug. ***
Comment 3 Dave Bordoley [Not Reading Bug Mail] 2002-08-30 03:01:06 UTC
*** Bug 91151 has been marked as a duplicate of this bug. ***
Comment 4 Tuukka Tolvanen 2002-10-26 02:53:29 UTC
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)
Comment 5 Timo Aaltonen 2002-11-29 13:50:37 UTC
Created attachment 12634 [details] [review]
patch from redhat8
Comment 6 Timo Aaltonen 2002-11-29 13:52:35 UTC
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..
Comment 7 Stephan Haller 2002-12-02 07:37:10 UTC
*** Bug 100096 has been marked as a duplicate of this bug. ***
Comment 8 Dennis Cranston 2002-12-10 20:30:59 UTC
Created attachment 12904 [details] [review]
The patch modified for nautilus version 2.1.x:
Comment 9 Mattias Dahlberg 2003-01-09 09:21:50 UTC
Red Hat Beta (Phoebe) has the same bug. Nautilus 2.1.5.
Comment 10 Mark Finlay 2003-01-10 18:22:46 UTC
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.
Comment 11 Mattias Dahlberg 2003-01-11 11:34:43 UTC
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?
Comment 12 Havoc Pennington 2003-01-11 16:00:18 UTC
This should be applied for 2.2, not sure how to mark that.
The bug is pretty serious.
Comment 13 marten ter borgh 2003-01-11 23:19:57 UTC
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.
Comment 14 marten ter borgh 2003-01-11 23:31:07 UTC
Forgot to mention that I am using garnome (0.19.5), not the
sid-backport of gnome2 to woody.
Comment 15 Mark Finlay 2003-01-12 12:19:41 UTC
I can confirm that applying both of the above mentioned patches
fixes these problems in the list view.
Comment 16 Dave Camp 2003-01-12 22:17:46 UTC
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.
Comment 17 Dave Camp 2003-01-12 22:20:40 UTC
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.
Comment 18 Dave Camp 2003-01-13 03:10:46 UTC
I fixed this bug in the list view.