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 163701 - [67cat] [gui] Docked SearchResults Panel Sizing Behaves inconsistently
Summary: [67cat] [gui] Docked SearchResults Panel Sizing Behaves inconsistently
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Search (show other bugs)
Version: 6.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Andrey Yamkovoy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-27 05:14 UTC by esmithbss
Modified: 2009-04-30 07:34 UTC (History)
0 users

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 esmithbss 2009-04-27 05:14:35 UTC
[ BUILD # : 200904260201 ]
[ JDK VERSION : 1.6.* ]

The sizing behavior of the SearchResults panel is inconsistent when
docked.

1) It can be smaller than it's apparent minimum size.
2) It can be resized larger than it starts, but cannot be shrunk back
to it's starting size.

To Reproduce #1)
a) Open the Search Results Panel and the Watches Panel and make sure
they are both docked into the same pane in the IDE.

b) Make the Search Results Panel the primary Panel within the pane.

c) Resize the Pane larger and then smaller.  Try to make the pane as
small as possible. It will shrink in height to it's minimum height
and then stop.

d) Switch to the Watches Panel

e) Shrink the Watches Panel.  You'll be able to shrink the window a
significant amount beyond what the Search Results Panel allowed. 
Make the Watches Panel as small as possible.

f) Switch to the SearchResults Panel.

**** At this point, the Search Results window is much smaller than
it's minimum size.


To Reproduce #2)

Do steps a=>f above.

g) Now grow the SearchResults window to take up as much area as
possible.

h) Now shrink the SearchResults window.  It stops at the minimum
height and cannot return to the windows previous state.


What the system should do:

When resizing a pane, the panes new size should never exceed the
constraints of the panels within the pane.
Comment 1 Andrey Yamkovoy 2009-04-29 15:08:56 UTC
Minimum size is fixed in the trunk.
Comment 2 Quality Engineering 2009-04-30 07:34:14 UTC
Integrated into 'main-golden', will be available in build *200904300201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d42ce176bac7
User: Andrey Yamkovoy <kaktus@netbeans.org>
Log: Fixed for #163701 - [67cat] [gui] Docked SearchResults Panel Sizing Behaves inconsistently