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 13962 - The IDE ignores if I select MDI windows mode in the setup wizard, and on the next startup comes as SDI with wrong layout.
Summary: The IDE ignores if I select MDI windows mode in the setup wizard, and on the ...
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: David Simonek
URL:
Keywords:
Depends on:
Blocks: 14095
  Show dependency tree
 
Reported: 2001-07-26 11:22 UTC by Ian Formanek
Modified: 2008-12-22 23:23 UTC (History)
2 users (show)

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 Ian Formanek 2001-07-26 11:22:10 UTC
Steps to reproduce:
1. start fresh build 200107260100
2. select MDI in Setup WIzard, the IDE starts in MDI
3. shutdown and restart
-> the IDE comes up in SDI with a wrong layout (Main Window small, windows on 
bad locations)

This should be fixed by the next Q-build

-- System Info ----------------------------------------------------------------
  Product Version       = NetBeans IDE, Development Version (Build 200107260100)

  IDE Versioning        = IDE/1 spec=1.27 impl=200107260100
  Operating System      = Windows 2000 version 5.0 running on x86
  Java; VM; Vendor      = 1.3.1; Java HotSpot(TM) Client VM 1.3.1-b24; Sun Micro
systems Inc.
  Java Home             = c:\software\jdk131\jre
-------------------------------------------------------------------------------
Comment 1 Pavel Buzek 2001-07-26 12:35:47 UTC
reasigning
Comment 2 Jan Pokorsky 2001-07-26 22:34:15 UTC
I tried the same steps and ide always started in the correct mode. Did 
you use empty userdir?
Comment 3 support 2001-07-27 09:29:36 UTC
I used -userdir startup option and pointed to empty folder, maybe 
that makes a difference?
Comment 4 Ian Formanek 2001-07-27 11:12:25 UTC
Still easily reproducible in build 200107270100
Comment 5 Jan Pokorsky 2001-07-27 13:13:20 UTC
Yes you are right. I spoke to Dafe about it. There is implemented  
workaround for previous bug in the setup wizard which causes this 
behavior. I would propose to store ui mode directly in IDESettings an 
do not delegate it to UIModeManager (the delegation doesn't make much 
sense).
Comment 6 mslama 2001-07-30 19:04:42 UTC
Fixed in WindowManagerImpl - before UI mode was set when IDE settings
was loaded during IDE startup. Now IDE settings are not loaded during
IDE startup so UI mode was not set. I added setting of UI mode to
deserialization of window manager in method initGlobalProperties().
Comment 7 Jan Zajicek 2001-08-01 12:27:48 UTC
dev #20010801
Comment 8 Quality Engineering 2003-07-01 16:50:11 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.