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 108970 - I18N - goto file dialog not resize completely
Summary: I18N - goto file dialog not resize completely
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Jump To (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Andrey Yamkovoy
URL:
Keywords: I18N
Depends on: 152073
Blocks:
  Show dependency tree
 
Reported: 2007-07-05 19:19 UTC by Ken Frank
Modified: 2009-05-20 07:28 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (10.01 KB, image/gif)
2007-07-05 19:20 UTC, Ken Frank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2007-07-05 19:19:36 UTC
am on solaris, ja locale, using pseudo localized nb - the go to file window does not show all
of the Prefer Current Project project name (see gif attached)

users might run at larger fontsizes - this is 14 in image, and translated strings might
be longer than in english; and with more euro languages being localized for nb,
that is more true in those languages

user should not need to resize to see all contents of the window.
Comment 1 Ken Frank 2007-07-05 19:20:47 UTC
Created attachment 44743 [details]
image
Comment 2 Vitezslav Stejskal 2007-07-10 11:45:42 UTC
IMO, the size of the dialog is fine. I understand your points, but making every dialog as big as to fit all messages in
every possible language would make most of them too big and too ugly. Visual appearance is always a compromise. In this
case a compromise between UI engineers trying to make dialogs look good and localizers trying to fit in translated
messages. I think that this particular dialog is large enough to accommodate messages in all reasonable languages. I am
sorry, but I'm closing this as WONTFIX. Please reopen if you disagree.
Comment 3 Ken Frank 2007-07-10 15:51:45 UTC
I agree with your comments;  I think the question is - has this dialog/window been coded to dynamically
resize using the layout manager and related features ?
From past experience, when dialogs were coded this way, the dynamic resizing happened ok.
And that solves the problem of needing to design for every language.

Has it been coded in that way ?

If not, can you reopen and look into that ?

BTW, IMO translators do not and should not need to get messages to fit - that is part of the
design of the product and allowing for the dynamic resizing is part of that. 
We've seen the coding that way has fixed by far most of the resizing issues.

ken.frank@sun.com
Comment 4 Ken Frank 2008-09-29 19:16:26 UTC
I'd like to get further comment to my questions and comments - since I think the opinion given is not
really correct - and by far most resize issues are fixed and not closed as this one was.

its not about fixing for every possible language or font size since by coding
to allow windows to resize dynamically solves the problems in most cases, vs hardcoding.

and certainly its not accurate that translators are supposed to fit translations into the available size
of some dialog or window - thats not an accurate statement.

ken.frank@sun.com
Comment 5 Vitezslav Stejskal 2008-09-30 16:12:08 UTC
Ok, I'll have a look.
Comment 6 Vitezslav Stejskal 2008-09-30 16:17:01 UTC
Local changeset: ee029bc54875
Comment 7 Quality Engineering 2008-10-01 17:33:03 UTC
Integrated into 'main-golden', will be available in build *200810011401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/ee029bc54875
User: Vita Stejskal <vstejskal@netbeans.org>
Log: #108970 - making the labels resizable
Comment 8 Ken Frank 2008-10-06 20:16:10 UTC
using 1005 trunk, does not look fixed; using 16 pt font, still a valid and reasonable
font size, problem same as in original image.

ken.frank@sun.com
Comment 9 Vitezslav Stejskal 2008-10-07 09:10:54 UTC
But resizing the dialog shows the label or not?
Comment 10 Max Sauer 2008-11-13 13:52:08 UTC
Ken, could you please answer above question? Thanks.
Comment 11 Ken Frank 2008-11-13 17:07:09 UTC
Max, thanks for the reminder on this.

Yes, when resize, it shows all of the part not seen as per the gif.

one other comment - I noticed in results that there a 2 columns but looks like
fixed size so that if result text in first col is too long, it cuts text off; same for col 2
this is true for other go to windows that might have > 1 column - I suggest using jtable or other object
that has specific columns that user can resize themself, so even if whole results area in a fixed size, user
can still see all in each col by resize.

also perhaps instead or in addition a scrollbar for this area.

this part is not related to translated things since with long values it might happen even in english

let me know if separate issue is appropriate at all and if so, is needed vs being within this issue.

ken.frank@sun.com
Comment 12 Sergey Petrov 2009-04-15 09:15:02 UTC
can't try on not localized nb because of issue 152073
Comment 13 Alexei Mokeev 2009-04-16 11:51:16 UTC
Go To File dialog -> utilities/jumpto
Comment 14 Andrey Yamkovoy 2009-05-19 14:00:35 UTC
Tooltip with full file path was added.
Comment 15 Quality Engineering 2009-05-20 07:28:50 UTC
Integrated into 'main-golden', will be available in build *200905200201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/16b848191fe0
User: Andrey Yamkovoy <kaktus@netbeans.org>
Log: Fix for #108970 - I18N - goto file dialog not resize completely