| Summary: | Saving settings overwrites symlink with regular file | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | Rua <ruawhitepaw> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | normal | CC: | kde |
| Priority: | NOR | ||
| Version First Reported In: | 6.2.5 | ||
| Target Milestone: | --- | ||
| Platform: | NixOS | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Rua
2025-01-15 14:53:53 UTC
>The file should remain a symlink, and the destination for the new symlink should be determined by following the chain of symlinks to the final file.
We're not doing that. I get that it will fix your bug, but there's a myriad of new challenges and there's a limit in what features we should support for code maintenance.
Ultimately from a system settings POV we're managing the file and clearing up whatever else the user has left in the way.
If you guys want to patch it in Nix:
- kxftconfig.cpp in where m_file is created wrap it in
QFile::filesystemSymLinkTarget
|