Bug 459077

Summary: .desktop files outside of ~/Desktop are not launched correctly from the desktop
Product: [Plasma] plasmashell Reporter: Oliver Beard <olib141>
Component: Desktop ContainmentAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: minor CC: nate, notmart
Priority: NOR    
Version: 5.25.5   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Oliver Beard 2022-09-14 01:00:43 UTC
SUMMARY
.desktop files belonging to a directory other than ~/Desktop are not opened correctly from the desktop when the desktop is set to use a folder other than ~/Desktop (Configure Desktop and Wallpaper... > Location > Show > Custom location instead of Desktop folder).


STEPS TO REPRODUCE
1. Copy a .desktop file from your desktop to ~/testtop
2. Set the desktop to use ~/testtop as a custom location
3. Attempt to open the desktop file

OBSERVED RESULT
Window:
Plasma: What do you wish to do with this file? Open/Execute/Cancel

EXPECTED RESULT
Just launch the application, as it would from ~/Desktop/


SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98
Qt Version: 5.16.6

Please move this bug as necessary. I'm not certain that Desktop Containment is the correct component, or that plasmashell is necessarily the correct product.
Comment 1 Nate Graham 2022-09-14 17:26:57 UTC
AFAIU it should be the same root cause as Bug 458400. It has an open merge request; feel free to review it!

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