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 733755 - Layers indicators are not visible on multiple-layered documents
Layers indicators are not visible on multiple-layered documents
Status: RESOLVED OBSOLETE
Product: evince
Classification: Core
Component: PDF
git master
Other Linux
: Normal normal
: ---
Assigned To: Evince Maintainers
Evince Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-07-25 18:14 UTC by Germán Poo-Caamaño
Modified: 2018-05-22 15:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot showing side by side Evince master against Acroread 9 (49.91 KB, image/png)
2014-07-25 18:14 UTC, Germán Poo-Caamaño
Details
PDF Test case (5.64 KB, application/pdf)
2014-07-25 18:16 UTC, Germán Poo-Caamaño
Details
PDF Test Case with Proposed Checkbox Fix (34.96 KB, image/png)
2017-07-05 19:53 UTC, Ian Hunsberger
Details

Description Germán Poo-Caamaño 2014-07-25 18:14:52 UTC
Created attachment 281717 [details]
Screenshot showing side by side Evince master against Acroread 9

I received a bug report by email regarding to PDF documents with multiple layers:

The report as follows:

    The issue is that for a document that has several layers to the 
    artwork (like the one I sent you), the small eye icons indicating which 
    layers are visible or hidden are not visible themselves. So, when I open 
    such a document and look at the layers, it looks like all of the layers 
    are turned off. I can hover the mouse over where one of the icons should 
    be, and then I can see if that layer is on or not, but if I change the 
    visibility of a particular layer, and then move the mouse away, I can't 
    tell from the icons if the layer is on or not.
Comment 1 Germán Poo-Caamaño 2014-07-25 18:16:23 UTC
Created attachment 281718 [details]
PDF Test case

This is a multilayered-document I found in
http://www.talkgraphics.com/showthread.php?47953-Clickable-PDF-multilayer
that helps as a test case.
Comment 2 Ian Hunsberger 2017-07-05 19:52:01 UTC
Is there a compelling reason to keep the eye indicator for layers rather than use the check box provided by GTK? An easy fix would be to drop the gimp cell renderer toggle (and eye indicator) and just use the gtk cell renderer toggle instead (which provides a check box).

Changing to use the checkbox would have the added benefit of having less code to maintain. The gimpcellrederertoggle code is a cut and paste from GIMP, modified for evince. However, the version evince uses seems to be the root of the cause of the layer indicator only showing up on hover. Since the layers sidebar is the only thing that uses it, this code could be completely removed.
Comment 3 Ian Hunsberger 2017-07-05 19:53:57 UTC
Created attachment 354960 [details]
PDF Test Case with Proposed Checkbox Fix

Screenshot of the PDF Test Case file with the checkbox change implemented.
Comment 4 GNOME Infrastructure Team 2018-05-22 15:43:59 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/evince/issues/487.