<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>365792</bug_id>
          
          <creation_ts>2016-07-17 18:57:05 +0000</creation_ts>
          <short_desc>Folder View widget cannot show hidden files, filters hide everything</short_desc>
          <delta_ts>2022-11-21 15:36:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Plasma</classification>
          <product>plasmashell</product>
          <component>Desktop icons &amp; Folder View widget</component>
          <version>5.5.5</version>
          <rep_platform>Gentoo Packages</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>1.0</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael">burnsmellfactory</reporter>
          <assigned_to name="Eike Hein">hein</assigned_to>
          <cc>burnsmellfactory</cc>
    
    <cc>nate</cc>
    
    <cc>notuxius</cc>
    
    <cc>plasma-bugs-null</cc>
    
    <cc>willyanto39</cc>
          
          <cf_commitlink>https://invent.kde.org/plasma/plasma-desktop/commit/244d9bec60b218f9a721bf18fa7ebc577da3c5dd</cf_commitlink>
          <cf_versionfixedin>5.27</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1608791</commentid>
    <comment_count>0</comment_count>
    <who name="Michael">burnsmellfactory</who>
    <bug_when>2016-07-17 18:57:05 +0000</bug_when>
    <thetext>The Folder View widget in my panel won&apos;t show hidden files.  There does not seem to be an explicit option to show them (I had such an option in the QuickAccess widget using Plasma 4).  When I tried to use the Filter feature, it would hide everything.

Reproducible: Always

Steps to Reproduce:
1. Add a Folder View widget to your panel, go to its Settings.
2. Specify a folder which contains hidden files or folders.
3. Note how there is no setting for showing hidden files/folders.
4. Go to the Filter section, select the &quot;Show Files Matching&quot; option, then set the pattern to this: .*
6. Hit OK.
7. Click on the Folder View widget&apos;s icon in the panel to open the listing.  No hidden files are shown.  In fact no contents are shown at all.
8. Go back to the Filter section of the settings and change the pattern to * and select all of the file types.  Hit OK.
9. Repeat step 7 -- still nothing.

Actual Results:  
When using the filters, no files/directories were shown.

Expected Results:  
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.  Instead nothing was shown at all.  I also do expect there to be a setting or some way to get hidden files to be shown.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1608792</commentid>
    <comment_count>1</comment_count>
    <who name="Michael">burnsmellfactory</who>
    <bug_when>2016-07-17 19:04:41 +0000</bug_when>
    <thetext>Also, not to be pedantic, but the option under Filter does say &quot;Show All Files&quot; and that is clearly not what is happening.  It should say &quot;Show All Visible Files&quot; or &quot;Show All Non-Hidden Files&quot;.

If an option were to be added to show hidden files, it would probably be okay to leave the filter option called &quot;Show All Files&quot; since the presence of an option for hidden files would imply that &quot;All&quot; does not actually mean all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1608849</commentid>
    <comment_count>2</comment_count>
    <who name="Eike Hein">hein</who>
    <bug_when>2016-07-18 10:49:53 +0000</bug_when>
    <thetext>&gt; 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&apos;s not regex.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1608889</commentid>
    <comment_count>3</comment_count>
    <who name="Michael">burnsmellfactory</who>
    <bug_when>2016-07-18 13:00:26 +0000</bug_when>
    <thetext>Yes I know, but my point is that it didn&apos;t even show hidden files.  And even if you set the filter to *, which should match all non-hidden files, nothing is shown.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1610244</commentid>
    <comment_count>4</comment_count>
    <who name="Eike Hein">hein</who>
    <bug_when>2016-07-24 17:54:57 +0000</bug_when>
    <thetext>Git commit f93e46bbb7849907c647f7e7dfc59c7fd3e3d09d by Eike Hein.
Committed on 24/07/2016 at 17:54.
Pushed by hein into branch &apos;Plasma/5.7&apos;.

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1716500</commentid>
    <comment_count>5</comment_count>
    <who name="Alexander Mentyu">notuxius</who>
    <bug_when>2017-12-13 17:16:11 +0000</bug_when>
    <thetext>in &apos;.*&apos; pattern - no files/folders are displayed,
in &apos;*&apos; pattern - all files/folders are displayed as in &apos;Show All Files&apos; 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1904987</commentid>
    <comment_count>6</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2020-01-23 18:47:22 +0000</bug_when>
    <thetext>Still reproducible in git master.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2007906</commentid>
    <comment_count>7</comment_count>
    <who name="Willyanto">willyanto39</who>
    <bug_when>2021-03-02 16:21:45 +0000</bug_when>
    <thetext>The reason why &apos;*&apos; pattern shows nothing is because &quot;Show Matching&quot; 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 &apos;*&apos; and the option &quot;inode/directory&quot; is checked, then it will show every non-hidden folders because every folders match the pattern and the selected type(s).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2009921</commentid>
    <comment_count>8</comment_count>
    <who name="Bug Janitor Service">bug-janitor</who>
    <bug_when>2021-03-08 13:16:48 +0000</bug_when>
    <thetext>A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/375</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2176043</commentid>
    <comment_count>9</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2022-11-21 15:36:55 +0000</bug_when>
    <thetext>Git commit 244d9bec60b218f9a721bf18fa7ebc577da3c5dd by Nate Graham, on behalf of Willyanto Willyanto.
Committed on 21/11/2022 at 15:36.
Pushed by ngraham into branch &apos;master&apos;.

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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>