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 124863 - I18N : "Run with Java Web Start" is not fully displayed when it's localized
Summary: I18N : "Run with Java Web Start" is not fully displayed when it's localized
Status: VERIFIED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Java Webstart (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Milan Kubec
URL:
Keywords: I18N
: 131079 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-08 04:31 UTC by Masaki Katakai
Modified: 2008-07-30 21:09 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot, Japanese text is not fully displayed (45.61 KB, image/png)
2008-01-08 04:33 UTC, Masaki Katakai
Details
screenshot, if it's enabled, the text is displayed properly (39.35 KB, image/png)
2008-01-08 04:34 UTC, Masaki Katakai
Details
screenshot (19.95 KB, text/plain)
2008-04-01 07:54 UTC, Milan Kubec
Details
screenshot (correct MIME type) (19.95 KB, image/png)
2008-04-01 07:56 UTC, Milan Kubec
Details
image (22.90 KB, image/gif)
2008-04-16 20:34 UTC, Ken Frank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2008-01-08 04:31:08 UTC
On "Run" category of project property dialog, "Run with Java Web Start" checkbox is
not fully displayed on the default configuration. See the screenshot of Japanese.

It seems that this problem happens when the hint (long text) is displayed under
the checkbox. Once I enable it (hint is not displayed), it's displayed properly.

I think this problem happens in English too but I marked it as I18N issue because
we're seeing this kind of layout issue when text is localized.
Comment 1 Masaki Katakai 2008-01-08 04:33:07 UTC
Created attachment 54794 [details]
screenshot, Japanese text is not fully displayed
Comment 2 Masaki Katakai 2008-01-08 04:34:35 UTC
Created attachment 54795 [details]
screenshot, if it's enabled, the text is displayed properly
Comment 3 Milan Kubec 2008-01-08 08:41:07 UTC
Fixed.

Checking in CustomizerRunComponent.form;
/cvs/javawebstart/src/org/netbeans/modules/javawebstart/CustomizerRunComponent.form,v  <--  CustomizerRunComponent.form
new revision: 1.3; previous revision: 1.2
done
Checking in CustomizerRunComponent.java;
/cvs/javawebstart/src/org/netbeans/modules/javawebstart/CustomizerRunComponent.java,v  <--  CustomizerRunComponent.java
new revision: 1.4; previous revision: 1.3
done
Comment 4 Ken Frank 2008-03-06 19:16:57 UTC
I dont see hints on solaris at least, so in test environment it looks ok
but there are some parts of java project props that do not look ok as to 
not showing all - I think separate issue exists but let me know if not and will file
(am not referring to some specific translation here, since these problems
can happen even without translation at larger font size).

run section - the configuration dropdown not show all of it
sources section - the source/binary format section dropdown not show all of it
libraries section - the java platform dropdown not show all
web start - codebase dropdown not show all of it

ken.frank@sun.com
Comment 5 Ken Frank 2008-03-26 22:37:53 UTC
am reopening

now I am clear about the hint message - if enable web start is not checked
then on run pane, under run with java web start is message
Hint: to run and debug the application, first enable java web start

actually, looking at the gif, it seems the msg run with java web start,
above the hint, was not being all shown; for me using pseudo localized
it is all shown, but its the hint message that is not all shown.
thus since these lines are so close together, am hoping its ok to reopen
this vs file a different one.

ken.frank@sun.com
Comment 6 Milan Kubec 2008-03-27 12:54:52 UTC
Fixed. Text is shorter and moved to left a bit.

http://hg.netbeans.org/main/rev/bbc90511facc
Comment 7 Milan Kubec 2008-03-31 08:32:37 UTC
*** Issue 131079 has been marked as a duplicate of this issue. ***
Comment 8 Ken Frank 2008-03-31 21:56:16 UTC
using 0330, don't see any differences on solaris or windows
as what has been described.

will reopen but can we waive this for 6.1 ? 

translation team - please provide feedback on if its ok to waive it from your
viewpoint.

ken.frank@sun.com
Comment 9 Milan Kubec 2008-04-01 07:54:11 UTC
Created attachment 59449 [details]
screenshot
Comment 10 Milan Kubec 2008-04-01 07:55:14 UTC
Ignore previous screenshot, I'll attach new one.
Comment 11 Milan Kubec 2008-04-01 07:56:11 UTC
Created attachment 59450 [details]
screenshot (correct MIME type)
Comment 12 Milan Kubec 2008-04-01 08:04:02 UTC
I have attached screenshot from release61 build showing that the text is shorter and moved to left a bit (compare with
original image). If it's not enough, then I cannot accept this reopened issue as P2. The text which might not be visible
in build that uses imaginary pseudo strings is only a hint - all real GUI elements are fully visible.
Comment 13 Lukas Hasik 2008-04-10 21:38:46 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 14 Ken Frank 2008-04-16 20:29:07 UTC
moving to p2, which is correct priority for this kind of issue.

I do think it needs to be fixed for next release;
it still shows as a problem
and also on the run panel, the items in configuration dropdown
dont show completely nor on the web start section,
the codebase dropdown items dont show completely.
see attached gifs.

ken.frank@sun.com
Comment 15 Ken Frank 2008-04-16 20:34:56 UTC
Created attachment 60309 [details]
image
Comment 16 Milan Kubec 2008-04-17 07:39:50 UTC
In some conversation we had about pseudo localized builds you wrote that real localized strings might be 30% longer than
non localized strings. Well, I did some "analysis":

String 'New...' in the button takes 37 pixels.
Localized string replacing 'New...' takes 122 pixels.
37 pixels + 30% is about 48 pixels.
122 pixels is about * 330% * of original text.

String 'Delete' takes 40 pixels.
Localized string replacing 'Delete' takes 125 pixels.
40 pixels + 30% is 52 pixels.
125 pixels is about * 313% * of original text.

Can you explain this to me? I'd like to build up some rules around these issues. 

Thanks
Comment 17 Ken Frank 2008-04-17 17:42:55 UTC
Milan,

you are right about the percentages in that sometimes if the message
is short, the message will then be much longer than 30% bigger -
but from our experience in past and working with most if not all
nb dev teams, its been found that if dynamic resizing approach
using layout mgr or other api to do it is done, then resizing
situation is solved in most cases and no need to worry about
exact pixel size.

And in the case of this specific issue, this was actually seen with
real translation, and am guessing even at default font size, so that
it means its not related to if message is 30% or 300% longer.


I'll provide more info on this to you soon.

ken.frank@sun.com
Comment 18 Milan Kubec 2008-07-23 12:36:29 UTC
Those problems reported as last are fixed together with issue #101501. 

The checkbox visibility problem fixed too. Added tooltip for the case the hint line is not visible completely.

http://hg.netbeans.org/main/rev/ae32bedd9800
Comment 19 Quality Engineering 2008-07-23 17:21:19 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #340 build
Changeset: http://hg.netbeans.org/main/rev/ae32bedd9800
User: Milan Kubec <mkubec@netbeans.org>
Log: #124863: hint layout fix and tooltip provided for the case the line is not visible
Comment 20 Ken Frank 2008-07-30 21:09:16 UTC
looks ok now.