Tag: Flathub

  • Fedora Thunderbird flatpak crashes attaching or saving a file

    The latest flatpak version of Thunderbird from Fedora (not Flathub):

    Commit: 936d9f60ac420057270d5c0c26b3383b04177b678afd6f6e7b7b59df3f0e6663
    Subject: Export net.thunderbird.Thunderbird
    Date: 2025-10-12 19:21:33 +0000

    Crashes when trying to attach a file or save an attachment:

    [Parent 3, Main Thread] WARNING: Could not load a pixbuf from icon theme.
    This may indicate that pixbuf loaders or the mime database could not be found.: 'glib warning', file /builddir/build/BUILD/thunderbird-140.3.0-build/thunderbird-140.3.0/toolkit/xre/nsSigHandlers.cpp:201
    
    (net.thunderbird.Thunderbird:3): Gtk-WARNING **: 12:25:17.580: Could not load a pixbuf from icon theme.
    This may indicate that pixbuf loaders or the mime database could not be found.
    **
    Gtk:ERROR:../gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /run/host/share/icons/breeze/status/16/image-missing.svg: Failed to create file “~/.var/app/net.thunderbird.Thunderbird/cache/tmp/gdk-pixbuf-glycin-tmp.KSAZE3”: No such file or directory (g-file-error-quark, 4)
    Bail out! Gtk:ERROR:../gtk/gtkiconhelper.c:495:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /run/host/share/icons/breeze/status/16/image-missing.svg: Failed to create file “~/.var/app/net.thunderbird.Thunderbird/cache/tmp/gdk-pixbuf-glycin-tmp.KSAZE3”: No such file or directory (g-file-error-quark, 4)
    Redirecting call to abort() to mozalloc_abort
    
    Exiting due to channel error.
    Segmentation fault         (core dumped) thunderbird
    [📦 net.thunderbird.Thunderbird ~]$ exit
    exit

    There is already a Bugzilla entry but until it is solved you can simply remove the TMPDIR environment variable:

    flatpak override --user --unset-env=TMPDIR net.thunderbird.Thunderbird

    To check that it has been done:

    cat ~/.local/share/flatpak/overrides/net.thunderbird.Thunderbird
    [Environment]
    TMPDIR=
    
    [Context]
    unset-environment=TMPDIR; 

    Now just run Thunderbird as usual and it will again allow to save and attach files.

    To later remove the override once Fedora has fixed the bug just run:

    flatpak override --user --unset-env=TMPDIR net.thunderbird.Thunderbird
  • Fedora’s Thunderbird Flatpak shows generic Wayland “W” icon in KDE Plasma

    Just a little annoying issue that has buggered me for many months without any solution in the updates.

    When launching the latest Fedora version of Thunderbird Flatpak (128.6.0esr), it does not display its usual stylised blue swallow icon, but instead the generic yellow “W” icon of Wayland.

    This system runs Fedora Kinoite so the bug probable does not affect a RPM installation of Thunderbird. Additionally, there is also a Flatpak version of Thunderbird in Flathub which I have not tested whether this bug is present or not.

    This issue appears to be due to how the Thunderbird Flatpak is packaged. Specifically, the Fedora provided Flatpak is not setting the expected desktop file metadata when it launches under Wayland. As a result, KDE Plasma falls back to the generic “W” icon for the running window, even though the menu and pinned icon are correct.

    There is a specific commit to the underlying Flatpak container.yaml which may be responsible for this bug. The changing of the name string from “org.mozilla.thunderbird” to “net.thunderbird.Thunderbird“. This hint is also what is used to work around the bug:

    1. Start by opening Thunderbird
    2. Press Alt+F3
    3. Select More Actions > Configure Special Application Settings
    4. Add a new property called Desktop file name
    5. Select “Force” in the property drop-down
    6. Change the property value to “org.mozilla.Thunderbird
    7. Click “OK

    Now the taskbar icon should be back to the same as the one in the menu, the correct Thunderbird blue swallow icon, with no sight of the wrong yellow Wayland “W” icon.