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 497388 - should open file before returning when evince already running
should open file before returning when evince already running
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
2.20.x
Other Linux
: Normal enhancement
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-11-16 14:19 UTC by Josselin Mouette
Modified: 2009-10-20 17:19 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Josselin Mouette 2007-11-16 14:19:20 UTC
[ forwarded from http://bugs.debian.org/451498 by Johannes Berg ]

When evince is already displaying some document, it will, when
called as "evince document" return quickly and instruct the
running instance of evince to open the given document. This
sometimes interacts badly with scripts that delete the document
right after evince has returned.

It would be good to make evince wait until the other instance
has opened the document (un)successfully and return an status
code indicating this condition to ease integration into scripts
that display documents.

Alternatively, a --disable-factory option like gnome-terminal
has could be added for such use cases although the former is
IMHO much preferable.
Comment 1 Carlos Garcia Campos 2009-10-20 17:19:02 UTC
This should be fixed in git master since evince uses now multiple processes. Thanks for reporting.