Steps to reproduce. 1- open dolphin. 2- under 'Search For' on the left, lick on "Images". 3- Click on the close button 'quit searching'. notice the error about invalid protocol. this is dolphin from git. Reproducible: Always
Created attachment 93084 [details] screenshot Added a screenshot.
By the way, as noted in the screenshot, search itself works. I am using baloo 5.3.1 release. Does dolphin require the post 5.3.1 git version?
Typing search:/ in dolphin's address bar also results in 'invalid protocol' so I guess this is the cause of the error. Any ideas? Thank you.
Same issue in kf5 5.14 / kde 15.08 / plasma 5.4.1
(In reply to Hussam Al-Tayeb from comment #3) > Typing search:/ in dolphin's address bar also results in 'invalid protocol' > so I guess this is the cause of the error. > Any ideas? > Thank you. Please try baloosearch:/ (Baloo package) or filenamesearch:/ (kio-extras package)
On Monday, September 14, 2015 7:32:29 PM EEST you wrote: > https://bugs.kde.org/show_bug.cgi?id=348902 > > Emmanuel Pescosta <emmanuelpescosta099@gmail.com> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > CC| |emmanuelpescosta099@gmail.c > | |om > > --- Comment #5 from Emmanuel Pescosta <emmanuelpescosta099@gmail.com> --- > (In reply to Hussam Al-Tayeb from comment #3) > > > Typing search:/ in dolphin's address bar also results in 'invalid > > protocol' > > so I guess this is the cause of the error. > > Any ideas? > > Thank you. > > Please try baloosearch:/ (Baloo package) or filenamesearch:/ (kio-extras > package) - Clicking the search button in the toolbar makes the window title "baloosearch - / - Dolphin" and search works there (I can find a file.ods) - if I manually type baloosearch:/ in location bar, search is broken but clicking x does not result in a protocol error. - If I manually type filenamesearch:/ in location bar, search is broken but clicking X does not result in protocol error. Now if I click on 'Documents' under 'Search for', it shows the indexed documents but adding adding a search query to narrow down seems broken. Then clicking X results in 'invalid protocol'. In all the above cases, "search is broken" means it says searching in the status bar forever and never finds anything (possibly cannot connect to baloo?). Seems complicated...
One more thing. if I 'baloo stop' and then restart dolphin and press on "Documents" under "Search for", it still lists the indexed document files.
Created attachment 94602 [details] search Options are grayed out if start search from the sidebar. The same options work if I search by pressing 'search' button in toolbar.
QFileInfo::absolutePath: Constructed with empty filename QFileInfo::absolutePath: Constructed with empty filename kf5.kio.core: KLocalSocket(0x237a340) Jumbo packet of 33168 bytes "Trying to convert empty KLocalizedString to QString." This appears in terminal when I click on "Documents" and then "Images".
*** Bug 351235 has been marked as a duplicate of this bug. ***
Just to remove any confusion, baloo is actually enabled when this bug happens and search works in kickoff and baloo command line tools.
Confirming this for openSUSE Tumbleweed, Baloo 5.14.0. The problem is not just for images; You get an "Invalid protocol" error for any search you attempt to make in Dolphin, if it's in a location that Baloo is allowed to index. Some people suggested that you need to let Baloo finish indexing everything first, and that this happens because it hasn't processed the directory yet. This doesn't however seem to be the case either! On my laptop I left Baloo running overnight, and it didn't seem to do any more work the next morning. I then restarted the machine and attempted to search in various directories... the error was always present in each one. I permanently disabled Baloo once more after yet another major disappointment with it.
Using ctrl+f to search works for me. Using the links in the left pane works for the "Recently saved" entries, but not for the "Search for" entries. Could someone compare what ctrl+f does differently from the "Search for" links? I think those are just shortcuts for "baloosearch:/" and "filenamesearch:/" - maybe those are just invalid because of a change in the KIO slave? Also, I think bug 351549 is a duplicate.
Git commit ed3bb94ea095e3ba3e3b96584d817899121e1653 by Weng Xuetian. Committed on 19/11/2015 at 17:40. Pushed by xuetianweng into branch 'master'. Fix search in places panel. addType("File") will create a invalid query for baloo. Currently seems there is no replacement for it, so just remove it. REVIEW: 126109 FIXED-IN: 15.12 M +0 -1 src/panels/places/placesitemmodel.cpp http://commits.kde.org/dolphin/ed3bb94ea095e3ba3e3b96584d817899121e1653
How can we force the reopening of this bug? It is Not Fixed. It is not resolved. Search (find) in Dolphin does not work in any scenario. Click Find (or Ctrl F) Select Content button, (and either From Here or Everywhere button - makes no difference) Type in a word that you know exists in a file in your own directory No results. Manjaro (arch) Linux KDE Frameworks 5.17.0 Qt 5.5.1 (built against 5.5.1) The xcb windowing system
(In reply to John Andersen from comment #15) > How can we force the reopening of this bug? It is Not Fixed. It is not > resolved. > Search (find) in Dolphin does not work in any scenario. > > Click Find (or Ctrl F) > Select Content button, (and either From Here or Everywhere button - makes no > difference) > Type in a word that you know exists in a file in your own directory > No results. > What kde applications version? 15.12?
I assume an admin needs to confirm first, then set the bug back to open. Not surprised if this is still the case... Baloo has always been the black sheep of KDE (at least for me) because of how many issues of various types it keeps on doing, even after everyone says "it works well now".
(In reply to Hussam Al-Tayeb from comment #16) > (In reply to John Andersen from comment #15) > > How can we force the reopening of this bug? It is Not Fixed. It is not > > resolved. > > Search (find) in Dolphin does not work in any scenario. > > > > Click Find (or Ctrl F) > > Select Content button, (and either From Here or Everywhere button - makes no > > difference) > > Type in a word that you know exists in a file in your own directory > > No results. > > > What kde applications version? 15.12? balooctl reports version 5.17 Baloo refuses to index plaintext documents.
(In reply to John Andersen from comment #18) > balooctl reports version 5.17 > > Baloo refuses to index plaintext documents. Baloo is part of frameworks. This is supposed to be fixed in applications 15.12 in dolphin and *not* baloo. What version is your dolphin package? The current release is 15.12.1
(In reply to Hussam Al-Tayeb from comment #19) > (In reply to John Andersen from comment #18) > > balooctl reports version 5.17 > > > > Baloo refuses to index plaintext documents. > > Baloo is part of frameworks. > This is supposed to be fixed in applications 15.12 in dolphin and *not* > baloo. What version is your dolphin package? > The current release is 15.12.1 Dolphin version 15.12.0 KDE Frameworks 5.17.0 Qt 5.5.1 (built against 5.5.1) It would be a nifty trick if fixing Dolphin could some how make up for the fact that Baloo refuses to index plain text files. --- So, basically, I don't believe you, or I don't believe you understand the problem. Baloo indexer will not index the CONTENT of plain text files. It will index the file names. I checked and changed mimetypes: exclude mimetypes=image/jpeg It still refuses to index content of plain text files. I test at the command line with baloosearch. This is not a Dolphin problem.
(In reply to John Andersen from comment #20) > (In reply to Hussam Al-Tayeb from comment #19) > > (In reply to John Andersen from comment #18) > > > balooctl reports version 5.17 > > > > > > Baloo refuses to index plaintext documents. > > > > Baloo is part of frameworks. > > This is supposed to be fixed in applications 15.12 in dolphin and *not* > > baloo. What version is your dolphin package? > > The current release is 15.12.1 > > Dolphin version 15.12.0 > KDE Frameworks 5.17.0 > Qt 5.5.1 (built against 5.5.1) > > It would be a nifty trick if fixing Dolphin could some how make up for the > fact that Baloo refuses to index plain text files. --- So, basically, I > don't believe you, or I don't believe you understand the problem. > > Baloo indexer will not index the CONTENT of plain text files. It will index > the file names. > I checked and changed mimetypes: exclude mimetypes=image/jpeg > It still refuses to index content of plain text files. > > I test at the command line with baloosearch. This is not a Dolphin problem. If you tested with baloosearch, then file a different bug. This bug is about dolphin search bar being broken when triggered from Places menu.
I am still finding this bug as unfixed, I am running 15.12.0-7.1 I posted it here: https://forum.kde.org/viewtopic.php?f=224&t=130701