View Issue Details

IDProjectCategoryView StatusLast Update
0016134ScribusScripterpublic2020-06-14 14:03
ReporterJLuc Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
PlatformLinuxOSUbuntu OS Version18.04
Product Version1.5.6.svn 
Summary0016134: Provide config API for scripter
DescriptionProvide a config API for scripts

It should cover
- Creation and use of config dialogs
- Saving as "Document settings" or as "Application Preferences" (or as separate config files ?)
- Loading values
Tagspreferences, scripter
PatchNo

Activities

jghali

2020-06-12 17:02

administrator   ~0047692

>> Creation and use of config dialogs

I'm not sure this can work given the object lifetime management in Python. As the objects are destroyed when script exits, the dialogs would be accessible only while the script is running. Which is certainly not what we want. A script would have anyway to build the dialog mostly by itself using PyQt5 or something similar.

ale

2020-06-14 14:03

manager   ~0047695

i think it would technically be possible.

but, as i had the chance to write in the ML, i still think that scripts should manage their own preferences if they do want (in different way depending on the type of script).
on top of it, i see very little interest in having sections for scripts in the settings/preferences before it's possible to create parts of the scribus UI through scripting.
imo, giving the current architecture, scripts are good for small features, and only in some corner cases can provide more complex features.

Issue History

Date Modified Username Field Change
2020-06-10 08:43 JLuc New Issue
2020-06-10 08:43 JLuc Tag Attached: preferences
2020-06-10 08:43 JLuc Tag Attached: scripter
2020-06-10 16:27 jghali Severity minor => feature
2020-06-12 17:02 jghali Note Added: 0047692
2020-06-14 14:03 ale Note Added: 0047695