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 234232 - Expression Evaluator vertical size too small
Summary: Expression Evaluator vertical size too small
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-11 03:41 UTC by williambacchi
Modified: 2013-08-15 03:52 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Ide image with Expression Evaluator opened (156.78 KB, image/png)
2013-08-11 03:41 UTC, williambacchi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description williambacchi 2013-08-11 03:41:09 UTC
Created attachment 138541 [details]
Ide image with Expression Evaluator opened

When Expression evaluator is open, the Evaluate button is not visible.
Comment 1 Martin Entlicher 2013-08-12 14:25:17 UTC
The preferred and minimum size of the CodeEvaluator component is fixed by
changeset:   261298:75ae6fcff53d
http://hg.netbeans.org/core-main/rev/75ae6fcff53d

IMHO it's a defect in the Window System, that it does not take the preferred size of the component into account.
In ModeView.updateAWTHierarchy(), the component is asked for it's preferred size, but then 0 is set as ModePanel's preferred size.
MultiSplitCell.maybeResetToInitialSize sets the new required size to 38, since getSize() is 0. But the component's preferred size should be 77 (it's actually 0 after it's set to 0 by ModeView.updateAWTHierarchy(). The component's minimum size is 66.
The Window System should respect the preferred and/or minimum size of the component IMHO.
After the Evaluator window is resized, it can not be made smaller then it's minimum size. This is expected. But the initial size can be smaller and this is a defect IMHO.
Comment 2 Stanislav Aubrecht 2013-08-14 10:34:28 UTC
core-main 75fa7a56d0d2
Comment 3 Quality Engineering 2013-08-15 03:52:17 UTC
Integrated into 'main-silver', will be available in build *201308150051* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/75fa7a56d0d2
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #234232 - respect TopComponent's min size when doing the initial split layout