After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 694056 - Regression: option --find in the command line does not work anymore
Regression: option --find in the command line does not work anymore
Status: RESOLVED DUPLICATE of bug 604327
Product: evince
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-02-18 00:34 UTC by Germán Poo-Caamaño
Modified: 2013-02-19 07:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Germán Poo-Caamaño 2013-02-18 00:34:38 UTC
This seems an old regression because I can reproduce with 3.4.0 and master (3.7.5).

1. Open a PDF (with text searchable text).
   $ evince document.pdf &
2. Open the same document with some text to find:
   $ evince --find=text document.txt

Current result:
   The document is refreshed, but nothing seems to be happening.

Expected result:
   Highlight the text if found, with the search pane opened.
Comment 1 Germán Poo-Caamaño 2013-02-18 00:49:46 UTC
It is not necessary to call it twice to reproduce the bug:

    $ evince --find=text document.txt

Just open the document as if the option did not exist.
Comment 2 Florian Moretz 2013-02-19 06:54:04 UTC
The --find switch does work, but only after engaging the search. See here for reference:

https://www.youtube.com/watch?v=GeeIBP8PbGE

Recoll (the full-text search tool used in the video above) passes the search string to evince via the --find=STRING switch. 

The advantage of this behaviour in the use case above is that it allows the user to check the page for any obvious hits before engaging a CPU intensive search. So while it makes sense to fix this regression it might also be a good idea to implement a switch between directly engaging a search and only passing the search term to the search field (e.g. --find=STRING and --searchfield=STRING).


Possible duplicate:

https://bugzilla.gnome.org/show_bug.cgi?id=604327

These are related bug reports:

https://bugzilla.gnome.org/show_bug.cgi?id=611619
https://bugzilla.gnome.org/show_bug.cgi?id=694143
Comment 3 Germán Poo-Caamaño 2013-02-19 07:09:20 UTC

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