Bug 454214

Summary: Ark's 'Open With' keeps launching chosen app when trying to change association
Product: [Applications] ark Reporter: David <david.cortes.rivera>
Component: generalAssignee: Elvis Angelaccio <elvis.angelaccio>
Status: REPORTED ---    
Severity: normal CC: aacid, nate, rthomsen6
Priority: NOR    
Version First Reported In: 21.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description David 2022-05-22 14:19:27 UTC
SUMMARY
Trying to change a file association when previewing a file with ark will keep opening more and more instances of the chosen program until running out of memory.

STEPS TO REPRODUCE
1. Download some HTML file from the internet and compress it into a format associated with ark.
2. Open the compressed file with ark. Search for the HTML file within its contents.
3. Right click the HTML file inside ark, select "Open With", choose konqueror there, and tick the option "Remember application association ...".
4. Click Ok.

OBSERVED RESULT
Keeps launching new konqueror instances until crashing.

EXPECTED RESULT
Should launch only one konqueror instance.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.2
Kernel Version: 5.17.0-2-amd64 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 2700 Eight-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: AMD VEGA10