Details
-
Type: Bug
-
Status: Open
-
Priority: Major
-
Resolution: Unresolved
-
Affects Version/s: 6.3.2
-
Fix Version/s: None
-
Component/s: Viewer RI
-
Labels:None
-
Environment:Windows 7 x64, Oracle JDK 8u60
Description
I observe with some PDFs, that Viewer 6.3.2 does not highlight the beginning of search result at least in two cases:
1) search result encompasses line break;
2) there is more than 1 space between two words in search result.
Unfortunately, I cannot upload those PDFs because of copyright restrictions, but I created equivalent PDF in LibreOffice (see test_pdf.pdf attached). I made intentionally three and two spaces in a row in the first line.
This looks like a regression since 6.3.0, see comparison screenshots attached.
Steps to reproduce:
1) Open test_pdf.pdf in Viewer RI.
2) Navigate to Search pane (Ctrl + F).
3) Type "sunt explicabo", click "Search" button and observe results.
Actual behavior:
"explicabo" is highlighted (see case1.png attached).
Expected behavior:
"sunt explicabo" should be highlighted.
Note: Similar issue appears when searching for:
1) "modi tempora incidunt ut labore" (see case1_2.png attached)
2) "voluptatem accusantium" (see case2.png attached)
3) "doloremque laudantium" (see case3.png attached)
1) search result encompasses line break;
2) there is more than 1 space between two words in search result.
Unfortunately, I cannot upload those PDFs because of copyright restrictions, but I created equivalent PDF in LibreOffice (see test_pdf.pdf attached). I made intentionally three and two spaces in a row in the first line.
This looks like a regression since 6.3.0, see comparison screenshots attached.
Steps to reproduce:
1) Open test_pdf.pdf in Viewer RI.
2) Navigate to Search pane (Ctrl + F).
3) Type "sunt explicabo", click "Search" button and observe results.
Actual behavior:
"explicabo" is highlighted (see case1.png attached).
Expected behavior:
"sunt explicabo" should be highlighted.
Note: Similar issue appears when searching for:
1) "modi tempora incidunt ut labore" (see case1_2.png attached)
2) "voluptatem accusantium" (see case2.png attached)
3) "doloremque laudantium" (see case3.png attached)
Activity
Yauheni Sidarenka
created issue -
Yauheni Sidarenka
made changes -
Field | Original Value | New Value |
---|---|---|
Attachment | test_pdf.pdf [ 23116 ] | |
Attachment | case1.png [ 23117 ] | |
Attachment | case1_2.png [ 23118 ] | |
Attachment | case2.png [ 23119 ] | |
Attachment | case3.png [ 23120 ] |