Gtk.FileDialog crashes with the application when selecting a cloud directory

Hello,
I have a problem with Gtk.FileDialog (in Flatpak with Select Folder mode). When I want to choose the Google Drive directory, Gtk.FileDialog crashes with the application. Output from the terminal is below:

**
Gtk:ERROR:../gtk/gtkfiledialog.c:890:finish_file_op: assertion failed: (g_list_model_get_n_items (files) == 1)
Bail out! Gtk:ERROR:../gtk/gtkfiledialog.c:890:finish_file_op: assertion failed: (g_list_model_get_n_items (files) == 1)

/app/bin/run.sh: line 8: 3 Failed to exit (SIGABRT) (core dumped) python3 /app/main_window.py

The problem occurs with all Flatpak applications that use Gtk.FIleDialog.
Specification of the system:
GNOME 44.3 with Wayland
Version of GTK (in Flatpak): 4.10
Version of LibAdwaita (in Flatpak): 1.3
Runtime org.gnome.Platform version 44

Fixed by filedialog: Don't assert too much (!6207) · Merge requests · GNOME / gtk · GitLab

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.