cmd-line-parameter '--verb=ZoomDrawing' doesn't work correct

Bug #1088020 reported by Alfred Bergkemper
6
This bug affects 1 person
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=ZoomDrawing' doesn't work as expected (does not result in showing the full content of the drawing).

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-Parameter möchte ich erreichen, dass die gesamte Zeichnung bildschirmfüllend angezeigt wird.
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%\inkscape\inkscape.exe" %_w_datei% --verb=ZoomDrawing --verb=FullScreen --verb=FocusToggle

Tags: cli ui
Revision history for this message
Alfred Bergkemper (a-bergkemper) wrote :
su_v (suv-lp)
description: updated
description: updated
tags: added: cli ui
Revision history for this message
su_v (suv-lp) wrote :

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):
- 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="ZoomDrawing" --verb="FullScreen" --verb="FocusToggle"
$ inkscape -f drawing.svg --verb="FullScreen" --verb="FocusToggle" --verb="ZoomDrawing"
$ inkscape -f drawing.svg --verb="FullScreen" --verb="ZoomDrawing" --verb="FocusToggle"
$ inkscape -f drawing.svg --verb="FocusToggle" --verb="FullScreen" --verb="ZoomDrawing"
- 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'.

Changed in inkscape:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
jazzynico (jazzynico) wrote :

Also reproduced on Windows XP, Inkscape trunk revision 12137.

Changed in inkscape:
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.