GNOME Bugzilla – Bug 733755
Layers indicators are not visible on multiple-layered documents
Last modified: 2018-05-22 15:43:59 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.
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.
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.
Created attachment 354960 [details] PDF Test Case with Proposed Checkbox Fix Screenshot of the PDF Test Case file with the checkbox change implemented.
-- 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.