Bug 387657 - Folders panel does not auto scroll vertically
Summary: Folders panel does not auto scroll vertically
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: panels: folders (other bugs)
Version First Reported In: 17.08.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-07 03:50 UTC by Albert
Modified: 2018-01-12 00:49 UTC (History)
8 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert 2017-12-07 03:50:33 UTC
Dolphin is no longer auto scrolling/expanding on dirs outside $HOME

per https://github.com/KDE/dolphin/blob/f024c3c01f1d80cb5972cca8043188daacce72e5/src/panels/folders/folderspanel.cpp
 FoldersPanelSettings::setLimitFoldersPanelToHome(enable);
is by default set to enable, causing auto scroll/expand to only work in the home dir (and the folders panel to only show homedir and child dirs)

if I edit .config/dolphinrc to include "LimitFoldersPanelToHome" to "false" and "AutoScrolling=true", in theory it should allow scrolling to occur at all times (and the folder panel should show the whole tree and expand accordingly).  Instead, it shows a collapsed tree of all dirs, but no auto-expand/auto-scrolling occurs, and I have to manually double click the dirs in the folder panel to open the branch, and then manually navigate on the folder pane, doubleclicking to expand, to see it.  Clicking any child folder on the main view does not expand or scroll the folder panel, it stays collapsed.

I downloaded and built dolphin from git (package dolphin-git in aur, built version is dolphin-git-r5286.504545c59-1-x86_64.pkg.tar.xz) and issue remains.  in versions 17.08.x no autoscrolling occurs at all, even in the home dir.  Version 18.03.70 (git) at least allows autoscrolling to occur at the home dir per default.

plasma/kde at 5.11/17.08.3, dolphin at both 17.08.3 and 18.03.70 (git)

relevant section in dolphinrc:

this causes no scrolling to occur at all:

 [FoldersPanel]
 AutoScrolling=true
 HiddenFilesShown=true
 LimitFoldersPanelToHome=false

leaving it at
 [FoldersPanel]
 HiddenFilesShown=true

causes default behavior (only homedir is expanded/scrolled) but outside homedir, no expansion/scrolling
Comment 1 Albert 2017-12-07 03:52:40 UTC
on a related note, is it possible to add gui configuration for the panel(s)? the only way to change these settings seems to be through .config/dolphinrc
Comment 2 Leonidas Arvanitis 2017-12-08 10:25:52 UTC
I can also confirm this in Arch Linux (extra/dolphin 17.08.3-1).

Extremely annoying.
Comment 3 Albert 2017-12-10 15:14:35 UTC
related notes:

the option to enable/disable LimitFoldersPanelToHome *should* be in the settings -> general -> behavior section, but is not

if LimitFoldersPanelToHome is enabled in dolphinrc (or as default), right clicking on folder panel shows the option enabled.  disabling it there, causes the behavior shown in the original comment (no scrolling/expanding), and the option disappears from the right click menu.  I then need to go back to dolphinrc (after closing dolphin) and reenable it there.

I see on the sources 
 src/panels/folders/treeviewcontextmenu.cpp
 src/panels/folders/folderspanel.cpp
 src/panels/folders/dolphin_folderspanelsettings.kcfg

that the option should exist but it doesnt

ref the original commit for the "only show treeview in home" commit:
 https://github.com/KDE/dolphin/commit/94fab8c80ed60958043d13145aaf4c54412e052f
Comment 4 zaqanidk 2017-12-11 20:46:42 UTC
I can confirm the same. Very annoying.
Arch Linux.
Comment 5 pawel.wabno 2017-12-11 22:56:37 UTC
I can confirm the same issue with Dolphin 17.08.3 on ArchLinux.
Comment 6 josip ponjavić 2017-12-19 03:58:05 UTC
Also in Dolphin 17.12.0 on Archlinux.
Comment 7 Albert 2018-01-12 00:49:37 UTC
seems fixed in 17.12.1