Bug 511892
Summary: | Make more use of xdg-user-dirs | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Oliver Henshaw <oliver.henshaw> |
Component: | kdelibs | Assignee: | Than Ngo <than> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | jgrulich, jreznik, kevin, rdieter, smparrish, than |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-02-12 16:36:04 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 705086 | ||
Bug Blocks: |
Description
Oliver Henshaw
2009-07-15 14:35:22 UTC
Hi Oliver! I'd like to see more usage of XDG user dirs in KDE. Actually I did some work on this topic. There's some support in Qt, I've reported some issue to them. Maybe it's time to resurrect this effort :D Or you can try to report it upstream. Well, the xdg directory for music should just be the default in the Amarok and Juk collections (if it isn't already), likewise pictures in Digikam. Maybe we can do something with video in Dragon Player and Kaffeine, though they don't have a concept of collection. What I find really annoying is Konqueror defaulting to Documents instead of Downloads when saving downloads, we probably need a code patch to fix that in Konqueror. There's definitely room for improvement here. KDE already knows about these directories thru the KGlobalSettings[1] class (eg. KGlobalSettings::downloadPath()). I'm sure upstream will gladly accept patches :) [1] http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKGlobalSettings.html Is setting: [Paths] Desktop[$e]=$(xdg-user-dir DESKTOP) Documents[$e]=$(xdg-user-dir DOCUMENTS) in kdeglobals still useful these days? I guess it still is for legacy KDE 3 apps, but for KDE 4 apps it seems to be just a useless process spawning. Thank you for taking the time to report this issue. This is an issue that needs to be addressed by the upstream developers. Please report this at http://bugs.kde.org and then add the upstream report information to this report. We will monitor the upstream report for a resolution to this issue, and will review any bug fixes that become available for consideration in future updates. Setting status to NEEDINFO, and awaiting upstream bug report URL for tracking. Thanks in advance. -- Steven M. Parrish - KDE Triage Master - PackageKit Triager Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers I've filed a few upstream bugs about more/better use of xdg-user-dirs, which I've linked to this one. I haven't filed a bug for: * possible improvements in the base Qt/KDE implementation of xdg-user-dirs (I'm not sure what they would be, apart from perhaps choosing appropriate icons as I mentioned in the places sidebar bug. Perhaps I'll see some when I move to kde 4.3, which, from lxr searches, looks like it exposes the directories in System Settings -> About Me -> Paths) * konqueror downloading to Documents instead of Downloads (not a regular konqueror user) * whether $(xdg-user-dir DESKTOP) and $(xdg-user-dir DOCUMENTS) still need to be in kdeglobals (since I think these are fedora-specific settings) > * konqueror downloading to Documents instead of Downloads > (not a regular konqueror user) To me this looks like the most important issue to fix. I'm going to file an upstream bug for that if I can't find one already filed. > * whether $(xdg-user-dir DESKTOP) and $(xdg-user-dir DOCUMENTS) still need to > be in kdeglobals (since I think these are fedora-specific settings) Right, these are Fedora-specific settings (in kde-settings). As I said, I think they're unnecessary for current KDE 4 (because those dirs should be the default anyway), though kdelibs3 apps might still need them. https://bugs.kde.org/show_bug.cgi?id=203495 filed for the Konqueror Downloads issue. (In reply to comment #8) > https://bugs.kde.org/show_bug.cgi?id=203495 filed for the Konqueror Downloads > issue. I filled Qt issue for this - reply was, that there's no need for common downloads directory as every application is using different one. The support guy was Mac user so I've explained to him that in Linux world we use that one ;-) Maybe now, while the development is more open they would accept my patch... Going to leave this open for the moment as a reminder for jreznik to keep pounding on the upstream folks. -- Steven M. Parrish - KDE Triage Master - PackageKit Triager Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers To give us more time to resolve this going to rebase it to rawhide. -- Steven M. Parrish - KDE Triage Master - PackageKit Triager Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers kde4 feature development is closed in general, so it's probably as good as it's going to get by now. |