Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523074 - x11-themes/gtk-engines-2.20.2-r1 - java Look and Feel does not draw Clearlooks menu borders
Summary: x11-themes/gtk-engines-2.20.2-r1 - java Look and Feel does not draw Clearlook...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: Inclusion, PATCH
Depends on:
Blocks:
 
Reported: 2014-09-17 21:54 UTC by Alex Barker
Modified: 2015-09-11 14:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Clearlooks_Java.patch (Clearlooks_Java.patch,512 bytes, patch)
2014-09-17 21:54 UTC, Alex Barker
Details | Diff
Several Screenshots (screenshots.tar.gz,275.34 KB, application/gzip)
2014-09-18 15:35 UTC, Alex Barker
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Barker 2014-09-17 21:54:09 UTC
Clearlooks fails to draw borders/separators correctly in Java applications when the Look and Feel is set to GTK.  This can be attributed to a small bug gtkrc that was sent upstream but unfortunately gtk-engines theme is all but abandoned at this point.  I have attached the patch from the upstream bug that was closed "wont fix" in hopes that it can be applied locally.

Reproducible: Always
Comment 1 Alex Barker 2014-09-17 21:54:36 UTC
Created attachment 384966 [details, diff]
Clearlooks_Java.patch
Comment 2 Pacho Ramos gentoo-dev 2014-09-18 08:26:54 UTC
Can you provide some screenshots showing the problem? Looks a bit surprising only java apps were affected by this 

Thanks
Comment 3 Alex Barker 2014-09-18 15:35:52 UTC
Created attachment 385048 [details]
Several Screenshots

I have attached several screenshots illustrating the problem in Netbeans 8.0 and the java menu look demo (http://docs.oracle.com/javase/tutorial/uiswing/examples/components/index.html#MenuLookDemo).

This problem only happens when GTK is set to Java's look and feel (LAF).  For the menu look demo, just compile with `ant` and start with `java -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -jar dist/MenuLookDemo.jar` to see the issue.  The "working" screenshots are what it looks like after the patch is applied to /usr/share/themes/Clearlooks/gtk-2.0/gtkrc.  The default_laf screenshot is how things like with Java's default LAF, Metal.
Comment 5 Alex Barker 2015-09-11 14:12:37 UTC
Thanks!