Bug 423578

Summary: Plasma 5.19 doesn't open some exe files on double click
Product: [Frameworks and Libraries] frameworks-kio Reporter: Nick Stefanov <mo78>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: a.samirh78, faure, kde, kdelibs-bugs, nate, plasma-bugs
Priority: NOR Keywords: regression
Version: 5.71.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Nick Stefanov 2020-06-27 10:16:23 UTC
SUMMARY
Plasma 5.19 doesn't open some exe files on double click. For example GOG's installation exe files doesn't open on double click but they are opening fine with right click->Open with Wine Loader or via terminal with "wine setup.exe".

All exe files used to work fine on double click with all previous Plasma 5 versions. 


STEPS TO REPRODUCE
1. Double click on a GOG .exe file 

OBSERVED RESULT
Nothing happens.

EXPECTED RESULT
It should start the installer.

SOFTWARE/OS VERSIONS
Arch Linux
KDE Plasma Version: 5.19.2
KDE Frameworks Version: 5.71.0
Qt Version: 5.15.0
Comment 1 Nate Graham 2020-07-02 00:45:18 UTC
I dimly recall that this might have been intentional. If so, seems like we broke WINE users. :/
Comment 2 Nick Stefanov 2020-07-02 07:49:16 UTC
But many other exe files are working fine? Should we expect a fix? It's a regression for me.
Comment 3 Ahmad Samir 2020-07-08 15:38:42 UTC
- What happens when you double click it?
- what's the output of:
ls -l /path/to/exe
file /path/to/exe
(replace /path/to/exe with the actual path to the exe file that doesn't work)
Comment 4 Nick Stefanov 2020-07-08 16:11:02 UTC
ls - /media/sdb1/Game/Ashes/game-ashes.of.the.singularity.escalation.part01/setup_ashes_of_the_singularity_escalation_2.92.0_(64bit)_(36283).exe
bash: syntax error near unexpected token `('

But there are exe files without ( in the name and they didn't work too. Double click on this particuar exe used to working in pre 5.19 versions. I renamed it and it's starting though.
Comment 5 David Edmundson 2020-07-08 16:13:44 UTC
There was a KIO change that probably fixes this that will come out on Sunday.
Please reopen if it's still an issue after then
Comment 6 Ahmad Samir 2020-07-08 17:00:28 UTC
Indeed, looks like a duplicate of bug 423412 (which is fixed by using the CommandLauncherJob ctor that uses KShell::quoteArgs, '(' characters need quoting).

*** This bug has been marked as a duplicate of bug 423412 ***
Comment 7 Nick Stefanov 2020-07-08 17:17:18 UTC
(In reply to David Edmundson from comment #5)
> There was a KIO change that probably fixes this that will come out on Sunday.
> Please reopen if it's still an issue after then

Ok, thanks :)
Comment 8 Nick Stefanov 2020-07-13 21:28:37 UTC
It's fixed, thank you!