Bugs: Browse | Submit New | Admin
In Alexandria 0.6.3 (upgraded from 0.6.2), Ubuntu Gutsy. Double clicking on a book (in list or in icon view) doesn't always open the properties dialog. Trying again (sometimes more than once) makes the dialog appear. Alexandria's console output shows 4 button_press_event messages when double clicking. Both when the dialog shows up and when it doesn't. The attached debug2.log file shows the debug output when I open Alexandria, double click on a book, the dialog doesn't open, then I close Alexandria.
Add A Comment:
Date: 2008-03-05 18:43 Sender: Joseph Method The precise problem is more like, click on row, then double click -> get properties dialog. double click on row, double click again -> get properties dialog. It's not registering the first double click as a double click, but a selection.
Date: 2008-02-24 23:33 Sender: Lennart Karssen I guess I was wrong when I said it also happens in icon view. I tried to test it again (both in a fresh VM and with my "real" library) and double clicking in icon view seems to work alright.
Date: 2008-02-24 20:57 Sender: Cathal Mc Ginley The button_press_event code is actually generally dealing with right-clicks. The GTK+ GUI automatically decides whether there has been a double-click, and the iconview receives an item-activated event (code is in iconview.rb). There is also a "Dirty hack to avoid the beginning of a drag within this handler" at that point in the code. I don't know what this means, but it might be a source of the problem you're seeing. I removed the code from the 'Gtk.timeout_add(100)' block, and put it in the method directly... it seems to stop the problem where occasionally the properties don't show up, but this could be coincidence at the moment. I'll continue to check this out.
Date: 2008-02-23 22:35 Sender: Lennart Karssen In debug3.log I start Alexandria, double click on the same book. No dialog, so I click again, the dialog shows, I click save and close alexandria.