Bug 175824 - Folder view defaults to Home not Desktop
Summary: Folder view defaults to Home not Desktop
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-folderview (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-22 04:02 UTC by Mike
Modified: 2009-01-08 20:21 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
plasma-appletsrc (4.86 KB, application/octet-stream)
2008-12-13 14:57 UTC, Mike
Details
screenshot (299.87 KB, image/png)
2008-12-13 18:38 UTC, Mike
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike 2008-11-22 04:02:46 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

The description for the Folder view says it defaults to the desktop folder but it actually defaults to the home directory here.
Comment 1 Aaron J. Seigo 2008-11-22 07:29:32 UTC
it defaults to the desktop folder only when used as a containment. we can't change the description at this point due to being in a string freeze.
Comment 2 Mike 2008-11-22 15:08:38 UTC
I do not have it loaded as a containment, it is a widget inside the standard desktop containment.
Comment 3 Sebastian Kügler 2008-12-13 02:04:54 UTC
What is your setting in System Settings | About Me | Paths | Desktop path?
Comment 4 Mike 2008-12-13 02:50:40 UTC
Its ~/Desktop
Comment 5 Anne-Marie Mahfouf 2008-12-13 09:07:32 UTC
Can you attach your plasma-appletsrc file file from your $KDEHOME for your current user please.

I suppose you double-checked on a new user as well and what kdebase revision number are you using please?
Comment 6 Mike 2008-12-13 14:57:55 UTC
Created attachment 29295 [details]
plasma-appletsrc

Here is the plasma-appletsrc file.  I haven't tried with a different user yet, but Ill have a go tomorrow.
Comment 7 Mike 2008-12-13 16:54:52 UTC
I get the same problem with another user, I am using revision 896464.
Comment 8 Anne-Marie Mahfouf 2008-12-13 17:27:14 UTC
I cannot reproduce. When I rm plasma-appletsrc and I start plasma I get desktop:/ in folderview and not $HOME

can you take a pic of your default desktop as the new user? Do you install kde svn trunk manually from KDE repository or using a distribution? 
Comment 9 Mike 2008-12-13 18:38:12 UTC
Created attachment 29298 [details]
screenshot

This shows 2 folderviews, the first one is the default one which lists Desktop, but the newly added one at the bottom shows Home.
Comment 10 Anne-Marie Mahfouf 2008-12-13 20:49:12 UTC
OK so in fact you at least explain your bug!!!  I'm glad we insisted so now we can understand the problem. I do wonder why you did not mention it was the SECOND folderview the problem! 
Aaron, what should the behavior be for added folderviews in Desktop containment? Always desktop:/ shown?
Comment 11 Aaron J. Seigo 2008-12-14 01:59:46 UTC
"Aaron, what should the behavior be for added folderviews in Desktop containment? Always desktop:/ shown?"

default to $HOME; desktop:/ is only used as a backwards compatibility compromise, namely in the case of the default folderview on first set up and when used as the Activity type.
Comment 12 Artur Souza (MoRpHeUz) 2008-12-16 04:56:35 UTC
SVN commit 897438 by asouza:

Make the correct check about the desktop folder considering
the "About me" setting and checking if the folder exists.

Also makes the applet default to $HOME when it's not a
containment. The config dialog shows only possible actions,
so it will not show the desktop radio button if the desktop
folder doesnt exist.

For 4.3 we need to change the description of the applet,
explaining that it will default to $HOME and not Desktop.

CCBUG:175824


 M  +20 -15    folderview.cpp  
 M  +0 -30     folderviewLocationConfig.ui  


WebSVN link: http://websvn.kde.org/?view=rev&revision=897438
Comment 13 Artur Souza (MoRpHeUz) 2009-01-08 20:21:37 UTC
SVN commit 907819 by asouza:

Fix folderview's description, that it defaults to $HOME and
not $HOME/Desktop

BUG:175824


 M  +1 -1      plasma-applet-folderview.desktop  


WebSVN link: http://websvn.kde.org/?view=rev&revision=907819