https://bugs.kde.org/show_bug.cgi?id=507769

            Bug ID: 507769
           Summary: System Settings → Places shows user-dirs as "custom"
                    (orange) even when they match the standard
    Classification: Plasma
           Product: xdg-desktop-portal-kde
      Version First unspecified
       Reported In:
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

Created attachment 183726
  --> https://bugs.kde.org/attachment.cgi?id=183726&action=edit
Paths

SUMMARY
In System Settings → Places, certain XDG user directories (e.g., "Documents")
are highlighted in orange and marked as "custom", even though the values
exactly match the defaults defined in ~/.config/user-dirs.dirs. No user
overrides or alternate configurations are present.

STEPS TO REPRODUCE
1. The system uses the German locale (de_DE.UTF-8)
2. The file ~/.config/user-dirs.dirs contains correct, localized paths:
XDG_DOCUMENTS_DIR="$HOME/Dokumente"
XDG_MUSIC_DIR="$HOME/Musik"
XDG_PICTURES_DIR="$HOME/Bilder"
3. All standard directories exist (e.g., ~/Dokumente)
4. The command LANG=de_DE.UTF-8 xdg-user-dirs-update --force has been executed
5. No user overrides exist in ~/.config/kdeglobals, ~/.config/kcm_*, or similar
6. KDE daemons (kded5, plasmashell) have been restarted

EXPECTED RESULT
The directory fields should not be marked as orange or "custom" if they match
the current standard values defined in user-dirs.dirs.

ACTUAL RESULT
* Fields like “Documents Location” are highlighted in orange
* The "Places" entry on the left shows an orange dot, indicating unsaved custom
values
* Clicking "Defaults" resets the field to English folder names (e.g.,
~/Documents), even though these do not exist on a localized system
* Re-entering the correct (localized) path like ~/Dokumente keeps the field
marked as "custom"
* There is no real configuration difference – only a visual/GUI inconsistency

SUGGESTED FIX

The GUI logic should recognize when an entry is functionally equivalent to the
system default (e.g. matches user-dirs.dirs) and not treat it as a custom
value.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.12
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-71-generic (64-bit)
Graphics Platform: offscreen
Processors: 6 × Intel® Core™ i7-10850H CPU @ 2.70GHz
Memory: 7.8 GiB of RAM
Graphics Processor: llvmpipe

ADDITIONAL INFORMATION

* The behavior persists after full session restart
* No traces of old Documents, Music, etc. found via recursive config search
(~/.config, ~/.local/share, etc.)
* Appears to be a GUI detection issue, not an actual misconfiguration

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to