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 262339 - javadoc Popup prevents user input
Summary: javadoc Popup prevents user input
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Actions/Menu/Toolbar (show other bugs)
Version: 8.2
Hardware: PC Windows 10 x64
: P2 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-05 20:15 UTC by Maksim Khramov
Modified: 2016-06-08 12:30 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
What if the fix looks like this? (1.34 KB, patch)
2016-06-08 09:59 UTC, Martin Entlicher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Khramov 2016-06-05 20:15:56 UTC
Product Version: NetBeans IDE Dev (Build 201606040002)

Steps to reproduce:

edit class code in editor:

...
    public static void main(String[] args) {
        JOptionPane.showMessageDialog(null, "Test" );
    }
...

Set caret at end of JOption pane line
Hover mouse with pressed Ctrl to showMessageDialog function to show javadoc popup.
Hover mouse into javadoc popup
Press Enter 
Expected behaviour: Popup disappears and caret moved to new line
Actual behaviour: No new line and popup is not disappears
I need to click escape or move mouse oup of popup to continue.

Previous build 20160603 works ok
Comment 1 Jiri Prox 2016-06-07 14:48:24 UTC
reproducible
Comment 2 Dusan Balek 2016-06-07 16:50:37 UTC
Caused by the fix of https://netbeans.org/bugzilla/show_bug.cgi?id=262311
Comment 3 Martin Entlicher 2016-06-08 09:59:36 UTC
Created attachment 159992 [details]
What if the fix looks like this?
Comment 4 Martin Entlicher 2016-06-08 10:00:38 UTC
Dušan, do you think that the attached fix is reasonable?
Comment 5 Martin Entlicher 2016-06-08 12:30:45 UTC
Thanks for fast discovery of this problem.
It's fixed by changeset:   297908:0b6dd5711f32
http://hg.netbeans.org/core-main/rev/0b6dd5711f32