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 236302 - Help window's search box wont gain focus
Summary: Help window's search box wont gain focus
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Help System (show other bugs)
Version: 7.4
Hardware: Macintosh Mac OS X
: P4 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-24 06:03 UTC by ytn01
Modified: 2013-09-27 18:05 UTC (History)
0 users

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 ytn01 2013-09-24 06:03:45 UTC
I'm encountering an issue where the IDE help window's search box won't gain focus to type in search query.
Am able to reporduce it as follows.

1. Create a new C/C++ application project, with the main file selected as C source type, other settings default.
2. Exit the ide.
3. Launch the IDE,
4. Go to the previously created c/c++ project, and right click the "main.c" file from the source files subfolder
5. Select "Create Test\New C Unit Test" from the popup menu
6. On the first page of the wizard, click to check the "main.c" node, and click next,
7. Press the "help" button on this 2nd page of the wizard,... help window appears (it's originally appears unmaximized on my 1280x800 screen)
8. Drag the left side resize handle of the help window to the left edge of the screen so it fills the screen space
9. Notice the search tab isn't being displayed due to the small width of the left half of the help window,... so drag the center of the split view towards the center to make enough space for the search tab
10. switch to the search tab, and click on the search box
11. try typing something.... nothing gets written on the search box

Product Version = NetBeans IDE 7.4 RC1 (Build 201309162201)
Operating System = Mac OS X version 10.8.5 running on x86_64
Java; VM; Vendor = 1.7.0_40
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.0-b56
Comment 1 Kenneth Ganfield 2013-09-26 18:12:54 UTC
reassigning. This issue is more about the Javahelp functionality or some windowing issue and not about documentation.
Comment 2 Jaroslav Havlin 2013-09-27 14:46:09 UTC
I can reproduce the bug on Mac OS X only, sometimes it works, sometimes not,
I haven't found exact conditions for reproducing this bug yet.

(I didn't reproduce the bug exactly by the provided steps, I didn't need to resize the split view.)

It seems the the whole dialog is in some incorrect state,
even if I click into the content pane, text cursor is not shown.
The focus is probably set correctly, but caret handling is broken.
I haven't seen anything suspicious while debugging the code.

If I switch to another application and back, everything starts working normally.

The bug originates probably in JavaHelp or JDK, not in NetBeans itself.

As the bug isn't very frequent, and workaround is easy (reopen the help dialog),
I'm setting priority to P4.

Can you reproduce the bug with some other help topic?
With provided steps to reproduce, do you encounter the bug always, or sometimes?
What is your screen resolution?

Thank you very much for reporting.
Comment 3 ytn01 2013-09-27 18:05:59 UTC
(In reply to Jaroslav Havlin from comment #2)
> I can reproduce the bug on Mac OS X only, sometimes it works, sometimes not,
> I haven't found exact conditions for reproducing this bug yet.
> 
> (I didn't reproduce the bug exactly by the provided steps, I didn't need to
> resize the split view.)
> 
> It seems the the whole dialog is in some incorrect state,
> even if I click into the content pane, text cursor is not shown.
> The focus is probably set correctly, but caret handling is broken.
> I haven't seen anything suspicious while debugging the code.
> 
> If I switch to another application and back, everything starts working
> normally.
> 
> The bug originates probably in JavaHelp or JDK, not in NetBeans itself.
> 
> As the bug isn't very frequent, and workaround is easy (reopen the help
> dialog),
> I'm setting priority to P4.
> 
> Can you reproduce the bug with some other help topic?
> With provided steps to reproduce, do you encounter the bug always, or
> sometimes?
> What is your screen resolution?
> 
> Thank you very much for reporting.

Jaroslav,

My screen resolution is 1280x800.
I'm able to reproduce the issue with the provided steps everytime once after starting the IDE.
For now, this is the only way am ending up with this issue.

As you said, there is a workaround, but I personally believe this is something more than a P4, considering the fact that it will leave the help system search totally unusable when it occurs.