Bug 1892527

Summary: firefox-wayland not recognizing kde dolphin as file manager
Product: [Fedora] Fedora Reporter: Gerald Cox <gbcox>
Component: firefoxAssignee: Gecko Maintainer <gecko-bugs-nobody>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 34CC: elxreno, erack, gecko-bugs-nobody, jhorak, kai-engert-fedora, pjasicek, rdieter, rhughes, rstrode, s6, sandmann
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-01 18:39:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gerald Cox 2020-10-29 03:49:49 UTC
Description of problem:

firefox-wayland not recognizing kde dolphin as file manager


Default is set for Dolphin:
gio mime inode/directory
Default application for “inode/directory”: org.kde.dolphin.desktop
Registered applications:
        org.kde.dolphin.desktop
        ranger.desktop
        easytag.desktop
        kfmclient_dir.desktop
        org.gnome.Nautilus.desktop
        org.gnome.baobab.desktop
        org.kde.gwenview.desktop
        org.kde.kid3.desktop
        qmmp-dir.desktop
Recommended applications:
        org.kde.dolphin.desktop
        ranger.desktop
        easytag.desktop
        kfmclient_dir.desktop
        org.gnome.Nautilus.desktop
        org.gnome.baobab.desktop
        org.kde.gwenview.desktop
        org.kde.kid3.desktop
        qmmp-dir.desktop

xdg-mime query default inode/directory
org.kde.dolphin.desktop

Works perfect when using Firefox, however when using Firefox-Wayland Nautilus
is always used as file manager.

rpm -qa | grep firefox
firefox-82.0-5.fc33.x86_64
firefox-wayland-82.0-5.fc33.x86_64

rpm -qa | grep dolphin
dolphin-20.08.1-1.fc33.x86_64
dolphin-libs-20.08.1-1.fc33.x86_64

Comment 1 s6@goat.si 2020-11-15 12:37:12 UTC
is this some portal-kde business ?

Comment 2 Gerald Cox 2020-12-28 21:35:43 UTC
Appears that for some reason the setting that was made in X11 doesn't carryover to Wayland.
To correct, you need to go to KDE System Settings

Select Applications
Select Default Applications

File manager needs to be set as Dolphin

If file manager is already set as Dolphin, you need to select something else,
press apply, then switch it back to Dolphin and press apply.

This will correct the situation.  

Keeping this ticket open until after Wayland becomes the default in KDE.

Comment 3 Gerald Cox 2021-01-17 19:39:36 UTC
Well, I must have missed something in my previous comment, because I'm seeing Nautilus on the Fx Download menu.  
So, this is still an issue.

Comment 4 Ben Cotton 2021-02-09 16:16:55 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.