Bug 179239

Summary: weird search results in .chm files
Product: [Applications] okular Reporter: Ignat Semenov <i.semenov.kde>
Component: CHM backendAssignee: Okular developers <okular-devel>
Status: RESOLVED WORKSFORME    
Severity: normal CC: aacid, bluedzins, yurchor
Priority: NOR Keywords: triaged
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: okular .chm screenshot

Description Ignat Semenov 2008-12-31 21:31:32 UTC
Version:            (using Devel)
Compiler:          gcc 4.3.1 
OS:                Linux
Installed from:    Compiled sources

When searching (Ctrl-F) in .chm files, Okular gives weird results, in particular the result is either:
1)the word is found but the word is not highlighted, whereas some empty area (with no text) is highlighted
or
2)there is no word matching search, but some area is anyway highlighted with yellow.
Comment 1 Ignat Semenov 2008-12-31 21:33:06 UTC
Created attachment 29790 [details]
okular .chm screenshot

Here "/dev/null" is searched for. You can see where "/dev/null" is really and what area is highlighted.
Comment 2 Albert Astals Cid 2011-12-20 19:06:20 UTC
*** Bug 181539 has been marked as a duplicate of this bug. ***
Comment 3 Albert Astals Cid 2014-05-08 13:31:17 UTC
Can you please attach the chm file you used to report this bug?
Comment 4 Yuri Chornoivan 2014-05-08 14:06:30 UTC
It is a pirate (?) copy of "LPI Linux Certification in a Nutshell". And the copy from the torrent I have found is hardly correct. Same symptoms as for the reporter.

The search works fine in other random CHM files.

Is it worth to investigate this file further?
Comment 5 Andrew Crouthamel 2018-09-25 03:31:28 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Andrew Crouthamel 2018-10-27 02:06:15 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!