Summary: | Updating plasma to 5.22 deleted my Downloads folder, and created a new, empty one in my language | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | vakondvilmos |
Component: | kcm_desktoppath | Assignee: | Plasma Bugs List <plasma-bugs-null> |
Status: | RESOLVED WORKSFORME | ||
Severity: | critical | CC: | kde, meven.car, meven29, nate, plasma-bugs-null |
Priority: | VHI | Keywords: | regression |
Version First Reported In: | 5.22.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
vakondvilmos
2021-06-12 06:55:03 UTC
Jesus. Męven, can you investigate? I suspect this is related to the localized XDG dirs stuff you worked on. I mean Méven, of course. :) (In reply to Nate Graham from comment #1) > Jesus. > > Męven, can you investigate? I suspect this is related to the localized XDG > dirs stuff you worked on. The part where now default paths are translated in the kcm desktoppaths is due to https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/252/diffs but not the rest. > The update not only changed the names of my home dir folders, but deleted my Downloads folder completely I suspect this is not be due to KDE software, but xdg-utils or Archlinux scripts. I don't think we have any code that would delete or even move a xdg-desktoppaths, we rely on `xdg-user-dirs-update` for this. > I mean Méven, of course. :) No worries if you don't include the accent in my first-name, it is not even on your keyboard. > I even tried manually changing user-dirs.locale to en_US Well if the local in user-dirs.locale does not match your current local, it means the file is outdated (and user-dirs.dirs) and should be ignored, it is what happens in your case. Removing `user-dirs.dirs` and `user-dirs.locale` and running `xdg-user-dirs-update` will recreate the dirs based on your local the same way. What you want is to keep user-dirs.locale to your local, hu_HU, and edit the values in user-dirs.dirs either using xdg-user-dirs-update or the kcm desktoppaths: xdg-user-dirs-update --set DOWNLOAD $HOME/Downloads (then relaunch systemsettings to have it take into account in the KCM). > I was not able to reproduce the bug with xdg-user-dirs-update What did you do exactly to say that ? >I don't think we have any code that would delete or even move a xdg-desktoppaths, we rely on `xdg-user-dirs-update` for this. We do not (we used to aaages ago but it was removed) Reporter also mentions this happening after upgrade, changes to a KCM won't be relevant unless the KCM is run. It's worth mentioning Arch has a bug in xdg-user-dirs. Downstream they've created a systemd unit file that runs /really/ early in the user boot process, before locale has been set regardless of which plasma mode is used. I don't know how that could ever work properly (found from an offtopic discussion at https://github.com/systemd/systemd/issues/18791#issuecomment-788930477). I don't think we can do much as Plasma until something is proved otherwise. (In reply to Méven Car from comment #3) > (In reply to Nate Graham from comment #1) > > Jesus. > > > > Męven, can you investigate? I suspect this is related to the localized XDG > > dirs stuff you worked on. > > The part where now default paths are translated in the kcm desktoppaths is > due to > https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/252/diffs but > not the rest. > > > The update not only changed the names of my home dir folders, but deleted my Downloads folder completely > > I suspect this is not be due to KDE software, but xdg-utils or Archlinux > scripts. > I don't think we have any code that would delete or even move a > xdg-desktoppaths, we rely on `xdg-user-dirs-update` for this. > > > I mean Méven, of course. :) > No worries if you don't include the accent in my first-name, it is not even > on your keyboard. > > > I even tried manually changing user-dirs.locale to en_US > > Well if the local in user-dirs.locale does not match your current local, it > means the file is outdated (and user-dirs.dirs) and should be ignored, it is > what happens in your case. > > Removing `user-dirs.dirs` and `user-dirs.locale` and running > `xdg-user-dirs-update` will recreate the dirs based on your local the same > way. > > What you want is to keep user-dirs.locale to your local, hu_HU, and edit the > values in user-dirs.dirs either using xdg-user-dirs-update or the kcm > desktoppaths: > > xdg-user-dirs-update --set DOWNLOAD $HOME/Downloads (then relaunch > systemsettings to have it take into account in the KCM). > > > I was not able to reproduce the bug with xdg-user-dirs-update > > What did you do exactly to say that ? Now that you clarified how the locale setting which I changed does not have any effect, what I did wouldn't be able to reproduce the bug anyway, so it might be reproducible by properly changing back the locale, running xdg-user-dirs-update, changing the locale again, and re-running it. But I think it is clear at this point that I don't have nearly enough knowledge to help you. I set back everything to hungarian, so another update won't do any harm hopefully. Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! Ok, I'm sorry for your files, but I'm afraid we can't do much at this point. We've done a check our side, we can't find anything that points to KDE. If you can make a reproducible case in a VM we can investigate again, but at this point leaving this open won't help |