Created attachment 132641 [details] A simple exemple of dolphin missing some files in my /home. In this example, it just found .bash_history file, but actually there is .bash_logout and .bashrc in the directory. SUMMARY I've been using plasma for about 3 weeks and sometimes i needed to find configuration files in my /home directory. I know that configuration files are usually hidden so i have already changed my search options in the system settings to it index hidden files and my dolphin is configured to show hidden files as well. When i search for some configuration files, dolphin simply can't find a great part of them, even if the files in fact exist in /home/USER folder or in sub-directories of it. In fact it can find usually one or two files with the name i asked, but it simply don't show all the possible files. In some folders, Dolphin can't find a thing, like in .cache folder, .config, etc. I obviously tried to click in another option in the results, like "File name", "Content"... But it doesn't works. I'm using KDE Neon Unstable edition in wayland session, with BTRFS file system installed. STEPS TO REPRODUCE 1. Change your indexing settings to the system be able find hidden files. Press ctrl + H (or alt + .) in Dolphin as well. 2. Search for some hidden file (the bug happens usually searching for a file/folder located inside .config, .dbus, .kde .cache... directories) 3. After following the steps, i think you probably will not be able find a several files OBSERVED RESULT Dolphin don't have success to find many files, may you can find a small set of them, but the results section will miss a lot. EXPECTED RESULT Show every possible file with the name i put in the search box, including files located inside hidden folders. SOFTWARE/OS VERSIONS Linux/KDE Plasma Linux: Kernel 5.4.0-52-generic KDE Plasma Version: 5.20.80 KDE Frameworks Version: 5.76.0 Qt Version: 5.15.0
``` ~ > balooshow files ~/.bashrc files: Not a valid url or document id /home/justin/.bashrc: No index information found ~ > balooshow files ~/.bash_history files: Not a valid url or document id /home/justin/.bash_history: No index information found ~ > balooshow files ~/.bash_logout files: Not a valid url or document id /home/justin/.bash_logout: No index information found ~ > balooctl config ls hidden yes ~ > balooctl failed All Files were indexed successfully ``` Looks like baloo is refusing to index them for some reason.
They aren't being indexed because they're hidden files, and the Baloo file indexing system doesn't index hidden files by default. You can make it do so in System Settings > Search >File Search > Check "Index hidden files and folders"
(In reply to Nate Graham from comment #2) > They aren't being indexed because they're hidden files, and the Baloo file > indexing system doesn't index hidden files by default. > > You can make it do so in System Settings > Search >File Search > Check > "Index hidden files and folders" If you check our comments we've both got Index hidden files set to on.
Oh darn. Well if Baloo still can't find them even with the command-line tool, it's baloo's fault. not Dolphin's. Moving.
Edit: I've just installed KDE Neon User edition and the bug happens here as well.
Any progress on this?
Where talking about files in hidden folders, see Bug 431588
Looking at this With Neon Testing... Dolphin : 20.12.3 Plasma : 5.21.3 Frameworks : 5.81.0 Qt : 5.15.2 Make sure baloo is running and indexing the home directory, set 'index hidden files', check balooshow: balooshow -x ~/.bash_logout Internal Info Terms: $ 1 = Mplain Mtext T5 T8 X20-7 bash bin by clear console executed exits fi if increase leaving login logout privacy q screen shell shlvl the then to usr when x ~ File Name Terms: Fbash Flogout XAttr Terms: lineCount: 7 Try: baloosearch .bash and check that Dolphin is showing hidden file and search there as well. That "works for me..." However... With the baloo settings as per Fedora that index the XDG folders and not the home directory: folders[$e]=$HOME/Documents/,$HOME/Music/,$HOME/Pictures/,$HOME/Videos/ If you search from 'Home' in Dolphin, it won't be baloo that gives you the results. In this instance I do not see the .bash files. Dolphin's "fall back" search seemingly does not find hidden files
(In reply to tagwerk19 from comment #8) > Looking at this With Neon Testing... > > Dolphin : 20.12.3 > Plasma : 5.21.3 > Frameworks : 5.81.0 > Qt : 5.15.2 > > Make sure baloo is running and indexing the home directory, set 'index > hidden files', check balooshow: > > balooshow -x ~/.bash_logout > > Internal Info > Terms: $ 1 = Mplain Mtext T5 T8 X20-7 bash bin by clear console > executed exits fi if increase leaving login logout privacy q screen > shell shlvl the then to usr when x ~ > File Name Terms: Fbash Flogout > XAttr Terms: > lineCount: 7 > > Try: > > baloosearch .bash > > and check that Dolphin is showing hidden file and search there as well. That > "works for me..." > > However... > > With the baloo settings as per Fedora that index the XDG folders and not the > home directory: > > folders[$e]=$HOME/Documents/,$HOME/Music/,$HOME/Pictures/,$HOME/Videos/ > > If you search from 'Home' in Dolphin, it won't be baloo that gives you the > results. In this instance I do not see the .bash files. Dolphin's "fall > back" search seemingly does not find hidden files In fresh fedora kde 34 installation there is $HOME in balloo folder to index.
(In reply to soredake from comment #9) > In fresh fedora kde 34 installation there is $HOME in balloo folder to index. What I see is... for a new user on a recently installed F34 To start with .config/baloofilerc does not include any exclude folders[$e] folders[$e] the lines are not there. If I create a file in the home directory, it's not picked up by baloo. In the System Settings -> Search, I see Home excluded and Documents, Music, Pictures and Videos included and with a change to these, the baloofilerc is updated. I'm guessing there is a default baloo configuration somewhere else... interesting that we see different behaviours.
Until early 2021, indexing of hidden files was broken for several cases. If you still see errors on a current system, it is likely something else and should be reported in a different bug report. Last time I checked Fedora patched the default configuration code of Baloo. So if this happens with a stock Fedora installation and can be fixed with reconfiguration, blame them.
I see this bug is still open... ... Is it still a bug? For me, with Neon User and having index hidden files set, baloosearch .bash finds the four .bashxxxx files
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!