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 72960 - Double-clicking by single clicking two different files quickly
Double-clicking by single clicking two different files quickly
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Views: All
0.x.x [obsolete]
Other Linux
: Normal normal
: 1.1.x
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 86639 88978 90295 101207 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-02-28 10:38 UTC by Owen Fraser-Green
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2


Attachments
proposed patch to fix the bug in the icon view (2.35 KB, patch)
2002-07-31 20:40 UTC, Christophe Fergeau
none Details | Review

Description Owen Fraser-Green 2002-02-28 10:38:33 UTC
If one single-clicks two different files quickly in succession, nautilus
responds as though the second file had been double-clicked.
Comment 1 John Fleck 2002-02-28 13:56:01 UTC
I can't duplicate this, but maybe I'm just not clicking fast enough.
Comment 2 Owen Fraser-Green 2002-02-28 14:10:31 UTC
I tried on another machine with Nautilus 1.0.6 and managed it again. 
It seemed a bit harder to do it quick enough on that machine though - 
could the double-click rate slower in Gnome 2?
Comment 3 Owen Fraser-Green 2002-03-01 10:06:36 UTC
This may just be chance but I can't get it to happen in the "View as 
List" mode, only "View as Icons" in the snapshot version. However, I 
can get it to do it in both modes in 1.0.6.
Comment 4 Luis Villa 2002-03-02 04:32:16 UTC
Try as I might, I can't duplicate this with CVS head. Is there
something weird about your mouse setup, maybe?
Comment 5 Darin Adler 2002-03-02 05:39:32 UTC
Even if try, it's low priority to fix this since it was the same
in 1.0.
Comment 6 Michael Toomim 2002-06-30 23:23:58 UTC
I can reproduce this with nautilus 2.0.0 in icon view.

Comment 7 Luis Villa 2002-07-02 07:13:11 UTC
*** Bug 86639 has been marked as a duplicate of this bug. ***
Comment 8 Christophe Fergeau 2002-07-30 21:19:55 UTC
*** Bug 88978 has been marked as a duplicate of this bug. ***
Comment 9 Christophe Fergeau 2002-07-31 20:38:52 UTC
Here is a patch which fixes this bug in the icon view in Nautilus HEAD.
This bug was happening because double click signals where emitted even
if the selected icon changed between the two clicks. I added a new
field to NautilusIcon to indicate whether the potential next
GDK_2BUTTON_PRESS event should be ignored or not. I'd rather directly
tell gtk that I don't want to receive the next potential double click
event, but I couldn't find a way to do it, hence this new variable.
I didn't find where the list view source files are (I didn't search
too much), so I couldn't try to implement a similar fix in this view :)
Comment 10 Christophe Fergeau 2002-07-31 20:40:25 UTC
Created attachment 10160 [details] [review]
proposed patch to fix the bug in the icon view
Comment 11 Brent Fox 2002-10-15 19:30:20 UTC
Has this patch been applied yet?  It doesn't look like it on cvs HEAD.

Another user has filed this bug in the Red Hat Bugzilla at:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=72602
Comment 12 David Kennedy 2002-10-25 15:49:57 UTC
*** Bug 90295 has been marked as a duplicate of this bug. ***
Comment 13 David Kennedy 2002-12-14 15:25:12 UTC
*** Bug 101207 has been marked as a duplicate of this bug. ***
Comment 14 Jeremy Nickurak 2002-12-16 23:14:54 UTC
Note that the first click doens't need to be on a another icon at all,
it can just as easilly be on empty space where there is not icon. Is
this taken into account in the aforementioned patch?
(upping severity to minor, since this isn't a cosmetic problem so much
as a behavioral one)
Comment 15 Jeremy Nickurak 2002-12-19 18:49:58 UTC
Duplicated with view as icons AND vis as list.

atrus@agaeris:~$ nautilus --version
Gnome nautilus 2.0.8
Comment 16 Mark Finlay 2003-02-03 20:02:25 UTC
Can reproduce in 2.2. Setting priority higher because there is a patch
and this has been one for 6 months. At the very least this
could be reviewed.
Comment 17 Mark Finlay 2003-02-21 19:07:39 UTC
I tested the patch and, while it no longer applies cleanly,
it does work for the icon view. The issue still exists in the
list view however.
Comment 18 Mark Finlay 2003-02-23 20:29:50 UTC
This patch had an unfotunate side effect. I don't know why, but
with this patch applied and with nautilus in single click mode
I cannot right click on an unselected item. I have to select it
before I can get to the context menu.

Removing PATCH keyword and lowering the priority.
Comment 19 marten ter borgh 2003-04-02 20:21:35 UTC
This doesn't happen for me anymore with nautilus CVS. Closing