If the user wants to select a menu item e.g. open projects he has to go some menu item below to select this item. It was strange and annoying at the same time, because in NetBeans 5.0 IDE I didn’t see this bug.
Now someone could say: time has changed and no such bug exists in 6.1.
No, thats not true!
Today I discovered exactly the same old and annoying bug in the latest IDE 6.1 (with jdk 1.6.0_06) here I captured a screenshot:
I simulated the mouse pointer with a red dot. In 5.0 it was even worse: the mouse sometimes was several pixels below this point!
I don’t fake it. Believe me! (Does anybody know how to capture screenshot with mouse pointers under linux?) You can trust that I didn’t fake the image, because then I captured another interesting screenshot:
Which might be a solution to the problem: the JPopupMenu (I guess menus are implemented in this manner) is shown at the wrong position.
Has anybody seen the same bug, too??
It is really difficult to reproduce. Sometimes it occures and sometimes not…
E.g. I restarted NetBeans and it disapears.
Please look here for the bug report at netbeans.org.
UPDATE = PARTIAL SOLUTION
Today (19.08.08) it was the first day I see this behaviour in another java application.
(The popupmenu selection was different to the mouse position)
So I guess: its not a netbeans issue!!
You can stimulate this bug via:
click “restore old size” in the menubar (WindowMaker) of the window of Netbeans -> move the window a bit left (out of screen) -> maximize -> now e.g. right click a project => context menu => bug