Bug 242303

Summary: okular djvu search doesn't find multi-word strings
Product: [Applications] okular Reporter: Andreas K. Huettel <dilfridge>
Component: DjVu backendAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andreas K. Huettel 2010-06-20 23:09:31 UTC
Version:           unspecified (using KDE 4.4.4) 
OS:                Linux

This is a clone of http://bugs.gentoo.org/show_bug.cgi?id=316529


Single word searching works fine.

When searching a djvu file for two or more words, okular returns zero results.
When using app-text/djview4-4.5, multiple word searching works fine.


Reproducible: Always

Steps to Reproduce:
1.search a djvu file for any two-word combination, eg. "the imf"
2.okular runs through whole djvu document
3.returns zero results


Actual Results:  
Returns zero occurences of any multiple word search.


Expected Results:  
Okular whould have found the search string and moved to the first page where
the string occured.
Comment 1 Pino Toscano 2010-06-21 18:51:53 UTC
> 1.search a djvu file for any two-word combination, eg. "the imf"

What if you search without the space, ie "theimf"?
Comment 2 Andreas K. Huettel 2010-06-22 19:22:23 UTC
(In reply to comment #1)
> > 1.search a djvu file for any two-word combination, eg. "the imf"
> 
> What if you search without the space, ie "theimf"?

it finds and highlights the occurrence then...
Comment 3 Pino Toscano 2010-06-26 15:49:00 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > > 1.search a djvu file for any two-word combination, eg. "the imf"
> > 
> > What if you search without the space, ie "theimf"?
> 
> it finds and highlights the occurrence then...

Right, same reason as #230787.

*** This bug has been marked as a duplicate of bug 230787 ***