FS#16618 - [eclipse] buttons dont work with gtk2-2.18.2
Attached to Project:
Arch Linux
Opened by Johan R (cleanrock) - Tuesday, 13 October 2009, 16:21 GMT
Last edited by Paul Mattal (paul) - Tuesday, 01 December 2009, 12:07 GMT
Opened by Johan R (cleanrock) - Tuesday, 13 October 2009, 16:21 GMT
Last edited by Paul Mattal (paul) - Tuesday, 01 December 2009, 12:07 GMT
|
Details
I think eclipse broke with the new gtk2 2.18, many buttons
dont work.
I found some discussion about it here: http://www.eclipse.org/forums/index.php?S=3061129fb70b1822c6520239b136e342&t=msg&th=153842 |
This task depends upon
Closed by Paul Mattal (paul)
Tuesday, 01 December 2009, 12:07 GMT
Reason for closing: Fixed
Additional comments about closing: in eclipse 3.5.1-2
Tuesday, 01 December 2009, 12:07 GMT
Reason for closing: Fixed
Additional comments about closing: in eclipse 3.5.1-2
The observed behaviour is that some buttons show and work, some show but don't work (ex: on the "User Library" preferences page), and some don't show at all (ex: publish/start/stop/etc on Server's view).
Setting GDK_NATIVE_WINDOWS makes the buttons show and work, yes, but then Eclipse crashes within 30s to 5 minutes (depending on what I do inside); The log says it exploded it's PermGen space ! (the very same Eclipse was working perfect for hours on Gtk2.16).
For me it looks like the Gtk guys broke *binary* compatibility in 2.18, despite what the announcement says; For now I had to rollback Gtk2 and ~100mb of dependent packages to 2.16, thanks to a 1-month backup, but this is *very* inconvenient...
Any advice ?
Sorry for not enough testing (more ongoing now -- not yet sure all is fine).
You can reproduce this by creating a simple hello world c++ app, set a breakpoint and start a debug session."
You should change the selected preferred launcher from "standard create process launcher" to "GDB (DSF) Create Process Launcher".
Regards.
Perhaps an admin can remove that part from Details above.
I think it is a little embarrasing for arch to not have a working eclipse. As it is now new users will have to find out via forum of how to get eclipse working using export GDK_NATIVE_WINDOWS=true.
Only way we could really fix that on arch is with, say, an eclipse.sh file in /etc/conf.d/ that sets GDK_NATIVE_WINDOWS, right?
Better question is probably: is there a fix for this upstream?
Based on the above, it doesn't sound like GDK_NATIVE_WINDOWS=true really solves the problem.
I am embarrassed on behalf of the Eclipse foundation that they haven't yet issued a version of their software that works with modern Linuxes, but I'm not sure there's a lot we can do here.
http://download.eclipse.org/eclipse/downloads/drops/M20091125-1042/index.php
This seems like the magnitude of bug that would call for such action.
I don't think it will be a problem if simply patch our wrapper script "/usr/bin/eclipse" to set the needed variable.
export GDK_NATIVE_WINDOWS=true
in /usr/bin/eclipse and that works for me at least.