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 207730

Summary: Search field loses focus when other collapsed panel is opened with mouse hover
Product: platform Reporter: paolosca <paolosca>
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: NEW ---    
Severity: normal    
Priority: P4    
Version: 7.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Step 1, typing in the Find field
Steps 2 and 3, the Output panel is opened and text is typed in the editor.

Description paolosca 2012-01-25 14:20:55 UTC
Created attachment 115238 [details]
Step 1, typing in the Find field

Product Version: NetBeans IDE Dev (Build nbms-and-javadoc-8568-on-20120120)
Java: 1.7.0_147-icedtea; OpenJDK Client VM 21.0-b17
System: Linux version 3.2.0-1-686-pae running on i386; UTF-8; en_US (nb)
User directory: /home/paolo/.netbeans/dev
Cache directory: /run/netbeans

I use most panels collapsed to increase the editor size (in example the "Output" panel) and the collapsed panels are opened when the mouse hovers on the relative button.

It happens sometimes that I place the caret in the search field and start typing (see step1.png, point 2), because the search field is so close to the panels buttons, sometimes the mouse moves a few pixels down and a panel, usually the output panel, opens (see step2.png, point 2).
When this happens while I'm typing the focus is suddenly returned to the editor and the search is typed in the editor sometimes overwriting the selected text(see step2.png, point 3).

If it's not too messy to implement it would be nice if the Find field didn't lose the focus when a panel is opened on hover.

Thanks,

Paolo
Comment 1 paolosca 2012-01-25 14:21:56 UTC
Created attachment 115239 [details]
Steps 2 and 3, the Output panel is opened and text is typed in the editor.
Comment 2 paolosca 2012-01-29 11:11:45 UTC
I just noticed that the freeze is triggered by changing the Gnome3 theme, please advice if it's a NetBeans bug or I should report it to OpenJDK7 (IcedTea).

Regards,

Paolo
Comment 3 paolosca 2012-01-29 13:23:28 UTC
(In reply to comment #2)

Sorry, posted in the wrong bug, please ignore last comment:

> I just noticed that the freeze is triggered by changing the Gnome3 theme,
> please advice if it's a NetBeans bug or I should report it to OpenJDK7
> (IcedTea).
Comment 4 Jiri Prox 2012-01-30 09:14:24 UTC
reproducible
Comment 5 Milutin Kristofic 2012-03-27 11:22:53 UTC
I am sending this to evaluate in windows system.

I changed find textfield to find editorPane and it didn't help.