Inkscape: A Vector Drawing Tool

Do not save viewport metadata option

Reported by Jakub Steiner on 2012-02-07
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Wishlist
John Smith

Bug Description

Inkscape extented SVGs are a great format for designers to cooperate using a versioning system such as git. Unfortunately when working concurrently on a single file, a merge will _always_ fail due to the viewport zoom/position and window size metadata part. Inkscape has a global preference not to save window size and position in the documents. Can that perhaps be extended to the viewport bits as well? I would favor including these in one option rather than providing yet another one, but I'm pretty sure you'll disagree :)

jazzynico (jazzynico) on 2012-02-07
tags: added: saving svg
Changed in inkscape:
importance: Undecided → Wishlist
ScislaC (scislac) on 2012-02-07
Changed in inkscape:
status: New → Confirmed
ScislaC (scislac) wrote :

I'm going to see if I can talk to a few people about what a proper solution might be... I know one preference is desireable, but I can already see utility in making our preferences more complex. ;)

Interface>Views could house a handful of interesting preferences I can think of off the top of my head.

John Smith (john-smithi) wrote :

Here is a patch that adds another preference "Save and restore documents viewport" in pref Interface->Windows. It controls saving of the docs zoom and pan.
The window width/height/x/y/fullscreen should already be controlled by "Saving window geometry" preference.

Would it be useful to control saving of the "current layer" ?

Changed in inkscape:
assignee: nobody → John Smith (john-smithi)
status: Confirmed → In Progress
ScislaC (scislac) wrote :

Works as expected. I say commit it. Thanks John!

John Smith (john-smithi) wrote :

Committed to trunk as r11630.

Changed in inkscape:
status: In Progress → Fix Committed
~suv (suv-lp) on 2012-08-29
Changed in inkscape:
milestone: none → 0.49
John Smith (john-smithi) wrote :

Further commit r11843 - Fix bug with Preference "Remember and use last window's geometry" that windows size and position was still being written to the svg.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers