Bug 502603 - Creating new application entries does not honor XDG configuration if the configured XDG directory does not exist.
Summary: Creating new application entries does not honor XDG configuration if the conf...
Status: CONFIRMED
Alias: None
Product: kmenuedit
Classification: Applications
Component: general (other bugs)
Version First Reported In: 6.3.4
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-09 11:12 UTC by Marcus E. W. Germano, IV
Modified: 2025-04-09 17:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus E. W. Germano, IV 2025-04-09 11:12:57 UTC
SUMMARY

I configured my `$XDG_DATA_HOME` to `$HOME/.data` instead of the default `$HOME/.local/share`. Because the `applications` directory did not exist, the menu editor creates it at `$HOME/.local/share/applications`, instead of `$HOME/.data/applications`. Creating it did seem to fix the issue.

STEPS TO REPRODUCE
1. Set `XDG_DATA_HOME` to a different directory.
2. Use the KDE Menu Editor to create new desktop entries.

OBSERVED RESULT

Creates a new directory at `$HOME/.local/share/applications` if `$XDG_DATA_HOME/applications` does not exist, and places new desktop entries there.

EXPECTED RESULT

Should create the directory at `$XDG_DATA_HOME/applications` and place the new desktop entries there.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.9.0