Bug 191787 - Stop let dolphin reset folder tree view
Summary: Stop let dolphin reset folder tree view
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Gentoo Packages Linux
: NOR wishlist
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords: junior-jobs
: 222977 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-06 11:01 UTC by Oliver Maurhart
Modified: 2010-10-29 13:00 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Maurhart 2009-05-06 11:01:25 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    Gentoo Packages

I use dolphin regularly with folder tree view on the left and places just bellow. 

When browsing the folder tree up/down, dolphin starts to scroll left/right as well to some visual representation of the viewed area *it* thinks is a good one. This is the case, when the folders view extends the visible geometry of the widget.

This is really annoying, since I _did_ scrolled left/right to fit my needs, which in turn is soon afterwards kicked by dolphin's M$ like Intellisense, totally canceling my settings.

How can I turn this off?
Comment 1 Peter Penz 2009-05-06 11:24:02 UTC
Do you want to turn off only the left/right scrolling or also the top/down scrolling?
Comment 2 Oliver Maurhart 2009-05-06 11:31:23 UTC
It does not scroll top/down automatically, just left right.

E.g. I selected some folder right in the middle of the hierarchy, doesn't matter, somewhere. Then I just use the mouse wheel to scroll the tree up/down. However the total width of the folder tree widget must be smaller as the width needed for all the current expanded treeitems, so the horizontal scrollbar is visible.

Dolphin now starts to scroll left/right until the folder icon of the parent folder touches the left edge of the widget ... or the outmost visible folder ... or, huh, wait ... can't figure out which algorithm it uses.

I just want to stop this left/right self-inducted scrolling.
Comment 3 Peter Penz 2009-05-06 11:43:54 UTC
OK, I'll add a configuration for this in KDE 4.4 (it's too late already for KDE 4.3).
Comment 4 Oliver Maurhart 2009-05-06 11:51:08 UTC
Ah, thanx!
Comment 5 H.H. 2010-01-16 21:22:45 UTC
Did you forget providing the option for kde 4.4? or am I too blind to find it?
Comment 6 Peter Penz 2010-01-18 08:46:05 UTC
*** Bug 222977 has been marked as a duplicate of this bug. ***
Comment 7 Tanja Schulte 2010-10-24 14:17:13 UTC
This is a really annoying behaviour, the tree folders I want to see always slide out of my view, therefore I gave up on using it. Please add the option to don't slide left-right automatically and to stay at the position where the user wants to have it: default left aligned but when the user changes the horizontal tree position it should stay there. Jut no automation.
Comment 8 Peter Penz 2010-10-27 22:10:54 UTC
SVN commit 1190479 by ppenz:

- Allow to disable the automatic horizontal scrolling of the Folders Panel
- Remember the 'Show Hidden Files' setting
- Improve the autoscroll behavior
- Fix issue that expanding folders might not increase the horizontal width
- Fix issue that the selected item might get hidden by the horizontal scrollbar

BUG: 191787
FIXED-IN: 4.6.0
CCMAIL: datpeter@yahoo.com>


 M  +4 -0      dolphin_folderspanelsettings.kcfg  
 M  +37 -19    folderspanel.cpp  
 M  +5 -0      folderspanel.h  
 M  +13 -42    ktreeview.cpp  
 M  +0 -3      ktreeview_p.h  
 M  +16 -7     treeviewcontextmenu.cpp  
 M  +6 -0      treeviewcontextmenu.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1190479
Comment 9 Janet 2010-10-28 08:31:23 UTC
> Fix issue that expanding folders might not increase the horizontal width

Does this mean that the sidebar will now change its width without my will?
Comment 10 Peter Penz 2010-10-28 08:39:51 UTC
>> Fix issue that expanding folders might not increase the horizontal width
> Does this mean that the sidebar will now change its width without my will?

No, the width of the sidebar will stay. But there was a bug when opening sub-trees by the [+]/[-] expander: The labels of the subtrees where shortened to '...' as the width of the tree has not been increased in this case. The patch just assures that the width of the tree-widget is wide enough to be able to scroll left/right.
Comment 11 Janet 2010-10-28 09:31:01 UTC
Thanks for clarification :)
Comment 12 Peter Dat 2010-10-29 13:00:27 UTC
Many many thanks for this.