GNOME Bugzilla – Bug 647062
[Patch] Nautilus ignores consecutive double clicks in icon view
Last modified: 2011-04-07 18:33:58 UTC
Created attachment 185441 [details] [review] Proposed (quick&dirty) patch Overview: Two (or more) consecutive double clicks in icon view are only recognized as a single double click. Expected result: A "quadruple click" should trigger two double clicks. Actual result: Only the first double click is recognized. This is especially annoying when trying to traverse fast through several directory levels. To better illustrate my problem, here are the Steps to reproduce: in Terminal: $ cd $TMP $ mkdir -p level1/level2/level3 $ nautilus level1 Now in nautilus: - change (if necessary) to icon view - position the mouse over the directory "level2" - after double clicking and cd'ing in "level2" the mouse now is over "level3", so one can immediately proceed with double clicking on "level3" to enter it. But what actually happens: The first double click is recognized => one enters "level2", but any further double clicking is ignored until one pauses for a second... So - without pausing - one could infinitely click on "level3" without entering it. Fun facts: This behavior was introduced with commit 0b74fe334f9c5b5353f8447df977470d13e73dd3 (so "it's not a bug, it's a feature", but a quite annoying one though). What this commit does is ignoring any following clicks so that a triple click doesn't trigger two double clicks. But it also ignores any following intended double clicks. Solution: Quick and dirty: Reset the click_count after a double click, so subsequent double clicks are recognized correctly. (see attached patch)
Hi Tanyel; thanks for tracking down this bug, I experienced it myself a couple of times. I committed a slightly different patch to git master. Closing as FIXED.