Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69318 - Blackdown java plugin affects swing GUI
Summary: Blackdown java plugin affects swing GUI
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Java team
URL: http://damserver.nl
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-28 13:41 UTC by Gertjan Zwartjes
Modified: 2005-01-10 06:25 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gertjan Zwartjes 2004-10-28 13:41:46 UTC
After emerging blackdown-jdk-1.4.2, some java applets show appended a newline after each line or caption in every type of component of the swing GUI. For example the drauhgts server applet at http://damserver.nl shows the strange behavior. Emerging sun-jre-bin-1.4.2.06 solves the problem. Maybe this is a problem of the blackdown implementation of java?
Comment 1 Christopher O'Neill 2004-10-28 16:45:39 UTC
I'm having this problem also, it affects all Swing applications - not just the browser plugin.  It seems to think the fonts are twice the vertical height than what they actually are, hence the unwanted blank space.

Sun's jdk 1.5 is unaffected.

Running Xorg6.8.0-r1.
Comment 2 Christopher O'Neill 2004-10-28 16:50:20 UTC
Java swing applet which demostrates this problem:
http://java.sun.com/docs/books/tutorial/2d/textandfonts/FontSelectionDemo.html

Just been speaking to someone with a similar config to mine, it appears to work ok on his :/
Comment 3 Gertjan Zwartjes 2004-10-29 00:10:56 UTC
The font selection applet has the problem as well with the blackdown plugin. Strange enough, the blackdown plugin shows all the fonts I have installed. However, SUN's plugin shows only a subset of my installed fonts. So it looks like this problem is related to fonts...

We have 3 similar configurations, all showing the same problem with our project: http://www.damserver.nl
Comment 4 Christopher O'Neill 2004-10-29 11:23:39 UTC
I've just re-emerged xorg - the fonts are now being displayed correctly.  Not sure why, but after re-emerging (the *exact* same version) there were changes to certain files in the /etc sub-directories, which shouldn't happen..  The permissions of the /tmp/.font-unix was altered in one of the replacement files, perhaps this is somehow related to this bug.

Anyway, re-emerging xorg has fixed it for me.
Comment 5 Thomas Matthijs (RETIRED) gentoo-dev 2004-10-30 07:44:49 UTC
hmm i had the same issue, remerging xorg-x11 fixed it for me too,
i didn't notice anything (obvious) in the config file updates that could cauze it, will have to investigae further
Comment 6 Gertjan Zwartjes 2004-11-01 09:15:43 UTC
Hmz. Remerged xorg-x11 and, yes, works like a charm right now. I have no clue whatsoever how and why remerging xorg-x11 fixes this...
Comment 7 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-12-18 13:43:28 UTC
This appears to be a transient non-issue. If it pops up again, please provide more detailed info and a suggested solution.
Comment 8 Christoph Safferling 2005-01-10 06:25:39 UTC
I had the same problem, with the same solution... but even stranger: a simple quickpkg xorg-x11, emerge -K xorg-x11 (thus not rebuilding, but using the same binaries as before) also did the trick!