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 178582 - javadoc pop-up does not close on esc
Summary: javadoc pop-up does not close on esc
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-14 05:00 UTC by eNDe
Modified: 2010-01-24 08:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
showed bug (151.78 KB, image/png)
2009-12-14 05:00 UTC, eNDe
Details
bug in 6.8 as well (136.65 KB, image/png)
2009-12-14 07:00 UTC, eNDe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eNDe 2009-12-14 05:00:36 UTC
Created attachment 92517 [details]
showed bug

I am developing some stuff. I want to know some closer information about some method and press ctrl+space_key. New window with api has opened. After I change focus to other method, window opened at first did not close. I am able to continue in developing, but window with api is still opened.
Comment 1 Petr Dvorak 2009-12-14 05:04:35 UTC
Hi,

could you please attach your system/jdk info from Help>About?

Also, could I ask you to check the presence of this bug in NetBeans 6.8?

Thanks,

Petr Dvorak
Comment 2 eNDe 2009-12-14 05:43:05 UTC
I have not installed netbeans 6.8. I am doing some crucial project, so I
am affraid to switch to new ide.

Do I need to switch netbeans version so necesserally?

Product Version: NetBeans IDE 6.7.1 (Build 200907230233)
Java: 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01
System: Linux version 2.6.31.5-0.1-desktop running on amd64; UTF-8;
cs_CZ (nb)
Userdir: ~/.netbeans/6.7
Comment 3 eNDe 2009-12-14 06:00:04 UTC
Hi,

I like to have documentation window setted as it is. I won't to change it. I am used to it.

I am sorry to read that fixes are not backported (it is not only netbeans speciality). So I am forced to move from 6.7.1 to 6.8. Ok I deal with it. 

I am using to openSuse 11.2. KDE 4.3.4 community repo and QT as well. 
$uname -r
2.6.31.5-0.1-desktop

If this bug will raise again I will move to 6.8 and check if it is there too.
Comment 4 Petr Dvorak 2009-12-14 06:25:51 UTC
Product Version: NetBeans IDE 6.7.1 (Build 200907230233)
Java: 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01
System: Linux version 2.6.31.5-0.1-desktop running on amd64; UTF-8;
cs_CZ (nb)

Explanation to the previous post (offline mails):

> I have not installed netbeans 6.8. I am doing some crucial project, so I
> am affraid to switch to new ide.
>
> Do I need to switch netbeans version so necessary?
>
> Product Version: NetBeans IDE 6.7.1 (Build 200907230233)
> Java: 1.6.0_17; Java HotSpot(TM) 64-Bit Server VM 14.3-b01
> System: Linux version 2.6.31.5-0.1-desktop running on amd64; UTF-8;
> cs_CZ (nb)
> Userdir: ~/.netbeans/6.7   

Well, switching is not absolutely necessary, indeed. It is just a way we can tell the issue was not fixed during the 6.8 development (I haven't met it while testing - I also use 64bit Linux, Ubuntu 9.10).

IDE switching should be safe. It means they can be installed alongside and they will use separate workspace (or - as we say - "userdir", which is a folder "~/.netbeans/$VERSION").

The fix will likely never be in 6.7(.1) version of Netbeans as we do not backport fixes except for the critical issues (these go in the updates). Developers always fix their issues in the trunk, therefore the most of the fixes make it in the next release of NetBeans...

To minimize the annoyance of the issue you meet, open Tools>Options, select Editor section, "Code Completion" tab and uncheck "Autopopup documentation window". This will cause that the window with JavaDoc (that actually causes the problem) will not pop out on Ctrl+Space. You can invoke it manually using Ctrl+Shift+Space...

I will try to dig into that issue a bit... btw what distro do you use?
Comment 5 Jan Pokorsky 2009-12-14 06:31:17 UTC
There are 2 different javadoc pop-ups in the attached screen shot. They come from the code completion and the navigator. I suppose you cannot close the navigator's one. Most likely it relates to the fact that the navigator is in the slide mode and as it is hidden the focus is back in the editor. In order to close the pop-up you will have go back to navigator.

It seems to be a navigator bug since the pop-up should disappear together with the navigator component. Reassigning to java/navigation.
Comment 6 eNDe 2009-12-14 07:00:29 UTC
Created attachment 92536 [details]
bug in 6.8 as well
Comment 7 eNDe 2009-12-14 07:04:42 UTC
To close unclosed javadoc window, just go to navigator and move back. It should disappear. To avoid this unpleasant behavior do not press Enter key if you are in navigator and javadoc window is visible.

I hope it will be repaired in short time. :)
Comment 8 Tomas Zezula 2009-12-15 01:47:12 UTC
Ugly, should be fixed into 6.8.1.
Increasing priority as it is really stupid.
Comment 9 Jiri Prox 2009-12-15 03:32:35 UTC
I agree, nominating to 68patch1
Comment 10 Tomas Zezula 2010-01-18 07:19:57 UTC
Fixed in jet-main: e30e3ce40c27
Comment 11 Quality Engineering 2010-01-24 08:41:55 UTC
Integrated into 'main-golden', will be available in build *201001240200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/e30e3ce40c27
User: Tomas Zezula <tzezula@netbeans.org>
Log: #178582:javadoc pop-up does not close on esc