cmd-line-parameter '--verb=ZoomDrawing' doesn't work correct
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Triaged
|
Low
|
Unassigned |
Bug Description
English summary:
================
For an educational game I'm opening an Inkscape file via a batch script (see attachment).
The goal is to display the visible drawing content in full-screen mode.
This partially works, but unfortunately the command line parameter '--verb=
Also, the combination of the two parameters (select all, zoom to selection) does not achieve the expected result.
Only the keyboard shortcut '4' does achieve the expected result.
System information:
Windows XP, all updates, Inkscape 0.48+devel r11936, monitor resolution 1920x1200
The same bug also occurs with current stable Inkscape 0.48.3.1
Original description:
=======
Hallo zusammen,
für ein Lernspiel rufe ich eine InkScape-Datei über eine Batch-Datei auf (s. Anhang).
Über Commandline-
Das klappt auch so halbwegs, aber leider führt der Parameter --verb=ZoomDrawing nicht zur Anzeige der gesamten Zeichnung.
Auch die Kombination der beiden Parameter, die alles auswählen und dann die Auswahl bildschirmfüllend zeigen, führt nicht zum gewünschten Ergebnis.
Erst wenn ich im Programm die '4' drücke, wird alles angezeigt.
Windows XP, alle Updates, Inkscape 0.48+devel r11936, Bildschirmauflösung 1920x1200
Der Fehler tritt auch in der Version Inkscape 0.48.3.1 r9886 auf.
Viele Grüße
=======
Command line used in the batch file (see attachment):
"%PROGRAMFILES%
description: | updated |
description: | updated |
tags: | added: cli ui |
Reproduced with Inkscape 0.48.3.1 and 0.48+devel r11939 on OS X 10.7.5 (using default (new) preferences for each test run): "ZoomDrawing" --verb="FullScreen" --verb= "FocusToggle" "FocusToggle" --verb= "ZoomDrawing" "ZoomDrawing" --verb= "FocusToggle" "FocusToggle" --verb="FullScreen" --verb= "ZoomDrawing"
- The verbs don't seem to be executed in the order as specified on the command line: the zoom command appears to be always executed before changing to full-screen and before hiding the GUI elements. These variations all produce the same result:
$ inkscape -f drawing.svg --verb=
$ inkscape -f drawing.svg --verb="FullScreen" --verb=
$ inkscape -f drawing.svg --verb="FullScreen" --verb=
$ inkscape -f drawing.svg --verb=
- Possibly related: the changed size of the visible canvas area with 'FocusToggle' (same as 'Shift+F11') is not taken into account as changed window size - e.g. noticeable in normal GUI usage with the setting 'Zoom drawing when window size changes'.