[Okular-devel] [Bug 300992] New: Searching for a phrase does not find occurences split by a line break / newline in Pdf

Volker Lukas vlukas at gmx.de
Fri Jun 1 11:47:54 UTC 2012


https://bugs.kde.org/show_bug.cgi?id=300992

            Bug ID: 300992
          Severity: wishlist
           Version: unspecified
          Priority: NOR
          Assignee: okular-devel at kde.org
           Summary: Searching for a phrase does not find occurences split
                    by a line break / newline in Pdf
    Classification: Unclassified
                OS: Linux
          Reporter: vlukas at gmx.de
          Hardware: openSUSE RPMs
            Status: UNCONFIRMED
         Component: PDF backend
           Product: okular

When pressing Ctrl + f to search in a Pdf document, when searching for two
words separated by a space in the search bar, those occurences of that phrase
in the document which span over the end of a line are not found.

Example: One enters "british library" in the search bar, including the space
character between the words (excluding the quotes). This will highlight the
phrase in the document if both words are found on a single line. But if the
word "british" is the last word in a line and the word "library" follows
immediateley at the beginning of the next line, the prase is not found /
highlighted at that place.

Seaching for "britishlibrary" (without the space) will not find the phrase
separated by a line break either.

What does work is to insert a line break character (for example by copy and
paste from Kwrite) between the words in the search bar.

This is not strictly a bug, after all a newline character is different from a
space character. But it makes finding of all occurences of a phrase in a
document more complex than necessary.


Reproducible: Always




Using Okular version 0.14.3 (this version was not found in the list-box above)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list