Eirik Bakke created NETBEANS-5855: ------------------------------------- Summary: Closing unsaved editor tab from dropdown can put IDE in unusable state Key: NETBEANS-5855 URL: https://issues.apache.org/jira/browse/NETBEANS-5855 Project: NetBeans Issue Type: Bug Components: platform - Window System Affects Versions: 12.4 Reporter: Eirik Bakke
If the main editor area's dropdown menu is used to close an editor tab, and said tab has unsaved changes, a dialog will pop up to prompt the user to save their changes. At this point, the left mouse button will no longer work, however, and in fact the left mouse button will continue to not work if the dialog is closed by keyboard action (e.g. pressing Escape). On Windows, it is usually possible to get out of this state by opening a popup menu or other dialog, e.g. by right-clicking something in the Projects pane or clicking in the menu bar (in which mouse clicking does seem to work). On MacOS, however, the state seems persistent; I could not easily figure out how to get out of this state other than by restarting the IDE. The relevant component is org.netbeans.swing.tabcontrol.ButtonPopupSwitcher. See also https://github.com/apache/netbeans/pull/2528 , which intends to make some changes to this component. And see also https://issues.apache.org/jira/browse/NETBEANS-5853 , which is a more cosmetic repaint bug in the same component. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists