Bug 490750

Summary: A file "$HOME/ --writable-path ConfigLocation)/mimeapps.list" is created when launching app via .desktop file
Product: [Plasma] krunner Reporter: Eugene Shalygin <eugene.shalygin+bugzilla.kde>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: alexander.lohnau, natalie_clarius, nate
Priority: NOR    
Version First Reported In: 6.1.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Eugene Shalygin 2024-07-24 10:06:08 UTC
Signal .desktop file:

[Desktop Entry]
Name=Signal
Exec=/opt/Signal/signal-desktop %U
Terminal=false
Type=Application
Icon=signal-desktop
StartupWMClass=Signal
Comment=Private messaging from your desktop
MimeType=x-scheme-handler/sgnl;x-scheme-handler/signalcaptcha;
Categories=Network;InstantMessaging;Chat;

When launching the app via this .desktop file, a file "$HOME/ --writable-path ConfigLocation)/mimeapps.list" is created:
[Added Associations]
x-scheme-handler/sgnl=signal-desktop.desktop;
x-scheme-handler/signalcaptcha=signal-desktop.desktop;


Operating System: Gentoo Linux 2.15
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Kernel Version: 6.10.0-gentoo (64-bit)
Graphics Platform: Wayland
Comment 1 Nate Graham 2024-07-24 19:10:02 UTC
Is there a problem though?
Comment 2 Eugene Shalygin 2024-07-24 19:18:00 UTC
(In reply to Nate Graham from comment #1)
> Is there a problem though?

I'm sure whoever wrote the code did not intend to create a subdirectory " --writable-path ConfigLocation)" in the home directory. So, this is probably a manifestation that something went wrong.
Comment 3 Nate Graham 2024-07-25 16:27:54 UTC
Oh I see lol