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
0006877ScribusScripterpublic08-Mar-22 02:4209-Mar-29 23:01
Reportergpittman 
Assigned Tocbradney 
PrioritynormalSeverityminorReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version1.3.3.12svn 
Target Version1.3.3.13Fixed in Version1.3.3.13svn 
Summary0006877: trying to clean up and standardize the DocInfo in scripts
Descriptionhave developed a pattern to use for scripts for author(s), licensing, synopsis, requirements, usage.
Additional InformationWill gradually try to get all scripts that need this uploaded as they are completed. No changes in script behavior are being made here.
TagsNo tags attached.
Attached Files? file icon ExtractText.py [^] (2,449 bytes) 08-Mar-22 02:42
? file icon UnflipContent.py [^] (1,714 bytes) 08-Mar-22 02:43
? file icon DrawGrid.py [^] (5,542 bytes) 08-Mar-22 03:33
? file icon DirectImageImport.py [^] (3,028 bytes) 08-Mar-22 15:28
? file icon InfoBox.py [^] (8,499 bytes) 08-Mar-23 00:08
? file icon DirectImageImport_mod.py [^] (3,075 bytes) 09-Mar-28 15:29

- Relationships

-  Notes
(0019258)
gpittman (reporter)
08-Mar-22 03:34

for DrawGrid.py added a new category: LIMITATIONS
(0019260)
gpittman (reporter)
08-Mar-22 15:27

Will add DirectImageImport.py
This one also needed some fixes for 1.3.3.x -- file dialog did not appear.
Also changed "from scribus import *" to "import scribus"
(0019261)
gpittman (reporter)
08-Mar-22 15:38

Someone please delete InfoBox.py so I can change to the file dialog to select more image types.
Also, would it be useful to adopt Konrad Stania's work around for Adjust Frame to Image using image scaling? I think that's pretty clever.
(0019265)
gpittman (reporter)
08-Mar-22 20:10

Ok, I've modified the script to automatically adjust infobox height for images. Waiting for InfoBox.py to be deleted so I can upload the new version.
(0019269)
gpittman (reporter)
08-Mar-23 00:09

New InfoBox.py uploaded
(0021197)
cbradney (administrator)
09-Feb-23 00:08

[00:07] <MrB> FeistyDragoon, can u please check 0006877 and the included scripts in 1.3.3.x svn? the bug has been resolved however I dont believe the files were ever updated from the bug into svn
[00:07] <FeistyDragoon> k
[00:07] <MrB> FeistyDragoon, and if u have 1.3.5svn compatible versions, add those too?
(0021199)
gpittman (reporter)
09-Feb-23 01:08

Yes, you are right, MrB.
Either these weren't updated or were reverted. The exception is InfoBox.py, which is the correct one in both 1.3.3.xsvn and 1.3.5svn.

I think we may have decided to delete DrawGrid.py, since it was not felt to be such an especially useful script.

I will have to check to see if the others work in 1.3.5svn.
(0021201)
gpittman (reporter)
09-Feb-23 01:26

ExtractText.py seems to work Ok in 1.3.5svn.

UnFlipContent.py does not work in 1.3.5svn -- will see if I can figure out why.
(0021202)
gpittman (reporter)
09-Feb-23 01:50

DirectImageImport.py does indeed work in 1.3.5.py, and curiously when the image is imported, Proportional is set, while it isn't in 1.3.3.xsvn (maybe different default behavior).

This having been said, the script is a bit clumsy in the way it adjusts the size of the frame to the image. It would be better, I think, to use the PIL method I used in InfoBox.py. This way, you can center every picture. Right now, they don't get centered when the picture is taller than it is wide.

Will work on this.
(0021432)
gpittman (reporter)
09-Mar-28 15:29

I have reworked DirectImageImport.py (DirectImageImport_mod.py).
1. Use PIL to get image size
2. Fix a problem with frames when image taller than wide
3. Got rid of readjustment of frame size - no longer needed
4. Made Doc Info more informative

This also works in 1.3.5svn
(0021433)
gpittman (reporter)
09-Mar-28 16:45

I cannot seem to get UnFlipContent.py to work in 1.3.5svn.

I think the problem is with setProperty, which seems to be nonfunctional in 1.3.5svn.
(0021434)
gpittman (reporter)
09-Mar-28 16:55

Summary:

1. Except for InfoBox.py, the above scripts have not been added to current svn of 1.3.3.x and 1.3.5
2. DrawGrid.py is not felt to be needed in either version
3. ExtractText.py needs to be replaced by above version in both versions
3. DirectImageImport.py should be replaced by DirectImageImport_mod.py in both versions
4. UnFlipContent.py does not work in 1.3.5svn, so should not be included in that version at this time, but can replace it in 1.3.3.x

- Issue History
Date Modified Username Field Change
08-Mar-22 02:42 gpittman New Issue
08-Mar-22 02:42 gpittman File Added: ExtractText.py
08-Mar-22 02:43 gpittman File Added: InfoBox.py
08-Mar-22 02:43 gpittman File Added: UnflipContent.py
08-Mar-22 02:45 christoph_s Status new => assigned
08-Mar-22 02:45 christoph_s Assigned To => plinnell
08-Mar-22 03:33 gpittman File Added: DrawGrid.py
08-Mar-22 03:34 gpittman Note Added: 0019258
08-Mar-22 15:27 gpittman Note Added: 0019260
08-Mar-22 15:28 gpittman File Added: DirectImageImport.py
08-Mar-22 15:38 gpittman Note Added: 0019261
08-Mar-22 20:10 gpittman Note Added: 0019265
08-Mar-22 21:23 plinnell File Deleted: InfoBox.py
08-Mar-23 00:08 gpittman File Added: InfoBox.py
08-Mar-23 00:09 gpittman Note Added: 0019269
09-Jan-01 22:58 plinnell Status assigned => resolved
09-Jan-01 22:58 plinnell Fixed in Version => 1.3.3.13svn
09-Jan-01 22:58 plinnell Resolution open => fixed
09-Feb-23 00:08 cbradney Assigned To plinnell =>
09-Feb-23 00:08 cbradney Note Added: 0021197
09-Feb-23 00:08 cbradney Status resolved => feedback
09-Feb-23 00:08 cbradney Resolution fixed => reopened
09-Feb-23 01:08 gpittman Note Added: 0021199
09-Feb-23 01:26 gpittman Note Added: 0021201
09-Feb-23 01:50 gpittman Note Added: 0021202
09-Mar-15 02:36 christoph_s Target Version => 1.3.3.13
09-Mar-28 15:29 gpittman Note Added: 0021432
09-Mar-28 15:29 gpittman File Added: DirectImageImport_mod.py
09-Mar-28 16:45 gpittman Note Added: 0021433
09-Mar-28 16:55 gpittman Note Added: 0021434
09-Mar-29 22:22 cbradney Status feedback => assigned
09-Mar-29 22:22 cbradney Assigned To => cbradney
09-Mar-29 22:59 cbradney Status assigned => resolved
09-Mar-29 22:59 cbradney Resolution reopened => fixed
09-Mar-29 23:01 cbradney Status resolved => closed



Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker