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 - Focus not restored after restart
Summary: Focus not restored after restart
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: mslama
URL:
Keywords: FOCUS, UI
Depends on:
Blocks:
 
Reported: 2003-01-22 17:18 UTC by Tomas Pavek
Modified: 2008-12-23 09:46 UTC (History)
2 users (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 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)