Mantis Issue Tracking for Scribus
· Hosting provided by Anduin.net / Øverby Consulting ·

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009485ScribusPDFpublic10-Nov-10 12:4010-Nov-24 12:22
ReporterLinuxworld 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version1.3.8 
Target VersionFixed in Version 
Summary0009485: [OCG bug] : Can not edit layer content anymore and moreover OCG's state support is broken on the js side.
DescriptionAfter adding a new Layer with a button (by the way icon rendering is buggy in the 1.3.3.14) on it, changing visibility settings from scribus and
switching back and forth to the button layer makes it impossible to edit the layer content.

I have tested this in the last windows 1.3.9svn snapshot

Steps To ReproduceI have simply added a new layer "Foreground" with a Button on it,
add some code to toggle the layer like:
================8<==============================
var docOCGs = this.getOCGs();
for (var x=0; x < docOCGs.length; x++)
{ if(docOCGs[x].name == "Foreground")
        docOCGs[x].state = !docOCGs[x].state;
}
================8<==============================
but closing the Scribus file and opening it again
made it impossible to access the content of "Foreground" layer.
Moreover, js code executes fine with no errors but layer
visibility is not taken into account. As I got working samples
of this toggle technique, that means that Scribus OCG support
is broken..maybe because bad declaration or something is missing
(see Additionnal Information).

Additional InformationOn the js side, layer state value change (I dumped its value)
but layer visibility do not toggle as it should be like
in samples provided at:
 http://www.planetpdf.com/develope/article.asp?ContentID=focus_on_pdf_layers_ocg_ [^]
TagsNo tags attached.
Attached Files? file icon layer_test.sla [^] (25,461 bytes) 10-Nov-10 12:40
pdf file icon layers_canvas_illustrator_vs_scribus.pdf [^] (35,617 bytes) 10-Nov-22 22:08

- Relationships

-  Notes
(0024875)
Linuxworld (reporter)
10-Nov-22 22:12
edited on: 10-Nov-22 22:18

Well, I have made to help you a comparison between the OCG canvas generated by illustrator 11.0 (working fine) and the current scribus 1.3.8.

In scribus , there is no intent, ocg creator object as it should be and in illustrator there no such print and view like in scribus.

You will see by yourself how to mix the both and make a correct bananapdflayersplit ;)

(0024885)
Linuxworld (reporter)
10-Nov-24 12:22

Above link was trunkated.. here is the good one:
http://www.planetpdf.com/developer/article.asp?ContentID=focus_on_pdf_layers_ocg_ [^]

- Issue History
Date Modified Username Field Change
10-Nov-10 12:40 Linuxworld New Issue
10-Nov-10 12:40 Linuxworld File Added: layer_test.sla
10-Nov-22 22:08 Linuxworld File Added: layers_canvas_illustrator_vs_scribus.pdf
10-Nov-22 22:12 Linuxworld Note Added: 0024875
10-Nov-22 22:18 Linuxworld Note Edited: 0024875 View Revisions
10-Nov-24 12:22 Linuxworld Note Added: 0024885



Copyright © 2000 - 2013 MantisBT Team
Powered by Mantis Bugtracker