Open Bug 2039852 Opened 4 days ago Updated 21 hours ago

Save All button not using XDG desktop portal for file dialogs (but correctly uses the kde file dialog when saving individual attachments)

Categories

(Core :: Widget: Gtk, defect)

defect

Tracking

()

People

(Reporter: ulo_kapta, Assigned: mkmelin)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:150.0) Gecko/20100101 Firefox/150.0

Steps to reproduce:

I am using the flatpak version of Thunderbird and have xdg-desktop-portal-kde installed on linux kde. The file picker correctly uses the kde file dialog when saving individual attachments (using "Save" button or "Save As..." on emails with multiple attachments). However, when using the "Save All" button to save attachments in an email with multiple attachments it reverts to using the GTK file dialog. It might just be that this button has not been set to using the dialog xdg-desktop-portal dialog like the normal save button.

Looking a bit more further into this, I think this bug report at kde might be related as issue appears similar

Can you try v150 or later?

Summary: Save All button not using XDG desktop portal for file dialogs → Save All button not using XDG desktop portal for file dialogs (but correctly uses the kde file dialog when saving individual attachments)

(In reply to Magnus Melin [:mkmelin] from comment #3)

Can you try v150 or later?

I have tested using Thunderbird 150.0.2 (64-bit) (non-flatpak), it has the same issue as above. Single attachments show the kde dialog while multiple attachments show the gtk dialog.

Assignee: nobody → mkmelin+mozilla
Status: UNCONFIRMED → NEW
Component: OS Integration → Widget: Gtk
Ever confirmed: true
Product: Thunderbird → Core
Version: Thunderbird 140 → unspecified

On portal < v3, the call fails -> we get the OpenNonPortal() fallback.
With the patch, for supported versions, the folder picker goes through the portal as expected.

I don't see how comment 5 works. The issue seems to be that your portal is too old and doesn't support the needed call... You need to update your xdg portal implementation. But I might be missing something?

kappa: can you provide more version details about your system?

I am using:
Solus 4.9 (x86-64)
KDE Plasma Version: 6.6.4
KDE Frameworks Version: 6.25.0
Qt Version: 6.10.3
xdg-desktop-portal (1.20.4) and xdg-desktop-portal-kde (6.6.4).

Thunderbird is version 140.10.2esr using Flatpak (also tested and reproduced on Thunderbird 150.0.2 (64-bit) (non-flatpak)) .

If you need anything else, let me know.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: