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.
NetBeans keeps opening as a full-screen sized window, which on my 30" monitor is not what I want. I would prefer it retain the window size and position from the last session.
It works for me on Linux/Gnome ... should be another Mac related issue ... anyway reporter, please provide build number + JDK version you are working on. Thanks in advance.
MBP:~ lattam$ java -version java version "1.5.0_07" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-164) Java HotSpot(TM) Client VM (build 1.5.0_07-87, mixed mode, sharing) Product Version: NetBeans IDE 6.0 Beta 1 (Build 200709141330) Java: 1.5.0_07; Java HotSpot(TM) Client VM 1.5.0_07-87 System: Mac OS X version 10.4.10 running on i386; MacRoman; en_US (nb) Userdir: /Users/lattam/.netbeans/6.0beta1
Is this issue reproducible always, on every start? Is it reproducible with new, clean userdir?
This is 100% reproducable on my system. I am not sure what you mean by a clean userdir. This was a clean install with no prior version of NetBeans installed.
userdir is a directory where NetBeans stores persistent configuration data , usually can be found at <your_home_dir>/.netbeans. Please backup this directory, delete all its content, run NetBeans again and tell me if you can still reproduce - i can't. Btw, did you do maximize/full screen during your work in IDE? Or any special window arrangement? For your regular work then overwrite userdir again with your backup data. Thanks.
It looks like your guess was correct. 1) It is opening as a maximized window. 2) If I hit the maximize window button it goes back to the last resize I did, and will reopen at that size. 3) If I resize the window while NetBeans thinks it is maximized it records the new window size, but does not clear the maximize flag, and opens maximized the next time. This is all without changing my userdir. Michael
Ugh, I'm confused now...how can you change window size while it is maximized? Let's start from the beginning, please tell me in exact 1,2,3 steps what you need to do in order to see the bug occur. Sorry for my slow thinking but it's hard to guess from written word only...
This may be a mac vs. windows thinking thing. 1. Open NetBeans. 2. Select the green button on the window (this maximizes the window). 3. Grab the lower right corner and resize. 4. Close NetBeans. 5. Open NetBeans (note the window is back to full screen. 6. Select the green button. (note window returns to window size in step 3) It looks like NetBeans is not clearing the maximized flag when it should do so on step 3. Michael
I see, now it's clear. I tried and really Mac native apps will restore their state to "normal" as soon as user changes the size of the window while being maximized. Wow... Unfortunately, NetBeans is not getting correct events from Apple's JDK and so I can't fix the bug. I entered bug to Apple bug database, ID 5544982. For those who have Apple's developer connection membership, it should be viewable at https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/5/wo/bcTPyw6Wbl5bcdHQrik4bM/16.21 So we'll see what Apple will have to say... I'm attaching test app, just in case it would get lost.
Created attachment 51122 [details] netbeans project containing test app for tracking window states
i think this is actually fixed in issue #125881
v/c