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

Summary: The IDE ignores if I select MDI windows mode in the setup wizard, and on the next startup comes as SDI with wrong layout.
Product: platform Reporter: Ian Formanek <ian>
Component: -- Other --Assignee: David Simonek <dsimonek>
Status: CLOSED FIXED    
Severity: blocker CC: jpokorsky, mslama
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 14095    

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.