Bug#1101158: glib2.0: Can not open files from smb share in since 2.84.0-2
Simon McVittie
smcv at debian.org
Mon Mar 24 09:57:04 GMT 2025
On Mon, 24 Mar 2025 at 15:31:24 +1100, Ian Wienand wrote:
>Mar 24 15:14:30 framework firefox-bin[18770]: GFileInfo created without standard::content-type
It might help to upgrade gvfs to version 1.57.2-2 from unstable (you
didn't include the versions of related packages in your bug report, so I
can't tell whether you already have that). gvfs 1.57.2-2 fixes #1101025
which could have an impact here.
Or, Firefox or some component used by Firefox might be creating a
GFileInfo without asking for it to contain the standard::content-type
field, and then assuming that it will contain that information anyway.
If that's the case then it's a programming error in Firefox (or in some
component used by it).
>Firefox 136.0.2
Is this the firefox package from unstable, or is it a third-party
package from outside Debian?
>Out of interest I also tried with GTK_USE_PORTAL=1 and I see the "new"
>dialog box then, but when I try to upload it just dies with no other
>details. In the logs there is
>
>---
>[Parent 22691, Main Thread] WARNING: invalid cast from 'GtkFileChooserNative' to 'GtkWindow': 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:201
>
>(firefox-beta:22691): GLib-GObject-CRITICAL **: 15:18:41.707: invalid cast from 'GtkFileChooserNative' to 'GtkWindow'
>[Parent 22691, Main Thread] WARNING: gtk_message_dialog_new: assertion 'parent == NULL || GTK_IS_WINDOW (parent)' failed: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:201
>---
>
>I think that might be a separate issue, just adding for completness ...
This is a separate issue, and it is a Firefox or library bug: it's
asking for a GtkFileChooser and assuming that the result will be a
GtkWindow, but that is not an API guarantee (and in particular it is not
true when using the portal-based file chooser dialogs).
smcv
More information about the pkg-gnome-maintainers
mailing list