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 64484 - I18N - welcome screen does not have scrollbars when needed
Summary: I18N - welcome screen does not have scrollbars when needed
Status: VERIFIED WONTFIX
Alias: None
Product: ide
Classification: Unclassified
Component: Welcome (show other bugs)
Version: 5.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: _ pkuzel
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2005-09-15 17:54 UTC by Ken Frank
Modified: 2006-01-18 15:26 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2005-09-15 17:54:22 UTC
When the text of a label or message on welcome screen is longer like for
translations, or if larger font is used, it means not all of welcome screen
shows, and forces user to manaually resize it, unless scrollbars are provided.

Actually, resizing the welcome window by dragging does not even work, am guessing
some sizes are hardcoded, but in any case, in past releases, scrollbars have been
provided.

I realize there was some other issue about not wanting to have sbars, and I
think thats why they have been removed compared to 4.1, but I think they are needed.
Comment 1 _ pkuzel 2005-09-16 14:27:02 UTC
No scroll bars. Translations must fit into "boxes". The boxes size is hardcoded
- fine tuned to align with background image.

There are following boxes:

                              1

                         222222
        333333           222222
    ---------------------------------
                         444444
                         444444
                         444444
        55               444444



  1  is for Java logo:      44x26
  2s are for big buttons:  22x200
  3  is for product logo:  35x160
  4s are small buttons:    18x200
  5  is for Sun logo:       31x71
  --- stands for background golden "base" line
  
Comment 2 _ pkuzel 2005-09-16 14:31:33 UTC
Translated text must be tested with boundary font size 18. Implementtaion does
not allow bigger (to fit in small button area).
Comment 3 Ken Frank 2005-09-16 16:46:52 UTC
why no scrollbars ? why a restriction to a certain size font ?
we can't know what the size of localized messages will be, and there are
other community localizations than the ja and zh_CN we do -- and in translations
the size of words can vary. l10n groups should not need to do the math for making
sure words fit into welcome screen. Thats one of the reasons why its recommended
about windows should dynamically resize. But I realize that in main ide window,
it can't resize that way, and thats why scrollbars are acceptable workaround.
The editor window has sbars when needed.

What is the objection to having scrollbars for welcome window ?

We've had them in past, although it does seem with many releases/products
that they are turned off again and then need to be readded ?

I would like to reopen this issue or at least raise the concerns to 
a wider audience.

ken.frank@sun.com
09/16/2005
Comment 4 _ pkuzel 2005-09-19 09:05:30 UTC
Sbars and at runtime computed sizes cause unnecessary slowdown.
Comment 5 _ pkuzel 2005-09-19 17:38:03 UTC
Info to l10n:

You must verify that translated text fits into predefined welcome screen areas.
Start IDE from command line with "--fontsize 18" parameter and manually check
welcome screen appearance. Shorten texts if neccessary.
Comment 6 Marian Mirilovic 2006-01-18 15:26:29 UTC
Agreed with proposed solution - verified