Snap of rotation center stops being activable

Bug #1473306 reported by LucaDC
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Low
Unassigned

Bug Description

It happens that the button to activate the snapping of objects' rotation center (the one represented by a small cross) stops being effective.

Steps:
 - new document, default template, snapping of rotation centers is not activated;
 - draw a rectangle and a line: verify that the rotation center of the rectangle doesn't snap to the line's edges;
 - activate the button for snapping of objects' rotation centers and verify that the rotation center of the rectangle now snaps to the line's edges;
 - deactivate the main button for the group "Snap other points (center, guide origins, gradient handles, etc.)", DON'T DO ANYTHING MORE, and reactivate it: verify that when deactivating, all buttons in the group are deactivated and grayed out and when reactivating they all go back to their previous states (the button for snapping rotation centers too);
 - now do the same as before (deactivate the group button) but before reactivating it, drag the rectangle and do some snap (e.g. snap a rectangle corner to a line edge): the rotation center will not snap;
 - then reactivate the group button and verify that the rotation center snap button is not reactivated and you can't reactivate it anymore; or better, you can activate it but the snapping won't work and as soon as you change something else in the snapping toolbar (e.g. the text baseline snapping button) it will update to its real deactivated state.

The problem isn't triggered by changing single buttons, nor by the main snapping enable/disable button (but in the latter case it could be because you can't have intermediate snappings between deactivating and reactivating it so the steps can't be reproduced).

One way I've found so far to exit from this broken situation is saving the document and reopening it.
Another way, as reported by ~suv in comment #3, to 'reset' the snap option "Snap an item's rotation center" is to
1) open 'Edit > XML Editor'
2) select <sodipodi:namedview ...> in the node list on the left
3) delete namedview's attribute 'inkscape:snap-center'
After this, the snap setting "Snap an item's rotation center" can be reactivated in the snap controls bar, and works again as expected.

Windows XP, trunk rev. 14237

Tags: snapping
su_v (suv-lp)
tags: added: snapping
Revision history for this message
Diederik van Lierop (mail-diedenrezi) wrote :

I cannot reproduce this, using rev. 14200 on Fedora 22.

Revision history for this message
su_v (suv-lp) wrote :

Reproduced with Inkscape 0.91+devel r14200 and r14237 on OS X 10.7.5

There might be some minor confusion in the 'steps to reproduce':
* The local tests reproduced with the snap setting "Snap an item's rotation center" (Rotation Centers), and with dragging the rectangle's rotation center to snap to the cusp corners of the line.
* The reporter's description initially also refers explicitly to "snapping of rotation centers is not activated", but then later refers (vaguely) to "the button for snapping of objects' centers", "the button for snapping centers" or "the center snap button". These later references match the tooltip of the button above the one for the rotation center: "Snap centers of objects" (Object Centers) - a snap setting which involves dragging the rectangle itself so that the dragged object's midpoint snaps to the cusp corners of the line, independent of the location of the object's rotation center.

Revision history for this message
su_v (suv-lp) wrote :

On 2015-07-10 09:33 (+0200), LucaDC wrote:
> The only way I've found so far to exit from this broken situation is
> saving the document and reopening it.

Another way to 'reset' the snap option "Snap an item's rotation center" is to
1) open 'Edit > XML Editor'
2) select <sodipodi:namedview ...> in the node list on the left
3) delete namedview's attribute 'inkscape:snap-center'

After this, the snap setting "Snap an item's rotation center" can be reactivated in the snap controls bar, and works again as expected.

The reported issue does also reproduce with Inkscape 0.91 r13725; and with the oldest trunk build archived locally (r10795).

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

Sorry for being vague or not precise. When briefly referring to the "object's center" I always meant the movable rotation center, not the fixed one.
I've edited my first post adding a bunch of "rotation" where needed. I hope I haven't missed anyone.

description: updated
Revision history for this message
su_v (suv-lp) wrote :

Likely variation with other snap buttons: bug #1545564 (can be reproduced with the same steps described by LucaDC).

Revision history for this message
Ryan Stark (effluxion) wrote :

I can confirm this with 0.91 r13725. This function just stops working until you reopen the file.

Revision history for this message
Brynn (brynn4inks-deactivatedaccount) wrote :

Reproduced Windows 7 Pro, 64-bit, Inkscape 0.92.1, 64-bit, exe installer

"fixed" using the above 3 step XML Editor edit.

Revision history for this message
Jonathan Hofinger (jhofinger) wrote :

Hi - thanks for reporting this bug, I've manually migrated it to Inkscape's new bug tracker on GitLab, and closed it here.

Please feel free to file new bugs about the issues you're seeing at http://inkscape.org/report.

Moved to: https://gitlab.com/inkscape/inbox/issues/2279
Closed by: https://gitlab.com/jhofinger

Changed in inkscape:
status: Confirmed → Invalid
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.