This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 117474 - I18N - resize situation of add keystore window
Summary: I18N - resize situation of add keystore window
Status: VERIFIED FIXED
Alias: None
Product: javame
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: Andrew Korostelev
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-10-02 15:37 UTC by Ken Frank
Modified: 2008-03-25 23:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (250.42 KB, image/gif)
2007-10-02 15:37 UTC, Ken Frank
Details
gif (22.98 KB, image/gif)
2007-10-03 16:33 UTC, Ken Frank
Details
Hidden input in Create Key Pair dialog (GTK) (20.20 KB, image/png)
2008-02-20 08:57 UTC, Petr Dvorak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2007-10-02 15:37:05 UTC
attached is gif that shows resize problem in add keystore window - where the line under the 
keystore file label is partially on top of some other msg.

this happens using 14 pt font, and using pseudo localized.
Comment 1 Ken Frank 2007-10-02 15:37:31 UTC
Created attachment 50005 [details]
image
Comment 2 Lukas Hasik 2007-10-03 08:44:00 UTC
Ken, the image is corrupted - "The image “http://www.netbeans.org/nonav/issues/showattachment.cgi/50005/keystore.gif”
cannot be displayed, because it contains errors."
Comment 3 Ken Frank 2007-10-03 16:33:09 UTC
Created attachment 50117 [details]
gif
Comment 4 Ken Frank 2007-10-03 16:34:38 UTC
attached a new image.  it seems to show ok on my solaris.

if it does not, can you use the recent pseudo and run at 16 pt font and see if get same results ?

ken.frank@sun.com
Comment 5 Adam Sotona 2007-10-08 09:57:50 UTC
pseudo + 16pt fonts :)
guys, you should define how to calculate window size

closing as invalid as the widow will look ugly in regular font size
Comment 6 Ken Frank 2007-10-08 16:51:07 UTC
I don't understand the last comment about pseudo and 16 pt font size and why that
means the issue is invalid ?

What was mentioned in report was that this was seen when using pseudolocalized nb
and running at 14 pt font, and 14 pt font has been viewed as a
reasonable font size to use; and in fact localized chinese release
hard codes the global font size to 14 pt.

ken.frank@sun.com
Comment 7 Petr Dvorak 2008-02-20 08:53:05 UTC
The first input ("Key Pair Alias") of the "Create Key Pair" dialog (Tools > Keystores > choose non def. keystore >
New...) is almost invisible in GTK. This problem didn't occur without GTK (-J-DuseGtk=false).
Comment 8 Lukas Hasik 2008-02-20 08:56:48 UTC
see the screenshot at http://www.netbeans.org/nonav/issues/showattachment.cgi/56904/hidden_input.png
Comment 9 Petr Dvorak 2008-02-20 08:57:46 UTC
Created attachment 56906 [details]
Hidden input in Create Key Pair dialog (GTK)
Comment 10 Andrew Korostelev 2008-03-04 14:45:13 UTC
AddKeystorePanel was fixed
- layout was customized
- min and preferred size was removed from UI editor properties
- method getPreferredSize was removed. It has always returned fixed size, which didn't work for IDE started with
"--fontfize 16" option. 
Don't see strong reasons to redefine getPreferredSize method here.
If There are any reasons for this, super.getPreferredSize() should be taken into account. e.g. return max of your
assumed and super's height.
http://hg.netbeans.org/main/rev/8de396c2f13a

CreateKeyAliasPanel
- min and preferred size was removed from UI editor properties
- method getPreferredSize was removed. It has always returned fixed size, which didn't work for IDE started with
"--fontfize 16" option. 
Don't see strong reasons to redefine getPreferredSize method here.
If There are any reasons for this (you don't like current dialog's size), super.getPreferredSize() should be taken into
account. e.g. return max of your assumed and super's height.
http://hg.netbeans.org/main/rev/0effe6659761

Comment 11 Lukas Hasik 2008-03-19 15:51:25 UTC
Ken, could you verify it, please.
Comment 12 Ken Frank 2008-03-25 23:35:21 UTC
will verify this one and file another on part of the
keystore manager window right side.

ken.frank@sun.com