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 317293 - Unimplemented action: POPPLER_ACTION_NAMED
Unimplemented action: POPPLER_ACTION_NAMED
Status: RESOLVED FIXED
Product: evince
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
critical-warning
: 345662 383150 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-09-26 21:56 UTC by Christian Persch
Modified: 2006-12-06 21:26 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch (12.61 KB, patch)
2006-03-05 15:59 UTC, Carlos Garcia Campos
none Details | Review
Updated patch (12.84 KB, patch)
2006-03-05 16:18 UTC, Carlos Garcia Campos
none Details | Review
Another update (9.55 KB, patch)
2006-05-03 20:54 UTC, Carlos Garcia Campos
committed Details | Review

Description Christian Persch 2005-09-26 21:56:04 UTC
Testcase: http://acroeng.adobe.com/Test_Files/weblinks/Link_actions/execmenu.pdf

** (evince:6538): WARNING **: Unimplemented action: POPPLER_ACTION_NAMED, please
post a bug report with a testcase.
Comment 1 Brent Smith (smitten) 2005-09-30 19:35:04 UTC
(evince:24687): GLib-CRITICAL **: g_str_has_suffix: assertion `str != NULL' failed

** (evince:24687): WARNING **: Unimplemented action: POPPLER_ACTION_NAMED,
please post a bug report with a testcase.

Spidey!

Marking this bug as NEW.
Comment 2 Carlos Garcia Campos 2006-03-05 15:59:25 UTC
Created attachment 60696 [details] [review]
Patch

Here is a patch that adds support for action named links. It implements the most common named links like GotoNext, GotoPrev, etc. It depends on poppler bug #6152.
Comment 3 Carlos Garcia Campos 2006-03-05 16:03:17 UTC
I forgot it, a test case can be found here:
http://itextdocs.lowagie.com/tutorial/objects/anchors/NamedActions.pdf
Comment 4 Carlos Garcia Campos 2006-03-05 16:18:51 UTC
Created attachment 60697 [details] [review]
Updated patch

I forgot to show the "Go" option in the context menu for the action named links. It's fixed in the updated patch.
Comment 5 Nickolay V. Shmyrev 2006-03-05 16:29:09 UTC
This bug depends on

http://bugs.freedesktop.org/attachment.cgi?id=4832

Comment 6 Sebastien Bacher 2006-04-08 21:32:13 UTC
Ubuntu bug about that: https://launchpad.net/distros/ubuntu/+source/evince/+bug/38611
Comment 7 Carlos Garcia Campos 2006-05-03 20:54:18 UTC
Created attachment 64770 [details] [review]
Another update

Here is a new patch against current cvs head.
Comment 8 Carlos Garcia Campos 2006-05-04 08:25:16 UTC
2006-05-03  Carlos Garcia Campos  <carlosgc@gnome.org>

        * backend/ev-link-action.[ch]:
        * pdf/ev-poppler.cc: (ev_link_from_action):
        * shell/ev-view-private.h:
        * shell/ev-view.c: (ev_view_handle_link), (tip_from_action_named):
        * shell/ev-window.c: (do_action_named), (view_external_link_cb):

        Add support for Named Action links
Comment 9 Carlos Garcia Campos 2006-06-22 19:11:14 UTC
*** Bug 345662 has been marked as a duplicate of this bug. ***
Comment 10 Carlos Garcia Campos 2006-12-06 21:26:35 UTC
*** Bug 383150 has been marked as a duplicate of this bug. ***