On Tue, 22 Nov 2022 15:51:09 GMT, Abhishek Kumar <abhis...@openjdk.org> wrote:

> The Backspace key doesn't lead to parent directory of current directory for 
> JFileChooser in GTK LAF. 
> Added the lazy input value in `GTKLookandFeel` and fix is working fine.
> 
> Implemented a manual test to check BackSpace behavior for all installed LAF 
> in Linux platform.
> The test mentioned in 
> [JDK-8078471](https://bugs.openjdk.org/browse/JDK-8078471) 
> `javax/swing/JFileChooser/4150029/bug4150029.html` also working fine with GTK 
> option (-client 
> -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel).

If JFileChooser current directory is set to root directory then pressing 
BackSpace key changes to user's home directory in GTK LAF which is incorrect. 
It should remain at root directory. 
Planning to raise a new bug for this.

-------------

PR: https://git.openjdk.org/jdk/pull/11291

Reply via email to