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 607322 - Double-click doesn't work if the item is selected in gtklistview widgets
Double-click doesn't work if the item is selected in gtklistview widgets
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: Other
2.19.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2010-01-18 16:00 UTC by István Berta
Modified: 2010-01-18 21:31 UTC
See Also:
GNOME target: ---
GNOME version: 2.29/2.30



Description István Berta 2010-01-18 16:00:36 UTC
Reported here:
https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/509086

Quoting the original description:
I'm experiencing a strange behaviour in the Open/Save dialog (gtkFileChooser). When I select a folder (with a single click) the subsequent double-click doesn't open this item. I have to perform once again a single-click and then a double-click opens the folder.

Steps to reproduce:
1. Open any GTK application which has an Open/Save file dialog (for example gEdit).
2. In the menu select the Open (or Save) item to bring up the file chooser.
3. Select a folder so it gets highlighted (single-click).
4. Wait a moment.
5. Now try to open the selected or any other folder with double-click, it doesn't works!

To make it work you have to perform another single-click and then the subsequent double-clicks will work.

It looks like the clicks are counted in the dialog and if the double-click is composed of an even-odd (2.-3. or 6.-7. ...) click of the sequence of clicks it doesn't respond. When the double-click is composed of an odd-even (1.-2. or 5.-6. ...) click it works.

Ubuntu lucid (development branch)
libgtk2.0-0: 2.19.3-1ubuntu1
Comment 1 Sebastien Bacher 2010-01-18 17:01:18 UTC
the issue is not specific to the gtkfileselector, the left pane of gtk-demo has the same bug, seems rather a gtklistview thing...
Comment 2 Sebastien Bacher 2010-01-18 17:08:18 UTC
Ccing Kris since Matthias hinted his changed could have created that one
Comment 3 Kristian Rietveld 2010-01-18 19:21:32 UTC
Probably my fault indeed, will look at it.
Comment 4 Kristian Rietveld 2010-01-18 21:14:49 UTC
Caused by the fix for 596473, pushing a fix now.
Comment 5 Kristian Rietveld 2010-01-18 21:30:20 UTC
Pushed 2f73fb76c1263b27f38324cca9a8d1407ac8d6cb.
Comment 6 Sebastien Bacher 2010-01-18 21:31:32 UTC
Thank you for the quick fix there!