random memes }

GTK bug in Ubuntu 9.10

Upgraded my desktop from Ubuntu 9.04 to 9.10. That was a mistake. I could really use an "undo" button right about now (as ZFS users have for large scale file system changes).

The problem is buttons. A change in GTK+ 2.18 broke Eclipse, and anything based on Eclipse.

There are a number of bug reports tracking this problem. On the Eclipse site look at: Bug 291257 - [Widgets] Buttons functionality problem with GTK+ 2.18

There is a work-around offered on the above ticket (setting the GTK_NATIVE_WINDOWS environment variable). It seems to work for some. For others - myself included - it causes another severe problem (for which there are other bug reports).

# # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f30eb1e7f7a, pid=4766, tid=139848919398672 # # JRE version: 6.0_16-b01 # Java VM: Java HotSpot(TM) 64-Bit Server VM (14.2-b01 mixed mode linux-amd64 ) # Problematic frame: # C [libpango-1.0.so.0+0x24f7a] pango_layout_new+0x2a #

Strictly speaking, this is a bug in GTK. A new version of GTK shipped that was meant to be compatible, but instead broke existing applications (at the very least those based on Eclipse). The application use of GTK might (or might not) be considered in some way improper, but practical considerations should be dominant.

Fixing this in GTK will in one step remove the problem in all currently impacted applications. Fixing this in Eclipse will only help new and newly updated Eclipse installations. Existing Eclipse-based applications will continue to be impacted until (and if) updated by their respective developers.

Other related/duplicate bug reports: Buttons in Eclipse not working correctly with GTK+ 2.18.1-1 Eclipse loses button events with swt-gtk in karmic GDK_NATIVE_WINDOWS=1 still required for some dialogs Breaks Default button in some eclipse dialogs (and rcp apps)