View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009485 | Scribus | public | 2010-11-10 11:40 | 2015-11-13 18:20 | |
Reporter | Linuxworld | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 1.3.8 | ||||
Summary | 0009485: [OCG bug] : Can not edit layer content anymore and moreover OCG's state support is broken on the js side. | ||||
Description | After 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 Reproduce | I 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 Information | On 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/developer/article.asp?ContentID=focus_on_pdf_layers_ocg_ | ||||
Tags | No tags attached. | ||||
Patch | |||||
|
|
|
|
|
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 ;) |
|
Above link was trunkated.. here is the good one: http://www.planetpdf.com/developer/article.asp?ContentID=focus_on_pdf_layers_ocg_ |
|
Can anyone comment on what to do about this bug? |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-11-10 11:40 | Linuxworld | New Issue | |
2010-11-10 11:40 | Linuxworld | File Added: layer_test.sla | |
2010-11-22 21:08 | Linuxworld | File Added: layers_canvas_illustrator_vs_scribus.pdf | |
2010-11-22 21:12 | Linuxworld | Note Added: 0024875 | |
2010-11-22 21:18 | Linuxworld | Note Edited: 0024875 | |
2010-11-24 11:22 | Linuxworld | Note Added: 0024885 | |
2014-09-18 21:54 | Kunda | Additional Information Updated | |
2015-11-13 18:20 | Kunda | Note Added: 0037461 |