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.
Consider the following usecase. I right-click project name in Files view to open the pop-up window. Not seeing in it what I need I realize I needed to open it from Projects window instead of Files window. I click Projects tab, but this does not open the Projects window as expected, it only closes the pop-up. I click Projects once more, but instead of just switching to Projects window my UI input is interpreted as double-click and Projects gets enlarged to the whole IDE. This is counter-intuitive and annoying. The pop-up window should not need the extra click to close. One click should be enough to both close the pop-up and to perform the intended action. The IDE seems to promote such behavior, because while having the pop-up open, hovering over various elements like buttons in toolbar shows them active and thus welcoming user input. Moreover, in editor window the behavior of pop-ups is correct in this sense.
(In reply to comment #0) > I click Projects tab, but this > does not open the Projects window as expected, it only closes the pop-up. As designed AFAIK but not sure. > I click Projects once more, but instead of just switching to Projects window my > UI input is interpreted as double-click and Projects gets enlarged to the whole > IDE. Working for me on Linux / JDK 7 / Nimbus. The Projects window is selected and that is all. > while having the pop-up open, hovering > over various elements like buttons in toolbar shows them active and thus > welcoming user input. Sounds like a Swing bug? The Projects and Files windows do nothing special to implement popups that I know of - just general explorer views. Not sure what the editor window does.
That's default behavior in all Swing applications (try e.g. SwingSet demo). Mouse events are being sent even though popup menu is showing. Please feel free to file a bug against JDK.