Closed Bug 1588702 Opened 5 years ago Closed 4 years ago

File dialog does not respect selected export filter on KDE with GTK_USE_PORTAL=1

Categories

(Core :: Widget: Gtk, defect)

68 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1517074

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:

  1. Start Thunderbird on KDE with environment variable "GTK_USE_PORTAL=1" set to use KDE's native file dialogs.
  2. Open Adress book, select an adress book to export.
  3. Choose "Extras --> Export..."
  4. 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.

OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Summary: 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. → File dialog does not respect selected export filter on KDE with GTK_USE_PORTAL=1

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).

Flags: needinfo?(mkmelin+mozilla)

Do you see the corresponding problem for Firefox?

Flags: needinfo?(mkmelin+mozilla)

(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).

Component: OS Integration → Widget: Gtk
Product: Thunderbird → Core
Version: 68 → 68 Branch

I have tested with Firefox 72.02 and Thunderbird 68.4.1 that this issue still exists.

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

Thank you!

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.