Bug 462038 - Default "Places" are one-time and don't reflect the user's current actual home directory
Summary: Default "Places" are one-time and don't reflect the user's current actual hom...
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 22.08.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-19 22:21 UTC by kde
Modified: 2022-11-19 22:21 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kde 2022-11-19 22:21:25 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Open dolphin as usual, the default created places (Home, Downloads, etc) work fine
2. Log out, log in as root, change/move the user's home directory (e.g. to go along with the process of changing username)
`usermod -d /home/newdir -m user`
3. Log in as the user again, open dolphin again, check places

OBSERVED RESULT
They still point to the prior home directory, and there's an error because that location doesn't exist

EXPECTED RESULT
Should follow the user's home directory ~ instead of needing to be manually updated. 
Could be argued that this is intended, that places thould not be smart and change where they point. But I feel clicking the untouched, default "Home" link should take you to what is your set home directory, not the home directory that was set when you first opened dolphin. 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux x86_64 (up-to-date as of 11/19)
(available in About System)
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
When changing username and home directory to match, all of Plasma handles it just fine as far as I can tell, except for the default places which just stay set to the old directory and each need to be changed manually.