Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JFileChooser is very slow to open folders with many files #1048

Open
1 task
pab2d opened this issue Mar 28, 2024 · 2 comments
Open
1 task

JFileChooser is very slow to open folders with many files #1048

pab2d opened this issue Mar 28, 2024 · 2 comments
Labels
bug Something isn't working jbs:reported Someone from our org has reported it to OpenJDK keep This label can be applied to prevent the Stale bot from closing it after a period of inactivity windows

Comments

@pab2d
Copy link

pab2d commented Mar 28, 2024

Please provide a brief summary of the bug

After updating from Java11 (LTS) to Java17 (LTS), we noticed a significant performance problem when navigating via the JFileChooser.

After some research, we found out that other developers also have this problem.

https://bugs.openjdk.org/browse/JDK-8328895

We ourselves use the FlatLaF. However, the problem can also be reproduced with the SystemLaF.

As soon as we change the LaF, e.g. to CrossPlatform-LaF, the problem no longer occurs.

In this specific case, a network directory has 4430 files and 724 folders in total. Size: 60 MB
The subdirectory in my test contains 2803 files and 8 folders.

Ethernet_Graph

The smaller the number of files, the faster the folder is opened.

The local opening of the data volume is also significantly slower with Java 17.

Did you test with the latest update version?

  • Yes

Please provide steps to reproduce where possible

see the link in the description

Expected Results

see the link in the description

Actual Results

Loading time after directory change is very long.

What Java Version are you using?

17.0.10+7

What is your operating system and platform?

Windows 10 (x64)

How did you install Java?

msi file

Did it work before?

Yes, works fine with Java 11.

Did you test with other Java versions?

No response

Relevant log output

No response

@pab2d pab2d added the bug Something isn't working label Mar 28, 2024
@karianna karianna added jbs:reported Someone from our org has reported it to OpenJDK windows labels Mar 30, 2024
Copy link

We are marking this issue as stale because it has not been updated for a while. This is just a way to keep the support issues queue manageable.
It will be closed soon unless the stale label is removed by a committer, or a new comment is made.

@github-actions github-actions bot added the stale label Jun 29, 2024
@karianna karianna removed the stale label Jul 1, 2024
Copy link

We are marking this issue as stale because it has not been updated for a while. This is just a way to keep the support issues queue manageable.
It will be closed soon unless the stale label is removed by a committer, or a new comment is made.

@github-actions github-actions bot added the stale label Sep 30, 2024
@karianna karianna added keep This label can be applied to prevent the Stale bot from closing it after a period of inactivity and removed stale labels Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working jbs:reported Someone from our org has reported it to OpenJDK keep This label can be applied to prevent the Stale bot from closing it after a period of inactivity windows
Projects
None yet
Development

No branches or pull requests

2 participants