https://bugs.kde.org/show_bug.cgi?id=517767
--- Comment #3 from [email protected] --- (In reply to TraceyC from comment #1) > I'm not able to reproduce this on Plasma built with git-master. Can you > still reproduce this with Plasma 6.6.5 or later? I have finally had time to do some research I have noticed that the issue was not there for a new user, according to the kcm's source: const QString writableLocation = QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation); row->setData(pkg.path().startsWith(writableLocation), UninstallableRole); it checks if it _starts_ with writableLocation, and qt first looks for $XDG_DATA_HOME (from https://github.com/qt/qtbase/blob/c89f04492182b5eb94b88768b8f9137498b1267c/src/corelib/io/qstandardpaths_unix.cpp#L227 ), and if it's not set (default in Fedora Kinoite), it looks in $HOME/.local/share (as of https://github.com/qt/qtbase/blob/c89f04492182b5eb94b88768b8f9137498b1267c/src/corelib/io/qfilesystemengine_unix.cpp#L1912 ) Because of the fedora-kde/SIG bug linked here https://pagure.io/fedora-kde/SIG/issue/159 the first user has $HOME set to /home/<name> by the installer, whilst all subsequent users will have it set to /var/home/<name>, so pkg.path() is simply the canonicalPath of the package ( https://invent.kde.org/frameworks/kpackage/-/blob/master/src/kpackage/package.cpp?ref_type=heads#L516 ), which does account for symlinks (since in Kinoite /home is a symlink to /var/home), so $HOME/.local/share does not start with /var/home and the theme is marked as not uninstallable for the first user I am going to make a MR now -- You are receiving this mail because: You are watching all bug changes.
