https://bugs.kde.org/show_bug.cgi?id=426125
Bug ID: 426125
Summary: The 'Link to application' option 'Run in terminal' can
overwrite an application configuration file
Product: plasmashell
Version: 5.18.5
Platform: Kubuntu Packages
OS: Linux
Status: REPORTED
Severity: major
Priority: NOR
Component: Application Launcher (Kickoff)
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: 1.0
SUMMARY
When I turn on the 'Run in terminal' option in a 'Link to application' on the
desktop, some process hijacks the options for the application and overwrites
the applications configuration file. This, in turn, destroys the application's
ability to operate.
STEPS TO REPRODUCE
1. Create a 'Link to application'
2. Setup the application command to include a "--config" option for the
application
3. In "Advanced Options" select "Run in terminal" and "Do not close when
command exits"
4. Select OK and OK to create the desktop link
5. Run the new desktop link
OBSERVED RESULT
The file pointed to by the "--config" option for the application is corrupted /
overwritten losing all setting to effectively operate the application.
EXPECTED RESULT
The config file for the application is not altered / corrupted / overwritten by
other processes.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 20.04
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
ADDITIONAL INFORMATION
By making the applications file Read Only, the system reports the culprit when
the application is started in a dialog:
konsole - Dialog
(i) Configuration file "/home/<..redacted..>/Bin/agraph-7.0.2/lib/agraph.cfg"
not writable. Please contact your system administrator.
When starting konsole with a --config option and a file it reports: "Unknown
option 'config'." Help on konsole also does not report the option. So, what
is the major malfunction? Indeed, some process within or about konsole is
taking the options for their own. The application still receives the options
and proceeds. However, at some point, the config file is overwritten by the
other process and corrupting the application. When the file is Read/Write, the
overwritten file contents show the following:
----------------------------------------
[Desktop Entry]
DefaultProfile=
[Favorite Profiles]
Favorites=
[MainWindow]
State=AAAA/wAAAAD9AAAAAAAAAoAAAAHCAAAABAAAAAQAAAAIAAAACPwAAAAA
ToolBarsMovable=Disabled
----------------------------------------
I've placed the application command in quotes to try to mitigate to no avail.
--
You are receiving this mail because:
You are watching all bug changes.