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.
IDE: 3.5 beta JDK: 1.4.1 Screen size: 800 * 600 pixels How to reproduce: - Open the IDE, use SDI mode. - Maximize all windows with the windows button on the title bar - Close the IDE (main window) - Open the IDE Expected behavior: All windows should have the size of a maximised window. I understand that under JDK 1.3 (which I am not using), there is no way to truly maxinize but one can get the coordinates and dimensions right nevertheless. This worked in older versions of the IDE. Actual behavior: All windows have the right size but they are offset by x = +4 pixels, y = +4 pixels. The right and bottom edges are, as a result, cut off (by 8 pixels each I think). In the log I get a warning: [WinSys:ModeData] Bounds java.awt.Rectangle[x=-4,y=-4,width=808,height=608] are invalid in org.netbeans.core.windows.layers.ModeData@1a6ac39[Windows/WindowManager/Debugging/Form]. Repaired to java.awt.Rectangle[x=0,y=0,width=808,height=608] [WinSys:ModeData] Bounds java.awt.Rectangle[x=-4,y=-4,width=808,height=608] are invalid in org.netbeans.core.windows.layers.ModeData@1a6ac39[Windows/WindowManager/Debugging/Form]. Repaired to java.awt.Rectangle[x=0,y=0,width=808,height=608] It's not a major thing, but very untidy and everyone even those who don't even know what an IDE is can see it.
I cannot reproduce it, I have tried [nb3.5](beta) on [jdk1.4.2](b20) and it works as expected.
Hmmm... How can I help to reproduce this? Have you looked at your log file? If your screen is very large then it's probably difficult to see on the screen only. On the other hand something might be wrong at my end. What could cause the error message from the log to occur? It clearly indicates that the IDE wants to make a fully maximized screen but it fails to do so. Have you tried to set your screen resolution to 800 * 600 in the control panel of Windows 98?
No, logs show only that saved boundary are invalid (it's as design, or impossible to fix it) and we must recover right size, for example point -4,-4 replace by point 0,0. Marek, do you have some explanation ?
There was always problem with maximized window. See issue #26598. Unfortunately we did not find general solution. One reason is how OS WM (actualy not sure who exactly is responsible) changes native window bounds when user maximizes window using maximize window button. Support of native window maximization in JDK 1.4 is far from perfect.
*** This issue has been marked as a duplicate of 26598 ***
verified, closed - it's duplicate.