Bug 293540 - SWT strange buttons behviour
SWT strange buttons behviour
Status: CLOSED DUPLICATE of bug 291257
Product: Platform
Classification: Eclipse
Component: SWT
4.0
PC Linux
: P3 major (vote)
: ---
Assigned To: Platform-SWT-Inbox CLA Friend
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2009-10-28 04:32 EDT by kryr CLA Friend
Modified: 2009-10-28 16:21 EDT (History)
1 user (show)

See Also:


Attachments
Log file from eclipse-ganymede (the "old version" of eclipse) (16.61 KB, application/octet-stream)
2009-10-28 04:34 EDT, kryr CLA Friend
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description kryr CLA Friend 2009-10-28 04:32:11 EDT
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20091021 IceCat/3.5.3
Build Identifier: 20090920-1017

I have a new empty java project. Each time I right-click on it, new->class, enter new class name (any name) and hit "finish" button nothing happens.
It happens in other dialog boxes too (most of the dialog boxes so I can no longer use eclipse).
It looks like button's mouse-button-up event is not working. The buttons gains focus and "bevels" when the mouse's cursor is on it but nothing happens. I can still close the dialog box using the keyboard.
Some of the dialog boxes work fine - I don't know the rule behind it. However the error is 100% reproducible.
I think it is something between SWT and Cairo/GTK/?.
When I try to run older eclipse (fresh one, with newly created workspace) version I got a bunch of errors in the log file (attached).


Reproducible: Always

Steps to Reproduce:
1. Create empty java project.
2. Right-click on it in the explorer window.
3. Select new->class.
4. Enter any class name in the window.
5. Try to click "finish".
Comment 1 kryr CLA Friend 2009-10-28 04:34:00 EDT
Created attachment 150701 [details]
Log file from eclipse-ganymede (the "old version" of eclipse)
Comment 2 kryr CLA Friend 2009-10-28 04:34:46 EDT
I'm using 64bit Linux.
Comment 3 Remy Suen CLA Friend 2009-10-28 06:33:58 EDT
Sounds like bug 291257. Please check the workaround there and see if it works for you or not.
Comment 4 kryr CLA Friend 2009-10-28 16:15:33 EDT
Yes, setting GDK_NATIVE_WINDOWS=true works. Thank you. (why I didn't find those bugs before?)

However the bug 291257 does not cover eclipse-jee-ganymede-SR2-linux-gtk-x86_64 (attached log).
And the given workaround does not work for it. But I assume it's a completely different error.

*** This bug has been marked as a duplicate of bug 291257 ***
Comment 5 Remy Suen CLA Friend 2009-10-28 16:21:35 EDT
(In reply to comment #4)
> However the bug 291257 does not cover eclipse-jee-ganymede-SR2-linux-gtk-x86_64
> (attached log).

That's a Eclipse/XULRunner version incompatibility problem. See 213194 for details. It's also described briefly on the IRC FAQ.
http://wiki.eclipse.org/IRC_FAQ