Summary: | Folder View widget cannot show hidden files, filters hide everything | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Michael <burnsmellfactory> |
Component: | Folder | Assignee: | Eike Hein <hein> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | burnsmellfactory, nate, notuxius, plasma-bugs, willyanto39 |
Priority: | NOR | ||
Version: | 5.5.5 | ||
Target Milestone: | 1.0 | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/commit/244d9bec60b218f9a721bf18fa7ebc577da3c5dd | Version Fixed In: | 5.27 |
Sentry Crash Report: |
Description
Michael
2016-07-17 18:57:05 UTC
Also, not to be pedantic, but the option under Filter does say "Show All Files" and that is clearly not what is happening. It should say "Show All Visible Files" or "Show All Non-Hidden Files". If an option were to be added to show hidden files, it would probably be okay to leave the filter option called "Show All Files" since the presence of an option for hidden files would imply that "All" does not actually mean all. > Even if there is some hidden feature/bug which is hiding hidden files, I would still expect non-hidden files matching the pattern to be shown.
How can there be non-hidden files matching .*? (It's not regex.)
Yes I know, but my point is that it didn't even show hidden files. And even if you set the filter to *, which should match all non-hidden files, nothing is shown. Git commit f93e46bbb7849907c647f7e7dfc59c7fd3e3d09d by Eike Hein. Committed on 24/07/2016 at 17:54. Pushed by hein into branch 'Plasma/5.7'. Fix changes of the filter pattern not being applied immediately. Adds missing invalidateFilter call to prop setter. M +2 -0 containments/desktop/plugins/folder/foldermodel.cpp http://commits.kde.org/plasma-desktop/f93e46bbb7849907c647f7e7dfc59c7fd3e3d09d in '.*' pattern - no files/folders are displayed, in '*' pattern - all files/folders are displayed as in 'Show All Files' selection: Distribution: KDE neon Developer Edition - Unstable Branches Plasma: 5.11.90 Frameworks: 5.42.0 Qt: 5.9.3 Kernel 4.10.0-42-generic Netrunner Rolling Plasma: 5.11.4 Apps: 17.08.3 Frameworks: 5.40.0 Qt: 5.9.3 Kernel: 4.14.3-1-MANJARO Still reproducible in git master. The reason why '*' pattern shows nothing is because "Show Matching" option checks for file/folder name and selected type(s) in the checkbox. By default, none of the type options are checked. This causes nothing to be shown as every files/folders are not matching the selected type(s) despite matching name. For example if the pattern is '*' and the option "inode/directory" is checked, then it will show every non-hidden folders because every folders match the pattern and the selected type(s). A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/375 Git commit 244d9bec60b218f9a721bf18fa7ebc577da3c5dd by Nate Graham, on behalf of Willyanto Willyanto. Committed on 21/11/2022 at 15:36. Pushed by ngraham into branch 'master'. Folder View: Add option to show hidden files FIXED-IN: 5.27 M +4 -0 containments/desktop/package/contents/config/main.xml M +6 -0 containments/desktop/package/contents/ui/ConfigFilter.qml M +1 -0 containments/desktop/package/contents/ui/FolderView.qml M +1 -0 containments/desktop/package/contents/ui/FolderViewLayer.qml M +25 -2 containments/desktop/plugins/folder/autotests/foldermodeltest.cpp M +1 -0 containments/desktop/plugins/folder/autotests/foldermodeltest.h M +17 -0 containments/desktop/plugins/folder/foldermodel.cpp M +6 -0 containments/desktop/plugins/folder/foldermodel.h https://invent.kde.org/plasma/plasma-desktop/commit/244d9bec60b218f9a721bf18fa7ebc577da3c5dd |