RFR: 6777156: GTK L&F: JFileChooser shouldn't display /../../../.. in combobox and selection textarea. [v2]

Abhishek Kumar duke at openjdk.org
Mon Sep 26 06:13:47 UTC 2022


> 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 check if current directory is root then don't process the selection of ' ../ '.
> 
> Test case has been added and checked in CI pipeline. Link is attached in JBS.

Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision:

  Comment added and test case condotion update

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10390/files
  - new: https://git.openjdk.org/jdk/pull/10390/files/8f8aed0c..ff3bce2c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=10390&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10390&range=00-01

  Stats: 11 lines in 2 files changed: 9 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/10390.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10390/head:pull/10390

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



More information about the client-libs-dev mailing list