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 19217 - sizes of split maximized windows not remembered after restart
Summary: sizes of split maximized windows not remembered after restart
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: mslama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-09 18:16 UTC by Lukas Hasik
Modified: 2008-12-23 09:28 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
patch19217.jar (168.34 KB, application/octet-stream)
2002-01-15 15:57 UTC, mslama
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2002-01-09 18:16:10 UTC
(Build 200201090940), MDI, jdk1.3.1 & jdk1.4

1, start IDE with clear userdir
2, open some file (README from examples dir)
3, dock RUntime tab to Source Editor on left
4, maximize Editor
5, restart

-> Runtime tab is really thin... 

some observations:
-it's not reproducible in release330, or build 0101
-it's reproducible in 0701

-if step 4 (maximize) is skipped everything work fine
-this happens only when restarting. Switching projects is fine.
Comment 1 David Simonek 2002-01-10 09:21:36 UTC
I'm changing summary a bit...
Just to be precise - this is not regression, this bug was previously
hidden by another bug 19072 which prevented editor (or other frames)
to stay maximized in MDI after restart.
P2 doesn't mean regression here but pure fact that it is annoying for
the users that their favourite layout is screwed up.
Comment 2 David Simonek 2002-01-10 09:24:56 UTC
accepting...
Comment 3 Jan Chalupa 2002-01-11 14:05:58 UTC
Target milestone -> 3.4
Comment 4 Jan Chalupa 2002-01-11 14:09:13 UTC
Target milestone -> 3.4
Comment 5 Jan Chalupa 2002-01-11 14:10:00 UTC
Target milestone -> 3.4
Comment 6 Jan Chalupa 2002-01-11 14:12:22 UTC
Target milestone -> 3.4
Comment 7 David Simonek 2002-01-12 14:58:29 UTC
Marek works on this issue.
Comment 8 mslama 2002-01-15 15:57:11 UTC
Created attachment 4176 [details]
patch19217.jar
Comment 9 mslama 2002-01-15 15:58:07 UTC
I attached patch for main trunk. Lukas please test it.
Comment 10 Lukas Hasik 2002-01-16 09:32:45 UTC
patch tested, looks good, splited maximized windows are restored
properly after restart.
Comment 11 mslama 2002-01-16 10:45:40 UTC
Fixed in main trunk.

Issue is fixed in main trunk. Fix is relatively complex so I would not
recommend to put it to release33 branch (3.3.1).

Issue causes incorrect restoration of maximized internal split frames.
It can be for example Form Editor when maximized in MDI.

Fix stores maximized bounds of mode to mode configuration xml (wsmode
files). It also recomputes area bounds for MDI mode when frame is
internal maximized. When configuration is saved area bounds are
converted from maximized to normal, when configuration is loaded area
bounds are converted from normal to maximized. Also wsmode dtd is
modified. (Optional element "maximized-bounds" is added.)
Comment 12 mslama 2002-01-16 13:12:33 UTC
Fixed in main trunk.
Comment 13 Jan Chalupa 2002-01-16 13:37:07 UTC
Waiver approved by QA.
Comment 14 iformanek 2002-01-16 15:08:41 UTC
I approve the waiver...
Comment 15 eadams 2002-01-16 15:17:50 UTC
Waiver approved.
Comment 16 Lukas Hasik 2002-02-15 14:47:47 UTC
verified in main trunk, 200202110100
Comment 17 Jan Chalupa 2002-04-10 10:48:24 UTC
Complex and potentially risky fix. Requested to be waived for FFJ 4.0
(FFJ40_WAV).
Comment 18 Jan Chalupa 2002-05-02 10:32:27 UTC
Waiver approved.
Comment 19 Quality Engineering 2003-07-01 16:25:10 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.