Open Bug 1897300 Opened 6 months ago Updated 4 months ago

Firefox doesn't use the correct file manager to show downloaded files in their folders (nsIFile::reveal implementation doesn't pick the right app)

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 126
defect

Tracking

()

UNCONFIRMED

People

(Reporter: med.medin.2014, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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

Steps to reproduce:

On Archlinux running KDE Plasma desktop, after you set widget.use-xdg-desktop-portal.file-picker to 1 and add GTK_USE_PORTAL=1 to your env. Then install Nautilus file manager, so now you have two file managers: Dolphin (default) and Nautilus.

So for now, you open Firefox and attempt to save as any loaded page, it will launch the correct KDE save dialog. Even uploading a file launches KDE open dialog.

But if you go to Downloads (CTRL+SHIFT+Y), then you click on "Show in folder" on any downloaded item.

Actual results:

It will open Nautilus file manager.

Expected results:

It should open Dolphin.

Summary: Firefox doesn't use portal open/save dialogs for browser downloaded files → Firefox doesn't use portal for downloaded files

The Bugbug bot thinks this bug should belong to the 'Firefox::File Handling' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → File Handling
Component: File Handling → Widget: Gtk
Product: Firefox → Core
See Also: → 1304650
Summary: Firefox doesn't use portal for downloaded files → Firefox doesn't use the correct fila manager to show downloaded files in their folders (nsIFile::reveal implementation doesn't pick the right app)
Summary: Firefox doesn't use the correct fila manager to show downloaded files in their folders (nsIFile::reveal implementation doesn't pick the right app) → Firefox doesn't use the correct file manager to show downloaded files in their folders (nsIFile::reveal implementation doesn't pick the right app)
Blocks: gtk-kde
Priority: -- → P3

Hello! Thank you for submitting this issue I have tried to reproduce the issue on my end but unfortunately I wasn't able to with firefox 128.0a1(2024-06-05) on Ubuntu 22.04.
Could you please answer the following questions in order to further investigate this issue?

  1. Does this issue happen with a new profile? Here is a link on how to create one: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles
    2.. Does this issue happen in the latest nightly? Here is a link from where you can download it: https://www.mozilla.org/en-US/firefox/channel/desktop/
  2. Do you have any addons installed? If yes could you please list them?
Flags: needinfo?(med.medin.2014)

(In reply to Negritas Sergiu, Desktop QA from comment #2)

Hello! Thank you for submitting this issue I have tried to reproduce the issue on my end but unfortunately I wasn't able to with firefox 128.0a1(2024-06-05) on Ubuntu 22.04.

The bug is reported on KDE Plasma desktop version 6.0.5 on top of kernel 6.9.3.

Why are you using an old Ubuntu version running GNOME desktop to test a bug reported on KDE Plasma? I don't think any Ubuntu version is shipped with Plasma desktop 6.0.5 apart from KDE Neon.

Flags: needinfo?(med.medin.2014)

Here's a video showing the problem tested on:

Firefox: 128.0a1 (2024-06-05) (64-bit)

Operating System: Manjaro Linux
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.9.3-1-MANJARO (64-bit)
Graphics Platform: Wayland

Possibly it's not a Firefox bug. Please read the following bug report in KDE bug tracker (Firefox is mentioned in comment 9)
https://bugs.kde.org/show_bug.cgi?id=397953

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

Attachment

General

Creator:
Created:
Updated:
Size: