-
Notifications
You must be signed in to change notification settings - Fork 544
Open
Labels
bug: regressionA feature that worked correctly doesn't anymoreA feature that worked correctly doesn't anymore
Description
Duplicate Check
- I have searched the opened issues and there are no duplicates
Describe the bug
FilePicker doesn't open on 0.28.3 (works on 0.28.2). No error or anything just doesn't appear.
Tested with macOS 15.5, python 3.13.
Just wanted to share in case others are seeing this too!
Code sample
Code
#FilePicker example from Flet docs:
import flet as ft
def main(page: ft.Page):
def pick_files_result(e: ft.FilePickerResultEvent):
selected_files.value = (
", ".join(map(lambda f: f.name, e.files)) if e.files else "Cancelled!"
)
selected_files.update()
pick_files_dialog = ft.FilePicker(on_result=pick_files_result)
selected_files = ft.Text()
page.overlay.append(pick_files_dialog)
page.add(
ft.Row(
[
ft.ElevatedButton(
"Pick files",
icon=ft.Icons.UPLOAD_FILE,
on_click=lambda _: pick_files_dialog.pick_files(
allow_multiple=True
),
),
selected_files,
]
)
)
ft.app(main)
To reproduce
Just run the example on macOS with 0.28.3
Expected behavior
Should open the FilePicker but does nothing.
Screenshots / Videos
Captures
[Upload media here]
Operating System
macOS
Operating system details
Sequoia 15.5
Flet version
0.28.2
Regression
Yes, it used to work in a previous Flet version (please specify the version in additional details)
Suggestions
I noticed 0.28.3 bumped the file_picker package version, so maybe that’s the cause?
Logs
Logs
[Paste your logs here]
Additional details
Works in 0.28.2
MissDrdr
Metadata
Metadata
Assignees
Labels
bug: regressionA feature that worked correctly doesn't anymoreA feature that worked correctly doesn't anymore