Guides lock lost on load

Bug #1643179 reported by jazzynico
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Low
Jabiertxof

Bug Description

Reproduced on Windows XP, lp:inkscape/0.92.x rev. 15207, 14557.
Reproduced on Xubuntu 16.04, lp:inkscape rev. 15260.
Reproduced on Debian Jessie backports, Inkscape 0.92.1 r15371

When reopening a file with locked guides, the guides are seen as unlocked.

Steps to reproduce:
1) launch inkscape (0.92.x or trunk)
2) create a guide
3) lock the guide
4) save document
5) close and reopen the document (or use 'File > Revert')
-> The guide's origin is the "normal" one, and the guide is unlocked (it can be moved).
6) do something else (create a rectangle).
7) undo
-> The guide is now locked as expected.

Unrelated to bug #1634472 "Guides origin initially not rendered if guides hidden on load" (only after rev. 15492 or 15493), but rather related to the original lock guides feature (rev. 14512, see bug #170144).

Tags: guides
jazzynico (jazzynico)
Changed in inkscape:
milestone: 0.92 → 0.93
Revision history for this message
su_v (suv-lp) wrote :

Reproduced as described with lp:inkscape/0.92.x r15346 (on OS X 10.7.5).

Changed in inkscape:
status: New → Confirmed
Revision history for this message
su_v (suv-lp) wrote :

jazzynico wrote:
> (...), but rather related to the original lock guides feature (rev.
> 14512, see bug #170144).

Confirmed, reported behavior already present with (archived) trunk build of rev 14512.

jazzynico (jazzynico)
Changed in inkscape:
status: Confirmed → Triaged
Jabiertxof (jabiertxof)
Changed in inkscape:
assignee: nobody → Jabiertxof (jabiertxof)
Revision history for this message
Jo (joonline) wrote :

Lock status is saved in document, but not loaded:

<sodipodi:guide
       id="guide4485"
       inkscape:locked="true"

<sodipodi:guide
       id="guide4506"
       inkscape:locked="false" />

Jo (joonline)
description: updated
no longer affects: debian
description: updated
Revision history for this message
Dee Brieske (flamingolady) wrote :

I use Win 7 and Inkscape v .92. Guides unlock as OP describes. Also intermittently unlock spontaneously, unsure of exact cause, though also happens intermittently when double clicking the guide to chg color or position.

Revision history for this message
Jabiertxof (jabiertxof) wrote :

This patch fix the bug on master

Revision history for this message
Jabiertxof (jabiertxof) wrote :
Jabiertxof (jabiertxof)
Changed in inkscape:
status: Triaged → Fix Committed
Revision history for this message
Mel Earp (mel-earp) wrote :

Still unlocking on reload for me.

Ubuntu 16.04LTS
Inkscape 0.92.4 (unknown) - as on the help splash.

Revision history for this message
Samuel (qvarker) wrote :

I also still have this problem, as I'm trying to create a template with locked guidelines and they become unlocked when opening the template (or the SVG directly).

Windows 10 64-bit
Inkscape 0.92.4 (5da689c313, 2019-01-14)

Revision history for this message
Samuel (qvarker) wrote :

Answer to my previous comment:

I can see now this is fixed, but not released. I just tested the last nightly build (1.0alpha (5f7a1b4, 2019-05-04)) and the guides remain locked when opening the same SVG file. Sorry for reopening an already fixed issue.
I download the nightly build from here: https://ci.appveyor.com/project/inkscape/inkscape/builds/24307242/job/5ihjji235qsm9awi/artifacts

I hope this comment answers the next person having this issue and reaching here.

Windows 10 64-bit
Inkscape 1.0alpha (5f7a1b4, 2019-05-04)

Max Gaukler (mgmax)
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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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