You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Tomáš Procházka (Jira)" <ji...@apache.org> on 2021/01/29 05:00:00 UTC

[jira] [Created] (NETBEANS-5299) Wrong dialog button pressed when using FlatLaf

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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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