Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 308572

Summary: [PropertiesView] Can't click with mouse on some buttons in 'Properties Window' - need to select and use space/enter instead
Product: [Eclipse Project] Platform Reporter: poldie <chatpoldie>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: major    
Priority: P3 CC: daniel_megert, douglas, ericwill, geliscan, gheorghe, howard.moskovitz, niels, remy.suen, santacrab.it
Version: 3.5.2Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description poldie CLA 2010-04-08 18:01:43 EDT
Build Identifier: Version: 3.5.2 Build id: M20100211-1343

I'm using the Android plugin (under Ubuntu 9.10, gnome 2.28.1) and have created the standard `hello work` project and added a button.  I've then selected the button and gone to the Background field in the property window, and clicked on the [...] button at the far right which should bring up the 'reference chooser'.  However, nothing happens when I left click.  Instead, I need to click on the button, then hit space or enter, and then the `reference chooser` window pops up as expected.

This looks similar to bug 291257 except all dialogue box buttons work fine for me. The workaround of "export GDK_NATIVE_WINDOWS=true" doens't work.   So it might well be related but it's not fixed in 3.5.2, and therefore may well not be fixed in the upcoming 3.6 either.

Not sure if it's for me to choose a severity - there's a workaround, but it's not an obvious one (i had to go to IRC for advice - i didn't find it while searching the bug database here).  To my mind a `major feature is broken` because without it, editing properties becomes harder work and as it's one of the first things a noob Android developer (such as myself) is going to do it makes Eclipse look unreliable.

Reproducible: Always

Steps to Reproduce:
1. add button to a layout
2. click in `value` column in Properties window next to Background (for example, although every [...] box in 'value' column fails in the same way)
3. click on [...] to attempt to get Reference Chooser window
4. notice that it doesn't work, and that instead the whole 'value' cell becomes highlighted
5. press spacebar or hit enter instead, and observe the 'reference chooser' window appearing as normal
Comment 1 Eric Moffatt CLA 2010-04-20 16:18:03 EDT
Could you attach a screen shot of what the property view looks like when you hit this issue? thanks.
Comment 2 Dani Megert CLA 2010-07-26 02:11:36 EDT
*** Bug 320812 has been marked as a duplicate of this bug. ***
Comment 3 Douglas C F CLA 2010-12-11 08:00:17 EST
*** Bug 332356 has been marked as a duplicate of this bug. ***
Comment 4 Douglas C F CLA 2010-12-11 08:01:40 EST
I have the same problem, please see on YouTube: http://www.youtube.com/watch?v=4GXsCjX_CGc
Comment 5 Bogdan Gheorghe CLA 2011-02-08 16:09:51 EST
Out of curiosity, did you try setting "export GDK_NATIVE_WINDOWS=1" in a terminal before launching eclipse (from the same terminal)?

Which distro are you using? Which version of GTK 2? Can you reproduce this on a different distro?
Comment 6 Markus Keller CLA 2011-03-03 15:41:25 EST
*** Bug 338802 has been marked as a duplicate of this bug. ***
Comment 7 Remy Suen CLA 2011-10-07 10:17:48 EDT
*** Bug 360236 has been marked as a duplicate of this bug. ***
Comment 8 Missing name CLA 2011-10-08 15:56:06 EDT
(In reply to comment #5)
> Out of curiosity, did you try setting "export GDK_NATIVE_WINDOWS=1" in a
> terminal before launching eclipse (from the same terminal)?
> 
> Which distro are you using? Which version of GTK 2? Can you reproduce this on a
> different distro?

No it doesn't work
Comment 9 Eric Williams CLA 2018-06-29 15:32:55 EDT
Is this still reproducible?
Comment 10 Eric Williams CLA 2018-08-14 17:12:37 EDT
No response in 7 years. Please reopen this ticket if the issue persists.