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 22810 - [Windows L&F] Buttons for maximized window aren't visible after close|reopen
Summary: [Windows L&F] Buttons for maximized window aren't visible after close|reopen
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords: L&F
Depends on:
Blocks:
 
Reported: 2002-04-25 17:02 UTC by Marian Mirilovic
Modified: 2008-12-23 09:16 UTC (History)
1 user (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 Marian Mirilovic 2002-04-25 17:02:12 UTC
[nb_dev](20020425), [jdk1.4](fcs)
-ui
com.sun.java.swing.plaf.windows.WindowsLookAndFeel

Steps to reproduce:
- run IDE in MDI
- open file
- maximize window
-> buttons are visible in upper-rigth corner
- close window
- reopen file again
-> buttons aren't visible

Thanks to Silvio Bierman <sbierman@idfix.nl> for
report it on nbui.
Comment 1 mslama 2002-06-25 12:03:23 UTC
Assigning to Peter.
Comment 2 Peter Zavadsky 2002-07-10 10:37:40 UTC
It seems it is a problem of (Windows L&F)
com.sun.java.swing.plaf.windows.WindowDesktopManager (55) 
which sets maximized state also for already disposed 
internal frame, what brakes the buttons.
There is a workaround, will look at the class first.
Comment 3 Peter Zavadsky 2002-07-10 16:51:29 UTC
Created also a bug for jdk (#4712690).
Comment 4 Peter Zavadsky 2002-07-10 17:33:23 UTC
Fixed in [trunk]

Fix:
core/../windows/frames/InternalFrameTypeImpl.java [1.26]
Comment 5 Marian Mirilovic 2002-07-22 14:01:29 UTC
verified in [nb_release34](20020722) & [nb_dev](20020719)
Comment 6 Quality Engineering 2003-07-01 16:20:14 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.