← Back to team overview

openjdk team mailing list archive

[Bug 255983] Re: openjdk label display in swing ui elements takes up too much vertical space

 

Launchpad has imported 11 comments from the remote bug at
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=255.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2008-11-12T05:50:47+00:00 Matthias Klose wrote:

icedtea6 tip from Nov 11.

Swing UI elements (lists, labels) have additional vertical space, some
applets user interfaces are therefore broken with openjdk. In contrast
sun-java6-jre works fine with tvbrowser and other applets. I attached a
good and a bad png-image. The java program to render the example is ugly
but still useable with openjdk but i think the error is shown clearly in
comparison of the bad openjdk.png with the good sun sun-java.png.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/255983/comments/34

------------------------------------------------------------------------
On 2008-11-12T05:52:08+00:00 Matthias Klose wrote:

wrong: http://launchpadlibrarian.net/16636110/openjdk.png
ok: http://launchpadlibrarian.net/16636119/sun-java.png


Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/255983/comments/35

------------------------------------------------------------------------
On 2008-11-12T05:52:49+00:00 Matthias Klose wrote:

Created attachment 139
button example

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/255983/comments/36

------------------------------------------------------------------------
On 2008-11-12T12:34:38+00:00 Mark J. Wielaard wrote:

The attached example doesn't match the screenshots.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/255983/comments/37

------------------------------------------------------------------------
On 2008-11-12T13:21:34+00:00 Matthias Klose wrote:

here the screenshots for the simple example:

wrong (according to bug submitter):
    http://launchpadlibrarian.net/18495058/not-vertically-centered.png

my reproduced screenshot:
    http://launchpadlibrarian.net/18495770/Button.png

ok (with sun java)
    http://launchpadlibrarian.net/18497525/vertically-centered.png

rechecked (wrong) with openjdk by bug submitter:
    http://launchpadlibrarian.net/18556877/iso--8859-15-large-borders.png


Reply at: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/255983/comments/38

------------------------------------------------------------------------
On 2009-01-14T04:11:49+00:00 Omajid wrote:

(In reply to comment #4)
> ok (with sun java)
>     http://launchpadlibrarian.net/18497525/vertically-centered.png
> 
> rechecked (wrong) with openjdk by bug submitter:
>     http://launchpadlibrarian.net/18556877/iso--8859-15-large-borders.png
> 

This particular bug is due to a mistake in the calculation of a window
size. The button then expands to fill the entire window. It has been
fixed in icedtea6 head: http://mail.openjdk.java.net/pipermail/distro-
pkg-dev/2009-January/004455.html. The rest of the bugs pointed out on
the launchpad page seem unrelated to this one.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/255983/comments/48

------------------------------------------------------------------------
On 2009-01-18T13:51:14+00:00 Matthias Klose wrote:

fixed.


Reply at: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/255983/comments/50

------------------------------------------------------------------------
On 2009-03-02T01:13:39+00:00 Carlos Correia wrote:

As I reported at Launchpad
(https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/255983/comments/45)
the bug persists in Jaunty (at least, with my locale settings:
pt_PT.UTF-8).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/255983/comments/53

------------------------------------------------------------------------
On 2009-03-02T01:25:08+00:00 Carlos Correia wrote:

Created attachment 168
The look with Sun Java and OpenJDK

See https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/255983

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/255983/comments/54

------------------------------------------------------------------------
On 2009-06-26T21:16:25+00:00 Jon-vanalten wrote:

Cleaning up some stale bug reports.

After reading the long thread at the launchpad bug noted above, it seems
that those still having problems found a resolution:

"The remaining problem does not come from some bug in the jdk, but only
the UTF-8 fonts configuration.

The fontconfig.properties file contains the following line:
sequence.allfonts.UTF-8=latin-1,wqy-zenhei,japanese-vlgothic,japanese-kochi,japanese-sazanami,korean-un,korean-baekmuk,bengali,oriya,telugu
If you remove the last three groups it solves the problem."

I suppose this means this is truly fixed?  Can you confirm that this is
no longer a problem for you Carlos?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/255983/comments/78

------------------------------------------------------------------------
On 2009-06-27T11:17:02+00:00 Carlos Correia wrote:

(In reply to comment #9)
> After reading the long thread at the launchpad bug noted above, it seems that
> those still having problems found a resolution:
> 
> "The remaining problem does not come from some bug in the jdk, but only the
> UTF-8 fonts configuration.
> 
> The fontconfig.properties file contains the following line:
> sequence.allfonts.UTF-8=latin-1,wqy-zenhei,japanese-vlgothic,japanese-kochi,japanese-sazanami,korean-un,korean-baekmuk,bengali,oriya,telugu
> If you remove the last three groups it solves the problem."
> 
> I suppose this means this is truly fixed?  Can you confirm that this is no
> longer a problem for you Carlos?
> 

Yes! At least, using locale "pt_PT.UTF-8", the problem disappears as
soon as that line is commented.


Reply at: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/255983/comments/79

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/255983

Title:
  openjdk label display in swing ui elements takes up too much  vertical
  space

Status in OpenJDK:
  Fix Released
Status in “openjdk-6” package in Ubuntu:
  Fix Released
Status in “openjdk-6” source package in Hardy:
  Triaged
Status in “openjdk-6” source package in Intrepid:
  Invalid
Status in “openjdk-6” source package in Jaunty:
  Fix Released

Bug description:
  i am on Ubuntu 8.04.1, effect is the same on i386 and amd64, Package:
  openjdk-6-jre, Version: 6b11-2ubuntu2

  Swing UI elements (lists, labels) have additional vertical space, some
  applets user interfaces are therefore broken with openjdk. In contrast
  sun-java6-jre works fine with tvbrowser and other applets. I attached
  a good and a bad png-image. The java program to render the example is
  ugly but still useable with openjdk but i think the error is shown
  clearly in comparison of the bad openjdk.png with the good sun sun-
  java.png.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openjdk/+bug/255983/+subscriptions


References