<div dir="ltr">Hi, <div><br></div><div>Lately, I've been messing around with Okular search feature and I've been trying to improve it according to user request, namely <a href="https://bugs.kde.org/show_bug.cgi?id=399446">399446</a> and <a href="https://bugs.kde.org/show_bug.cgi?id=377487">377487</a>.</div><div>One of the features that stood out and has some duplicates was the "Find and highlight all", now, there are lots of ways that readers do that. Evince has a side panel that is updated every time a match is found and Adobe Reader has an advanced search that shows every match after the search is done. I did not test other readers, but I'll include images of the panels on both tested.</div><div><br></div><div>The point that I want to bring in this discussion is, should Okular implement this feature? I'm up to the job if it's the general consensus.</div><div>And, if yes, how should we proceed about that? </div><div>Should we add the sidebar right below Bookmarks, or we should do an Advanced search and open in a new window? </div><div><br></div><div>As of now, there are four types of search ALLDOC, NEXTRESULT, PREVRESULT, GOOGLESEARCH, alldoc finds and highlights all, next and prev is the most used and googlesearch is for the thumbnail. </div><div><br></div><div>If we do the evince way, we would have to redesign the next and prev result, we would just use alldoc search, grab the metadata and implement on the sidebar. The problem right now is that this consumes lots of time because it stops the program to search. If we do this in a separate thread, maybe worth the effort, but lots of change would be required to the textpage.cpp. (Or we could add a find all button?)</div><div><br></div><div>If we do the Adobe Reader way, the users who really want it still would have it, they can endure the waiting, some small changes would be required to textpage.cpp depending on how we choose to implement the advanced search widget.</div><div><br></div><div>I'm open to discussion to any point, and if we go through with this, I'll make sure to take my time and do it, but I guess it will take a while.</div><div><br></div><div>Thanks for your attention.</div><div><br></div><div><br></div><div>  </div><div><br></div><div><br></div><div><br></div></div>