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 30281

Summary: Focus not restored after restart
Product: platform Reporter: Tomas Pavek <tpavek>
Component: Window SystemAssignee: mslama <mslama>
Status: VERIFIED FIXED    
Severity: blocker CC: mmirilovic, pzavadsky
Priority: P3 Keywords: FOCUS, UI
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Tomas Pavek 2003-01-22 17:18:41 UTC
dev build 20030122, MDI, jdk 1.4.0

- run clean build,
- open examples/colopicker/ColorPreview.java
- click in the editor to be sure it is active (see
issue 30280),
- restart IDE -> editor is not focused (although
the border is painted like activated)...
Comment 1 Marian Mirilovic 2003-01-23 11:01:32 UTC
reproducible in [nb_dev](20030123), [jdk1.4.2](b14)

Comment 2 mslama 2003-02-12 17:51:25 UTC
I added flag to WindowManagerImpl which is set to true when IDE is
exited. It is to ignore mode deactivation during IDE exit when top
level frames are set hidden.

Modified:
core/src/org/netbeans/core/NbTopManager.java r.1.182
core/src/org/netbeans/core/windows/WindowManagerImpl.java r.169
core/src/org/netbeans/core/windows/WorkspaceImpl.java r.114
Comment 3 Marian Mirilovic 2003-03-19 09:37:10 UTC
verified in [nb_release35](200303182350)