Integrated: 6777156: GTK L&F: JFileChooser can jump beyond root directory in combobox and selection textarea.

Abhishek Kumar duke at openjdk.org
Tue Oct 11 13:40:30 UTC 2022


On Thu, 22 Sep 2022 12:48:14 GMT, Abhishek Kumar <duke at openjdk.org> wrote:

> When a user selects ../ from directory list in GTK FileChooser continuosly, it leads to '../../../.....' in combobox and selection textarea even though it the current directory is at root level.
> 
> Fix for the issue is to remove "../" entry from JFileChooser directory list in GTK LAF if current directory is root.
> 
> Test case has been added and checked in CI pipeline. Link is attached in JBS.

This pull request has now been integrated.

Changeset: 9d0009e9
Author:    Abhishek Kumar <abhishek.cx.kumar at oracle.com>
Committer: Jayathirth D V <jdv at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9d0009e92b790b43153e3db353db775e6ff731cb
Stats:     98 lines in 2 files changed: 97 ins; 0 del; 1 mod

6777156: GTK L&F: JFileChooser can jump beyond root directory in combobox and selection textarea.

Reviewed-by: jdv, tr, psadhukhan

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

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



More information about the client-libs-dev mailing list