-
Notifications
You must be signed in to change notification settings - Fork 0
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
[bug] Linux Gnome calls the get_file_icon
method with an error.
#17
Comments
As the message suggest, it seems not possible to call GTK functions if not in the main thread. |
I started the project with
|
I'm afraid the only solution is to call get_file_icon from the main thread on linux |
So should I solve this problem by myself? |
Pull requests are welcome |
Well it catched my interest, I might come with a solution. |
@ayangweb Can you provide a minimal example that reproduce your issue? |
Maybe you could try https://github.com/ayangweb/tauri-plugin-fs-pro?tab=readme-ov-file#example Demo video on macOS: iShot_2024-12-12_14.46.13.mp4 |
That does not seems minimal to me.. Without an example i will not be able to fix your issue. |
Then I'm not available these days, I'm busy with work! |
That fine, for my use case I have no issues on my end so I can wait, but my interest might be attracted by something else. |
Hey, sorry, I've been busy lately. When you have time, try the demo below! https://github.com/ayangweb/file-icon-provider-demo iShot_2024-12-27_14.45.13.mp4 |
Hey👋, excuse me, I am getting error while using get_file_icon in linux Gnome, how should I fix it, thanks for the help!
The text was updated successfully, but these errors were encountered: