Do not save viewport metadata option

Bug #928205 reported by Jakub Steiner
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
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 :)

Tags: saving svg
jazzynico (jazzynico)
tags: added: saving svg
Changed in inkscape:
importance: Undecided → Wishlist
ScislaC (scislac)
Changed in inkscape:
status: New → Confirmed
Revision history for this message
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.

Revision history for this message
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
Revision history for this message
ScislaC (scislac) wrote :

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

Revision history for this message
John Smith (john-smithi) wrote :

Committed to trunk as r11630.

Changed in inkscape:
status: In Progress → Fix Committed
su_v (suv-lp)
Changed in inkscape:
milestone: none → 0.49
Revision history for this message
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.

Bryce Harrington (bryce)
Changed in inkscape:
status: Fix Committed → Fix Released
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.