Bug 201072 - Documents path used incorrectly in multiple places
Summary: Documents path used incorrectly in multiple places
Status: RESOLVED DUPLICATE of bug 183534
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdecore (show other bugs)
Version: unspecified
Platform: Debian testing Unspecified
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 230310 282735 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-22 09:01 UTC by Georg Wittenburg
Modified: 2012-10-06 13:53 UTC (History)
14 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
little bash script that will show up the bug (349 bytes, application/octet-stream)
2012-06-30 13:50 UTC, FabiB
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Georg Wittenburg 2009-07-22 09:01:02 UTC
Version:            (using KDE 4.2.96)
Installed from:    Debian testing/unstable Packages

The documents path as set in the "About Me / Paths" configuration dialog of the system settings is used incorrectly in several places:

1) It's used as Dolphin start-up folder (when started from KMenu); I'd exect it to use the Home-folder as set in the Dolphin configuration dialog.

2) It's used by Plasma: Hit Alt+F2 to bring up the run dialog, enter something like "pwd > somefile", and you'll get somefile in your documents path containind the documents path as a string; I'd expect the current working directory of the desktop shell to be simple $HOME.

Now, I'm not sure whether this is the applications' (Dolphin, Plasma) fault, or whether $HOME is overwritten somewhen during initialization. Please re-assign this bug as you feel appropriate.

Thanks,
   Georg
Comment 1 Georg Wittenburg 2010-03-07 08:43:13 UTC
Still present in 4.4.1.
Comment 2 Christoph Feck 2010-03-11 19:09:56 UTC
*** Bug 230310 has been marked as a duplicate of this bug. ***
Comment 3 Lawrence 2010-03-12 15:45:12 UTC
Anyone reading this should also read Bug 230310 because together they show the problem is a general one. I've also reported this to Fedora 12 bugzilla.

Why does Status still say UNCONFIRMED, 8 months after original report?
Comment 4 lars.koraeus 2010-04-10 08:53:23 UTC
This bug is more severe than just NORMAL

This makes it impossible to umount/mount a Documents directory.
The work around now is to set the Documents paths to $HOME.
Cannot see that any application jet use this path.

What is UNCONFIRMED

This must be the most obvious flaw and is easy to check and understand the implication of.
Comment 5 Michael Schuster 2010-04-16 10:14:04 UTC
I'm seeing this in 4.4.2 on Solaris as well - I agree w. Lars that this should be treated as a serious problem, if not a regression.
Comment 6 Arrigo Marchiori 2010-11-07 23:44:39 UTC
This bug is present in the KDE version 4.4.2, that is currently shipped with Kubuntu 10.04 LTS
Comment 7 Philipp A. 2011-04-10 18:59:41 UTC
still there on kde 4.6.2

the documents folder should be default *only* for office applications, not for anything else.
Comment 8 Gary L. Greene, Jr. 2011-04-10 22:32:17 UTC
This seems to be more a personal taste case than a bug, really. Case and point, it's my opinion that most applications that generate content should point their directory to ~/Documents, not ~/, so this default makes sense.

With your case of 'cat /some/random/file > bar', again, this makes a certain level of sense, as many apps do not properly adjust to the Documents setting.

The only use-case which bothers me is when I'm downloading stuff via Konqueror, I'd really prefer if it put stuff by default in ~/Downloads, instead of my ~/Documents directories.
Comment 9 Philipp A. 2011-04-11 15:09:46 UTC
no, not really. AFAIK a „document“ is a spreadsheed, a text document (.odf/.doc), a presentation, a .tex file, a pdf file, a HTML file …

Kile, KOffice, Okular, Quanta+ … should default to ~/Documents. (And the browsers for opening files)

KTorrent, KGet, … should default to ~/Downloads. (And the browsers for downloads)

Kaffeine and Dragon Player should default to ~/Videos.

Kate and Dolphin should default to ~, since they are general purpose tools.
Comment 10 Christoph Feck 2011-09-25 23:47:50 UTC
*** Bug 282735 has been marked as a duplicate of this bug. ***
Comment 11 FabiB 2011-10-04 11:08:18 UTC
not fixed in 4.7 and 4.8dev :(
Comment 12 FabiB 2012-06-30 13:50:30 UTC
Created attachment 72237 [details]
little bash script that will show up the bug

still there in 4.9 Beta

Open a terminal > you will land in your documents dir, set in your kde settings, not $HOME this will cause a fail if you want to run some bash script via click in dolphin

there is a little bash script that will show the bug via a kdialog. there is no "path to home directory" in kde. all applications use the documents path
Comment 13 Philipp A. 2012-07-01 09:26:24 UTC
well, you can have that easier:

    kdialog --msgbox "You are in $PWD"
Comment 14 revinary 2012-10-04 17:02:18 UTC
I'm using KDE 4.9.2 on Arch 64 and the Bug is still present.
Applications started from krunner or via Desktop file created using the Startup & Shutdown kcm module default to ~/Documents.
This is particulary annoying for file managers and terminal emulators.

Also, I don't really see the significance of the Documents folder - it seems random.
Comment 15 Jekyll Wu 2012-10-06 13:53:57 UTC

*** This bug has been marked as a duplicate of bug 183534 ***