-
Notifications
You must be signed in to change notification settings - Fork 375
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
ft.FilePicker does not work on some Linux distros like KDE #3296
Comments
This is not because of the distribution, in your case Kubuntu. Kubuntu, with default KDE installed, also has the possibility to install the Gnome libraries. See this article, for example: So basically, when you install gnome via "apt install gnome" or "sudo apt install gnome" according to your rights on the system, you will be able to run the application and use the file picker. |
Thanks for responding. Basically, Flet will only work with GNOME File Picker and not with any other DE File Picker? |
Looking at the class it seems to be missing, no. At least, that's how I see it, but it's up to others who wrote the code to tell you exactly. |
I believe Flet internally uses Flutter packages. @sidviny Are you referring to the Dart or the Python side of this module's implementation? |
The Flet docs also mention installing |
Description
Looks to me like the FilePicker component works on GNOME (tested on Pop OS 22.04 and Ubuntu 24.04) and opens up the native folder application to select a folder. But it doesn't do anything on KDE Plasma 5 and 6 (Tested on Kubuntu 24.04 and Arch Linux).
Code example to reproduce the issue:
Describe the results you received:
Nothing happens after I click the folder icon. Got this error in
journalctl
when I clicked on the folder icon:Describe the results you expected:
The native folder app should open and allow me to select a folder.
Additional information you deem important (e.g. issue happens only occasionally):
None
Flet version (
pip show flet
):Operating system:
Kubuntu 24.04 LTS
Additional environment details:
KDE Plasma Version: 5.27.11
KDE Frameworks Version 5.115.0
Qt Version: 5.15.13
Graphics Platform: X11
The text was updated successfully, but these errors were encountered: