File dialog does not respect selected export filter on KDE with GTK_USE_PORTAL=1
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
People
(Reporter: jan.rathmann, Unassigned)
References
Details
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:69.0) Gecko/20100101 Firefox/69.0
Steps to reproduce:
- Start Thunderbird on KDE with environment variable "GTK_USE_PORTAL=1" set to use KDE's native file dialogs.
- Open Adress book, select an adress book to export.
- Choose "Extras --> Export..."
- Select "Filter: LDIF" (or "vCard") in the file dialog, click on "Save"
Actual results:
Regardless of what filter I chose in the previous step, TB always creates a .csv file as a result.
Expected results:
If LDIF (or vCard) is chosen as filter, the exported file should be a an LDIF (or vCard) file.
This works fine when I don't use "GTK_USE_PORTAL=1" to start Thunderbird and GTK file dialogs are used.
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Comment 1•5 years ago
|
||
Did some further testing: The "Save mail as file" dialog is also affected in a very similar way (saves erroneously to .eml files even if I select "HTML" as output format).
Updated•5 years ago
|
Comment 2•5 years ago
|
||
Do you see the corresponding problem for Firefox?
Reporter | ||
Comment 3•5 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #2)
Do you see the corresponding problem for Firefox?
Didn't test that so far - I have tried it now and indeed I also see this in Firefox when I try to save a website (saves to HTML even if "text file" is selected as ouput).
Updated•5 years ago
|
Reporter | ||
Comment 4•5 years ago
|
||
I have tested with Firefox 72.02 and Thunderbird 68.4.1 that this issue still exists.
Updated•4 years ago
|
Comment 5•4 years ago
|
||
This is the same as bug 1517074, s. further information there.
I therefore suggest to close this as a duplicate (but as far as I can see don't have the permissions to do so myself).
I had run into the same issue using Thunderbird and it works for me with the fixes mentioned in the gtk issue: https://gitlab.gnome.org/GNOME/gtk/-/issues/1820
Comment 6•4 years ago
|
||
Thank you!
Description
•