Bug 487630

Summary: doesn't respect configured default file manager application
Product: [Frameworks and Libraries] frameworks-kio Reporter: Javier Guerra G. <javier>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: minor CC: kde, kdelibs-bugs-null, nate, noahadvs
Priority: NOR    
Version First Reported In: 6.2.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Javier Guerra G. 2024-05-27 15:33:38 UTC
SUMMARY

When a screenshot is saved, the "Open Containing Folder" button appears, but if I press it, the file is opened in a Dolphin window instead of Konqueror, which is the application configured as File Manager.


STEPS TO REPRODUCE
1. set System Settings => Default Applcations => File manager to Konqueror (or anything besides Dolphin) 
2. take a screenshot with Spectacle
3. press the "Open Containing Folder" button

OBSERVED RESULT

A Dolphin window is opened

EXPECTED RESULT

a Konqueror window should be opened

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: kernel 6.9.1-arch1-1
(available in About System)
KDE Plasma Version: 6.0.4
KDE Frameworks Version:  6.2.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
Comment 1 Noah Davis 2024-05-30 04:14:37 UTC
Can confirm with git master Spectacle (24.07.70) and KIO (6.3.0). Spectacle uses KIO to do that, so I'm moving this to KIO.

Relevant code:

>void SpectacleWindow::openContainingFolder(const QUrl &url)
>{
>    KIO::highlightInFileManager({url});
>}
Comment 2 Nate Graham 2024-06-12 19:09:05 UTC
I expect this is Bug 397953.

*** This bug has been marked as a duplicate of bug 397953 ***