Bug 469379 - Evince 'Find' can get stuck on a page
Summary: Evince 'Find' can get stuck on a page
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: evince
Version: 5.2
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Marek Kašík
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 499522
TreeView+ depends on / blocked
 
Reported: 2008-10-31 15:17 UTC by Alan Matsuoka
Modified: 2018-10-27 14:34 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
When searching for a string in a document, evince may have miscalculated the scope of the search if a string appeared more than once on a single page. Consequently, if a user was stepping though the search results using the "Find Next" button, evince would not step past the page with multiple matches. With this update, evince now correctly searches the whole document, resolving this issue. (BZ#469379)
Clone Of:
Environment:
Last Closed: 2010-03-30 08:03:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
patch to fix find problem (2.55 KB, patch)
2008-10-31 15:17 UTC, Alan Matsuoka
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2010:0195 0 normal SHIPPED_LIVE evince bug fix update 2010-03-29 12:24:19 UTC

Description Alan Matsuoka 2008-10-31 15:17:18 UTC
Created attachment 322091 [details]
patch to fix find problem

Description of problem:
Evince's search function gets stuck on one particular page unless you scroll the buffer.

How reproducible:
Always

Steps to Reproduce:
Open up a document such as: http://download.intel.com/design/chipsets/datashts/318610.pdf
Search for something like NERR_FAT_FB and repeatedly hit the find next button. When you get to the instance on page 220 3.9.22.10 it will get stuck until you scroll the page down a bit.

Actual results:
it gets stuck

Expected results:
it moves to the next instance even if it isn't on the same page

Additional info:
It seems to happen when there are multiple instances of the search string on the same page. It seems to work properly when there is only one instance on the page.

Looks like:

2006-10-08  Nickolay V. Shmyrev  <nshmyrev>

       * shell/ev-view-private.h:
       * shell/ev-view.c: (view_set_adjustment_values),
       (view_update_range_and_current_page),
       (ensure_rectangle_is_visible), (ev_view_size_allocate):

       Fixes bug #343199, current page now follows find page.

might fix it.

Seems to work for me. 

Attached a patch

Comment 1 RHEL Program Management 2009-03-26 17:06:53 UTC
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".

Comment 2 Alan Matsuoka 2009-03-26 17:24:08 UTC
setting for 5.5

Comment 3 Marek Kašík 2009-11-12 13:53:40 UTC
Hi,

I committed the backported patch from upstream.

Marek

Comment 7 Ryan Lerch 2010-03-11 00:45:44 UTC
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.

New Contents:
When searching for a string in a document, evince may have miscalculated the scope of the search if a string appeared more than once on a single page. Consequently, if a user was stepping though the search results using the "Find Next" button, evince would not step past the page with multiple matches. With this update, evince now correctly searches the whole document, resolving this issue. (BZ#469379)

Comment 8 errata-xmlrpc 2010-03-30 08:03:04 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2010-0195.html


Note You need to log in before you can comment on or make changes to this bug.