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 179898

Summary: Focus issue in undocked Files and Projects windows
Product: projects Reporter: kirillkh <kirillkh>
Component: Generic Projects UIAssignee: Tomas Stupka <tstupka>
Status: RESOLVED WONTFIX    
Severity: normal Keywords: FOCUS
Priority: P4    
Version: 6.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description kirillkh 2010-01-27 03:25:28 UTC
The following issue occurs when Projects and/or Files windows are undocked (i.e. dragged out of the main window) and doesn't occur otherwise:

Whenever I select a file that is not currently open and press Enter or double-click it, the file is opened in the main window, but the main window doesn't gain focus. If the file is already open in the main window, it does gain focus (so there's no problem in this case).

The problem occurs for all mimetypes I tried (java, plaintext, html, xml), except, weirdly, for .properties files, which do focus the main window.
Comment 1 kirillkh 2010-01-27 03:28:08 UTC
Product Version: NetBeans IDE 6.8 (Build 200912041610)
Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01
System: Linux version 2.6.31-17-generic running on amd64; UTF-8; en_US (nb)

Ubuntu 9.10, KDE4
Comment 2 kirillkh 2010-06-03 21:05:22 UTC
Seems to be fixed in 6.9 RC1. Will test more and report back.
Comment 3 Martin Balin 2016-07-07 08:39:25 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss