Bug 150941 - dolphin tree view changes bases folder when entering a "place"
Summary: dolphin tree view changes bases folder when entering a "place"
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-17 17:11 UTC by Verena Ruff
Modified: 2008-01-18 21:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Verena Ruff 2007-10-17 17:11:22 UTC
Version:            (using KDE KDE 3.94.0)
Installed from:    SuSE RPMs
OS:                Linux

When I navigate in the main area of dolphin into a folder which is a "place" (meaning it is listed in the places sidebar), the base folder of the tree view changes to that folder. 

For example, the current dir is / in the main area and the tree view. Now I click on home, then on $username, the base dir in the tree view changes to my home directory. This makes it impossible to drag a file stored in my home dir and drag it on /tmp to copy or move it.

It would be nice having a "sticky" checkbox on the tree view. If this is set, then the base dir doesn't change.
Comment 1 Jason W 2007-12-11 21:37:48 UTC
I noticed this myself and fell it is unexpected and annoying.  Of course without a sidebar such as Konqueror has to quickly change which folder is used as the root folder in the treeview, I wouldn't know how to change the root manually.  

It needs to not change automatically, and there needs to be a way to change it manually.
Comment 2 Mamonetti 2007-12-24 14:09:47 UTC
So what Verena is looking for maybe is exactly some replacement for this feature, that is, once dolphin doesn't have a sidebar like the one at konqueror it would be interesting that by default when you go to a folder dolphin itself would select the right root folder in the treeview, according to the places config.
Of course each "place" would have more priority as much closer to the folder that it would be, that is, if you have a placeA for "/" and a placeB for "/home/user" then going to /home/user/images would establish "/home/user" (aka placeB) as default root view.

Furthermore there would be a pair of options that could be established at the config:
- Autoset treeview on place select [Y|N]
- Autochange treeview when navigating trough folders [Y|N]

What do you think?

(According to the wish of Verena this second one may be easy to change, so it would maybe appear as a checkbox (i don't like that) or even better, as a menu option, so anyone could set a keyboard shortcout for it, and of course it would be needed some kind of "symbol" at the status bar showing the status of this property)

Regards
Comment 3 Mamonetti 2007-12-24 15:19:55 UTC
- Autoset treeview on place select [Y|N]
    I mean, autoset the folder of a place as root of treeview on place select
- Autochange treeview when navigating trough folders [Y|N] 
    I mean, autoset the closest folder of the set of places as root of the treeview when you are navigating

Appart from that there's some time since the last time i tried a kde4 rcX livecd and i don't know what's the current situation, but:
what happens with the treeview when you change from one view to the other (left to right, for example)? is dolphin controlling this and also keeps a history of the treeview separately for each view? (that would be the right way imho, so each time you change the active view the treeview is also updated)

Regards
Comment 4 H.H. 2008-01-18 19:20:07 UTC
This is really annoying. I don't think, any user would expect such a behaviour.

I like to have the folder-view display with the root-directory as it's base. I cannot work, when dolphin's folder-view switches constantly to another base-directory.

I don't even think, that this should be configurable. What would be the use of the current behaviour? 

I also miss the small places-sidebar of konqueror, to switch the folderview, it is no alternative to display folders and places in top of each other, because folder-view need much vertical space.
Comment 5 Peter Penz 2008-01-18 19:34:12 UTC
> I don't even think, that this should be configurable.
> What would be the use of the current behaviour?

This is a good question, where I don't have an answer. Initially I thought that users that are not familiar with the Linux file structure might be confused by having "strange directories" inside the treeview, but I added the treeview anyhow because  of the request of more advanced users.

-> I'll change this showing always the root of an URL without any configuration
Comment 6 Peter Penz 2008-01-18 21:08:43 UTC
SVN commit 763171 by ppenz:

* Always take the root of an URL as root for the treeview (using a matching Places-URL leads to serious usability issues - see bug #150941 for details).

* Don't reset the horizontal scrollbar position when expanding/reloading the tree.

BUG: 150941 

 M  +17 -14    treeviewsidebarpage.cpp  
 M  +1 -1      treeviewsidebarpage.h  


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