1. open a PDF 2. go to thumbnails view 3. type "the" into the filter bar. Notice that the thumbnails are not filtered, and only a single occurrence of the word "the" in the document is highlighted in blue. Each subsequent press of <enter> highlights another occurrence of "the" (it is similar to the fuctionality of <ctrl>f "find"). This is a regression. The functionality should highlight all occurrences of the word, and filter the thumbnails.
I can kind of reproduce it with the current git master and a random document. For me it works sometimes and sometimes it doesn't (in the way described in this bug report). Unfortunately I don't currently see a pattern.
Created attachment 103716 [details] Search for "sagot" in the thumbnail filter. Search for "sagot" in the thumbnail filter of this PDF.
Bizarrely, when using the file downloaded from this page I do not encounter the problem!?
Well, after repeating a couple of times I can reproduce this problem on the uploaded file with the specified string.
It's not a regression, but it's a bug, the problem is because you're pressing enter in the filter bar. Once you press enter in the filter bar it wrongly "morphs" into a search bar, but that bug seems to have been there "forever", so not really a regression afaics.
Git commit 96d8953878e00543194913a674497c1e656c28de by Albert Astals Cid. Committed on 31/01/2017 at 23:49. Pushed by aacid into branch 'Applications/16.12'. Fix Enter turning the thumbnail filter bar into a regular search bar M +2 -2 core/document.h M +8 -1 ui/searchlineedit.cpp https://commits.kde.org/okular/96d8953878e00543194913a674497c1e656c28de
The problem occurs even when I do NOT press enter. Under as-yet unknown circumstances, typing any string into the filter bar will not filter the pages and will not find a single occurrence of the string.
I confirm that Albert's patch fixed the problem for me.
@thekswenson: If you're able to reproduce it reliably please open a new bug about it.
Will do.