Bug 472403

Summary: wslview grabs command to open any specific file
Product: [Plasma] Plasma SDK Reporter: Hamidreza Jafari <hamidrjafari>
Component: GeneralAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: antonis.tsiapaliokas, jr, neon-bugs-null, sitter
Priority: NOR Keywords: accessibility
Version First Reported In: 5.27.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Hamidreza Jafari 2023-07-19 15:28:07 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. type name of a Libre calc document in application launcher (e.g. kickoff)
2. wslview appears for an instant on taskbar (desktop panel)
3. nothing else happens (document is not shown open as expected)

OBSERVED RESULT
document is not shown open as expected

EXPECTED RESULT
document should be shown open as expected

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Hamidreza Jafari 2023-09-24 10:18:16 UTC
I traced the bug back to qt libraries. wslview is hardcoded somewhere in the library hence out of it the bug disapears. I can open calc documents right from file explorer e.g. from dolphine. But kickoff, mediaframe and probably other plasmoids based on qt are directing open document actions to wslview and wslview can't do the job. Why wslview found its way to qt is a question itself. This is wrong.