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 187391 - Terminal does not layout properly when pinned.
Summary: Terminal does not layout properly when pinned.
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Terminalemulator (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-09 16:23 UTC by adamgmetzler
Modified: 2011-01-29 05:25 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot before connecting to a terminal while pinned. (111.66 KB, image/png)
2010-06-09 16:25 UTC, adamgmetzler
Details
Screenshot after connecting to a terminal while pinned. (130.74 KB, image/png)
2010-06-09 16:27 UTC, adamgmetzler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description adamgmetzler 2010-06-09 16:23:20 UTC
I will upload images to show what I mean.


Product Version = NetBeans IDE 6.9 RC2 (Build 201005312001)
Operating System = Linux version 2.6.28-19-generic running on i386
Java; VM; Vendor = 1.6.0_20
Runtime = Java HotSpot(TM) Client VM 16.3-b01
Comment 1 adamgmetzler 2010-06-09 16:25:44 UTC
Created attachment 99944 [details]
Screenshot before connecting to a terminal while pinned.

Screenshot before connecting to a terminal while pinned.
Comment 2 adamgmetzler 2010-06-09 16:27:11 UTC
Created attachment 99945 [details]
Screenshot after connecting to a terminal while pinned.

Screenshot after connecting to a terminal while pinned.
Comment 3 ivan 2010-06-09 20:53:49 UTC
I can reproduce on sparc-solaris as well (If I understand the issues).
1) When there is no session and the TC is popped up it's just the banner.
2) If there is a session when the TC is popped up it doesn't expand all the
   weay to the right.

Additional issue: If you open and close a pinned terminal window
repeatedly it shrinks in height on every opening.

I _don't_ see the same problem with solstudio's dbx cmdio or pio TC's.
Comment 4 Vladimir Voskresensky 2011-01-28 11:40:27 UTC
Can window system gurus help, please?
Any TC created with wizard have such strange behavior:
- in pinned mode component pops up without fully occupying window width

Old created TCs doesn't have such issues (i.e. Favorites, Output, Projects and other views)
Comment 5 Vladimir Voskresensky 2011-01-28 12:16:37 UTC
It's due to TopComponent.PROP_KEEP_PREFERRED_SIZE_WHEN_SLIDED_IN
Comment 6 Vladimir Voskresensky 2011-01-28 12:35:01 UTC
http://hg.netbeans.org/cnd-main?cmd=changeset;node=9b879337983b
Comment 7 Quality Engineering 2011-01-29 05:25:47 UTC
Integrated into 'main-golden', will be available in build *201101290000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/9b879337983b
User: Vladimir Voskresensky <vv159170@netbeans.org>
Log: fixed #187391 -  Terminal does not layout properly when pinned.