In shell mode every command opens a new program instance
Steps to reproduce:
- run
inkscape --shell
- when shell mode opens run a shell command, for example:
test.svg query-all
(enter a valid path to any svg file) - repeat the same shell command several times
- run
quit
command to close shell (and Inscape instances)
Example:
$ inkscape --shell
Input of the form:
> filename action1:arg1; action2:arg2; verb1; verb2; ...
> test.svg query-all
svg30,10,0,300,1000
rectID,10,0,300,1000
flowRootID,10.1445,1.78815,294.434,28.721
use21,10,0,300,1000
> test.svg query-all
svg48,10,0,300,1000
rectID,10,0,300,1000
flowRootID,10.1445,1.78815,294.434,28.721
use39,10,0,300,1000
> test.svg query-all
svg66,10,0,300,1000
rectID,10,0,300,1000
flowRootID,10.1445,1.78815,294.434,28.721
use57,10,0,300,1000
> test.svg query-all
svg84,10,0,300,1000
rectID,10,0,300,1000
flowRootID,10.1445,1.78815,294.434,28.721
use75,10,0,300,1000
> test.svg query-all
svg102,10,0,300,1000
rectID,10,0,300,1000
flowRootID,10.1445,1.78815,294.434,28.721
use93,10,0,300,1000
> test.svg query-all
svg120,10,0,300,1000
rectID,10,0,300,1000
flowRootID,10.1445,1.78815,294.434,28.721
use111,10,0,300,1000
> test.svg query-all
svg138,10,0,300,1000
rectID,10,0,300,1000
flowRootID,10.1445,1.78815,294.434,28.721
use129,10,0,300,1000
> test.svg query-all
svg156,10,0,300,1000
rectID,10,0,300,1000
flowRootID,10.1445,1.78815,294.434,28.721
use147,10,0,300,1000
> quit
What happened?
- every command opens a new Inkscape instance
What should have happened?
- Inkscape 0.92.4 doesn't opens a new program instance. I think this is a regression.
(For testing Inkcape 0.92.4 run:
inkscape --shell
and after thattest.svg --query-all
)
This bug is related to inkscape/inkscape-docs/documentation#14 (closed)
Inkscape Version and Operating System:
- Inkscape Version: Inkscape 1.0 and trunk
- Operating System: Tested on Windows 10, Ubuntu 19.10 (on Wayland new windows appear after approx. 10 commands)