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 131245 - Find in Projects dlg doesn't resize to show its text
Summary: Find in Projects dlg doesn't resize to show its text
Status: RESOLVED INVALID
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marian Petras
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2008-03-26 23:20 UTC by kaa
Modified: 2008-03-28 18:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (92.13 KB, image/jpeg)
2008-03-26 23:20 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaa 2008-03-26 23:20:10 UTC
Product Version: NetBeans IDE Dev (Build 200803231202)
System: WinXP, font size 16, ja_JP

Steps:
1. Create Enterprise App
2. Select the project node on Projects tab
3. Open from the pop-up menu Find dialog

The dialog doesn't resize to show its text. See image.

Assumption is that user does not need to manually resize most windows or dialogs to see all of the UI objects and
information in them. I'm running in pseudo localized locale in which each message/label is sometimes longer than in
English. To account for that in some locales, translations from English (and some other euro languages) could be shown
with longer strings.

Also I'm running at font size 16, which is viewed as a valid font size that might be used. Resizing issues are not just
related to i18n; they might show to user in English locale if they run at larger font size.

Often, these issues happen because the length of some label or message or size of entire window is hardcoded vs using
layout managers or other techniques or api to have the windows or the objects in them, dynamically resize. Sometimes,
embedding components in a scroll pane will solve the problem.
Comment 1 kaa 2008-03-26 23:20:43 UTC
Created attachment 59182 [details]
image
Comment 2 David Konecny 2008-03-26 23:32:23 UTC
This dialog is shown for any project type. Not sure where it is implemented though - passing to projects for now. Please
reassign if necessary. Thanks, -D
Comment 3 Milan Kubec 2008-03-27 08:22:04 UTC
Setting sane priority. Text in parentheses just specifies what is selected, the main title "Selection" is visible OK.
Reassigning to utilities/search for evaluation.
Comment 4 Marian Petras 2008-03-27 14:30:40 UTC
The information in the parenthesis is supplementary and I have never expected it to be always fully visible. If the
dialogue was automatically resized so the whole name of the selected node fits to it, it might happen (and it would
certainly happen quite frequently) that the dialogue would be very wide which would be worse than the current design.
The current design is not a result of my ignorance of A11Y or I18N (I use even larger fonts than those on the
screenshot). I do not plan to change the current design unless I hear some strong arguments for doing so.

Ken, what do you think about this issue?
Comment 5 Ken Frank 2008-03-27 16:41:29 UTC
I agree with Marian's comments that if the string in parenthesis was never meant
to show all of it even in en locale at larger fonts, then its ok that it not show
all of that part when its translated also, since it appears that the main part
of label does show ok when using pseudo localized at larger fonts.

ken.frank@sun.com

Comment 6 Marian Petras 2008-03-28 18:53:36 UTC
Thank you for the comments.

I mark this bug as invalid.