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 145922 - Text-field for entering a new watch expression does not scale with font size
Summary: Text-field for entering a new watch expression does not scale with font size
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: A11Y, UI
Depends on:
Blocks:
 
Reported: 2008-09-02 14:13 UTC by Marian Petras
Modified: 2008-09-03 19:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot of dialogue invoked from a context menu of the Watches window (4.96 KB, image/gif)
2008-09-02 14:18 UTC, Marian Petras
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Petras 2008-09-02 14:13:46 UTC
The text-field in the "New watch expression" dialogue does not scale vertically with font size. The consequence is that
characters do not fit vertically in it and are truncated - see the screenshot (attached).

I also found other minor UI issues. A list of all found UI issues follows.
 - the text-field's height does not scale (this is a the P3)

(the following ones are P4-P5:)
 - first letters of words in the title of the dialogue should be capital
 - the title of the dialogue invoked from the context menu ("New watch expression")
   should be probably the same as of the dialogue invoked from the main menu Debug > New Watch... ("New Watch")
 - similarly, the name of the pop-up menu action ("New watch ...") should be same as the name of the action
   in the main menu ("New Watch..."). They differ in the case of word "watch" and also in the space
   before the ellipsis.
Comment 1 Marian Petras 2008-09-02 14:18:50 UTC
Created attachment 68871 [details]
screenshot of dialogue invoked from a context menu of the Watches window
Comment 2 Martin Entlicher 2008-09-02 15:16:56 UTC
The field is too narrow on GTK L&F. It looks like this is associated with this.
The height of the component seems to be computed in a wrong way.
Comment 3 Martin Entlicher 2008-09-02 16:07:44 UTC
All problems are fixed in changeset:   99498:6553c59f8d9d and changeset:   99499:e33a8166070d

http://hg.netbeans.org/main/rev/6553c59f8d9d
http://hg.netbeans.org/main/rev/e33a8166070d
Comment 4 Quality Engineering 2008-09-03 17:20:34 UTC
Integrated into 'main-golden', will be available in build *200809031401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/6553c59f8d9d
User: mentlicher@netbeans.org
Log: #140328, #145922 - Compute correct preferred height, taking the insets into account.
Comment 5 Marian Petras 2008-09-03 19:33:14 UTC
Thanks!

Verified in custom build from 3 September 2008 (Hg revision 04295a3c2854).