View Issue Details

IDProjectCategoryView StatusLast Update
0009314ScribusScripterpublic2015-07-16 19:30
Reportergpittman Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSFedora OS Version12
Product Version1.3.8 
Summary0009314: failure to recognize change in document when drawing lines from Scripter
Descriptionwhen you run a script that only draws lines, Scribus does not recognize that the document has changed, so if you click Close or Ctrl-W, there is no warning.
Steps To ReproduceRun some script that only functions to draw lines

Example: run code39.py, which is on the wiki.
when you go through the choices, choose not to make human-readable code too.
Do not save the document.
Close the document -- you will get no warning about saving the file.
Additional InformationIn code39.py, if you choose to make the text frame for human-readable, then you will get a warning on closing.

Occurs with both the createLine and createPolyLine commands.
TagsNo tags attached.
PatchNo

Activities

gpittman

2010-08-06 01:53

developer   ~0024447

Last edited: 2010-08-06 01:56

this also occurs in 1.5.0svn

code39.py is at http://wiki.scribus.net/index.php/Generating_a_Code39_Barcode

gpittman

2010-08-13 02:35

developer   ~0024472

I did just discover the Scripter command docChanged(), which will take care of the issue in an individual script.

Issue History

Date Modified Username Field Change
2010-08-06 01:35 gpittman New Issue
2010-08-06 01:53 gpittman Note Added: 0024447
2010-08-06 01:56 gpittman Note Edited: 0024447
2010-08-13 02:35 gpittman Note Added: 0024472
2015-07-16 19:30 Kunda Patch => No
2015-07-16 19:30 Kunda Category General => Scripter