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 215258 - Javadoc displayed in the editor hides auto complete list
Summary: Javadoc displayed in the editor hides auto complete list
Status: RESOLVED FIXED
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-08 20:47 UTC by attila.kelemen
Modified: 2013-03-26 12:41 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (45.31 KB, text/plain)
2012-07-08 20:47 UTC, attila.kelemen
Details
Shows the visual artifact. (30.14 KB, image/png)
2012-08-13 13:49 UTC, attila.kelemen
Details
Proposed patch (561 bytes, patch)
2012-09-21 14:45 UTC, Dusan Balek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description attila.kelemen 2012-07-08 20:47:22 UTC
Sometimes when using NetBeans to edit java code, the autocomplete list is not visible because the javadoc window hides (displayed on the top of it). When this bug triggers, the bug will remain until NetBeans is restarted. I cannot reliably reproduce this bug.

Product Version = NetBeans IDE 7.2 RC1 (Build 201206272359)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_05
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.1-b03
Comment 1 attila.kelemen 2012-07-08 20:47:32 UTC
Created attachment 121810 [details]
IDE log
Comment 2 attila.kelemen 2012-07-08 20:51:30 UTC
The above "IDE log" should be ignored because it was automatically generated by NetBeans and at that time the bug has not manifested itself.
Comment 3 Dusan Balek 2012-08-13 09:56:50 UTC
Could you please capture a screenshot of the situation and attach it to the issue? Thanks.
Comment 4 attila.kelemen 2012-08-13 13:49:54 UTC
Created attachment 123053 [details]
Shows the visual artifact.

Trying to trigger the bug, it seems that the bug triggers after I change the line endings of a file using the "Show and change line endings" plugin (CRLF -> LF). That is, I was not able to trigger the bug, no matter how much I tried but after changing the line ending, it triggered immediately.
Comment 5 Dusan Balek 2012-09-18 11:17:40 UTC
Unfortunately, I cannot reproduce the problem in the current dev build. Please reopen the issue if you have exact steps to reproduce. Thanks.
Comment 6 attila.kelemen 2012-09-18 12:19:23 UTC
I can reliably reproduce it on every computer I have tried, the way I mentioned earlier. The OS on these computers is Windows (XP, Vista, 7) with Hungarian locale. (I have only tried it with NB 7.2 so far).

So this is the way I can almost always (the timing matters, so it is not actually deterministic) reproduce:

1. Have the "Show and change line endings" installed.
2. Open a project containing a file with CRLF line endings.
3. Change the line endings in this file using the above mentioned plugin to LF.
4. Type something and before the auto complete displays the doc and the auto complete list automatically: Press ctrl + space twice in rapid succession to each other.
Comment 7 Dusan Balek 2012-09-21 14:44:15 UTC
Seems like a bug in the "Show and change line endings" module. The following patch should fix the problem.
Comment 8 Dusan Balek 2012-09-21 14:45:16 UTC
Created attachment 124726 [details]
Proposed patch
Comment 9 Jan Lahoda 2013-03-26 12:41:13 UTC
I uploaded a new version of the plugin to plugin portal, which should fix the problem (thanks to Dusan for the patch). 7.3 verification is pending - the "7.3" version should be usable in previous versions starting from NB 6.9 as well (untested).