Dear all,
I'm using GTK3 on a Raspberry Pi 2B with a 7" touchscreen (http://uk.rs-online.com/web/p/products/8997466/).
All the controls I've used so far work with both mouse and touchscreen, apart from GtkComboBoxText.
The GtkComboBoxText works nicely with a mouse.
However with a touchscreen, the menu appears with the current selection highlighted but I can't select a different item.
With mouse:
Mouse-click on combo opens menu which stays up, allowing selection with a further Mouse-click.
Mouse-down on combo presents menu, mouse-move slides selection around, mouse-up selects.
With touchscreen:
Finger-click on combo shows menu momentarily, no chance to select.
Finger-down on combo presents menu presents menu, but finger-move doesn't change selection.
Using a combination of touchscreen and USB keyboard refines the symptom:
Finger-down on combo presents menu presents menu, keyboard-up-arrow or keyboard-down-arrow changes selected menu item, finger-up over same selected menu item changes selection.
Note that finger-up not over that new selected item doesn't select.
I remember finding an issue years ago on Windows with a completely different touchscreen: whenever you moved your finger the touchscreen sent a blizzard of mouse-down events without matching mouse-up events, and that confused some controls. That touchscreen was passive-acoustic which could only hear your finger when it moved; this Raspberry touchscreen is capacitive and seems much better behaved.
Thanks in advance for any help or suggestions.
I have also posted a similar enquiry to http://www.gtkforums.com - I hope that's OK with everybody, and I'll post any solution to both.
Alasdair