View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0016355 | Scribus | General | public | 2020-11-25 16:44 | 2020-11-25 16:49 |
Reporter | tanty | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 1.5.6 | ||||
Summary | 0016355: The "-g" command line option doesn't really do as described by the help | ||||
Description | Run: " $ scribus --help Scribus, Open Source Desktop Publishing --------------------------------------- Homepage: http://www.scribus.net Documentation: http://docs.scribus.net Wiki: http://wiki.scribus.net Issues: http://bugs.scribus.net Usage: scribus [options] [files] Options: -fi, --font-info Show information on the console when fonts are being loaded -h, --help Print help (this message) and exit -l, --lang Uses xx as shortcut for a language, eg `en' or `de' -la, --langs-available List the currently installed interface languages -ns, --no-splash Do not show the splashscreen on startup -nns, --never-splash Stop showing the splashscreen on startup. Writes an empty file called .neversplash in ~/.config/scribus -pr, --prefs <path> Use path for user given preferences location -pi, --profile-info Show location of ICC profile information on console while starting -u, --upgradecheck Download a file from the Scribus website and show the latest available version -v, --version Output version information and exit -py, --python-script <script> [arguments ...] Run script in Python [with optional arguments]. This option must be last option used -g, --no-gui Do not start GUI -- Explicit end of command line options " Therefore, passing "-g" should not show the GUI at all. Even more, it should work without a graphical system. However, that's not the case. At least, not as expected by the help description. | ||||
Steps To Reproduce | File used: * export_to_image.py: https://bugs.scribus.net/file_download.php?file_id=11173&type=bug If we run the script: " $ scribus testdoc.sla -ns -g -py export_to_image.py -type 'PNG' -quality 100 -transparentBkgnd 1 -name 'test.png' -scale 100 -dpi 96 " I can see the GUI appearing and disappearing. Even more, without an X DISPLAY it doesn't work at all: " $ DISPLAY="" scribus testdoc.sla -ns -g -py export_to_image.py -type 'PNG' -quality 100 -transparentBkgnd 1 -name 'test.png' -scale 100 -dpi 96 qt.qpa.xcb: could not connect to display qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb. " | ||||
Additional Information | I assume this change is not simple. It would be great if this could work without the need for a graphical system but, at least, the help should be updated to better explain which is the purpose of the "-g" argument. | ||||
Tags | No tags attached. | ||||
Patch | No | ||||