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

dialog "NewFolderOpen" freezes when scanning a large number of directories. #4752

Open
2 tasks done
GoHippo opened this issue Mar 28, 2024 · 1 comment
Open
2 tasks done
Labels
unverified A bug that has been reported but not verified

Comments

@GoHippo
Copy link

GoHippo commented Mar 28, 2024

Checklist

  • I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
  • This issue only relates to a single bug. I will open new issues for any other problems.

Describe the bug

dialog "NewFolderOpen" freezes when scanning a large number of directories. There is also a slowdown even when scanning a small number of directories.

I also want to add that sometimes the folder is not displayed, it shows that it is empty until you update it.

How to reproduce

Open the folder selection window and enter a directory with a large number of directories

Screenshots

No response

Example code

func main() {
	app := app.New()
	win := app.NewWindow("win")
	win.Resize(fyne.NewSize(900, 900))
	win.CenterOnScreen()
	dialog.NewFolderOpen(func(uri fyne.ListableURI, err error) {}, win).Show()
	win.ShowAndRun()
}

Fyne version

2.4.4

Go compiler version

1.22

Operating system and version

Windows 10 x64

Additional Information

No response

@GoHippo GoHippo added the unverified A bug that has been reported but not verified label Mar 28, 2024
@GoHippo GoHippo changed the title "NewFolderOpen" freezes when scanning a large number of directories. dialog "NewFolderOpen" freezes when scanning a large number of directories. Mar 28, 2024
@andydotxyz
Copy link
Member

Freezes permanently, of for a long time but then returns to life?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unverified A bug that has been reported but not verified
Projects
None yet
Development

No branches or pull requests

2 participants