Tomáš Procházka created NETBEANS-5299:
-----------------------------------------

             Summary: Wrong dialog button pressed when using FlatLaf
                 Key: NETBEANS-5299
                 URL: https://issues.apache.org/jira/browse/NETBEANS-5299
             Project: NetBeans
          Issue Type: Bug
          Components: FlatLaf
    Affects Versions: 12.2, 12.3
            Reporter: Tomáš Procházka
            Assignee: Karl Tauber


When FlatLaf is used, then in dialogs wrong button is activated using keyboard 
navigation.

Steps to reproduce:
# Open NetBeans and select FlatLaf look & feel
# Open any file
# Make any change in file
# Exit NetBeans - clicking Close button or File > Exit
# Dialog Save will show up
# Press Tab key - Save button will be highlighted
# Press Enter

Actual behavior:
Cancel button is activated - file is not saved and NetBeans are not closed

Expected behavior:
Save button is activated - file is saved and NetBeans are closed.
 
Same problem is also with other dialogs.
When GTK+ LaF is used, then correct dialog button is activated.

Tested in NetBeans 12.2 and 12.3 beta 1.




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to