Comment 6 for bug 451474

Revision history for this message
Omegamormegil (omegamormegil) wrote : Re: Right click > Create Document option no longer lists docs from my Templates folder

I figured out what is going on. My Templates folder is on removable media which fstab mounts automatically. When I boot and the media is removed, xdg-user-dirs-update runs and is moving the path from ~/Templates to ~ when it sees that the folder is missing. To fix the problem, I had to manually edit .config/user-dirs.dirs to correct the path to the templates folder.

I don't see any reason for xdg-user-dirs-update to change the path just because the folder is temporarily missing or moved. The expected behavior would be that moving the Templates folder would break the right click > Create Document functionality, and moving it back would fix the problem, but after xdg-user-dirs-update runs (every boot) the functionality is broken permanently which is very confusing to the user.