Bug 470038

Summary: Applications with spaces in their path cannot be launched (added to the Application Launcher via KDE Menu Editor)
Product: [I don't know] kde Reporter: Lyubomir <liubomirwm>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Lyubomir 2023-05-20 12:42:08 UTC
STEPS TO REPRODUCE
1.  In KDE Menu Editor add a new item
2. In the item's General tab use the UI to browse and select the path /opt/JetBrains Rider-2023.1.2/bin/rider.sh
3. In Advanced tab use the UI to browse and select the folder /opt/JetBrains Rider-2023.1.2/bin as Work path

OBSERVED RESULT
Upon confirming selection in step 2. above, the path is added with single quotes included as follows: '/opt/JetBrains Rider-2023.1.2/bin'. 
This results in the following Plasma notification:
Plasma Desktop Workspace
Launching JetBrains Rider (Failed)
Could not find the program ''/opt/JetBrains Rider-2023.1.2/bin/rider.sh'' 

EXPECTED RESULT
Manually removing the single quotes from the Program field allows the application to start.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 23.04
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.0-20-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7,6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: Acer
Product Name: Aspire A515-51G
System Version: V2.02
Comment 1 Nate Graham 2023-05-22 19:53:30 UTC

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