[Konsole-devel] [konsole] [Bug 344658] New: Konsole saves profile to wrong path
Siddhartha Sahu
sh.siddhartha at gmail.com
Sat Feb 28 11:45:24 UTC 2015
https://bugs.kde.org/show_bug.cgi?id=344658
Bug ID: 344658
Summary: Konsole saves profile to wrong path
Product: konsole
Version: 3.90.900
Platform: Compiled Sources
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: konsole-devel at kde.org
Reporter: sh.siddhartha at gmail.com
My install path is /opt/kde5 using kdesrc-build as my own user, so I have
writable permissions to /opt/kde5/share/konsole/Shell.profile. Due to this and
the path not matching
QStandardPaths::standardLocations(QStandardPaths::GenericDataLocation).last()
(ProfileWriter.cpp:45), all my profile changes are written to
/opt/kde5/share/konsole/Shell.profile and not to ~/.local. So everytime I do a
build, the Shell.profile is replaced with a new file.
I can see that
QStandardPaths::standardLocations(QStandardPaths::GenericDataLocation is
("/home/sdh/.kde5/local", "/opt/kde5/share", "/usr/share"), so maybe the code
should check all entries instead of just the last entry?
Reproducible: Always
Steps to Reproduce:
1. Save changes to a profile. Save path is wrong.
2. Compile and install from source
Actual Results:
Saved changes are replaced with new file
Expected Results:
Saved changes should go to user home
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the konsole-devel
mailing list