some path effects lead to empty elements in the undo history

Bug #1075447 reported by Formerly Kevin Yin, now disabled on 2012-11-06
This bug report is a duplicate of:  Bug #456503: Undo crash and von Koch LPE. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Undecided
Unassigned

Bug Description

Inkscape 0.48.3.1 r9886 on Windows 7 (x64)

To reproduce:
Create a rectangle.
Apply the "Hatches (rough)" path effect to the rectangle.
Move the hatched rectangle.
Undo and redo. An empty element will appear in the undo history.

After the empty element has appeared, some twiddling (undo, redo, and clicking around in the undo history) will cause the undo history menu will develop an offset, thus becoming unusable.
The bug also appears with the "VonKoch" effect instead of "Hatches (rough)". I don't know how to use most of the other effects so I don't know if they exhibit similar behavior.

su_v (suv-lp) on 2012-11-06
tags: added: livepatheffects undo
su_v (suv-lp) wrote :

> Move the hatched rectangle.
> Undo and redo. An empty element will appear in the undo history.

Likely a duplicate of one of these earlier reports:
Bug #518741 “Undoing an "envelope" transformation triggers a segfault”
Bug #484057 “adding path effect not properly recorded in undo history => crash”
Bug #456503 “Undo crash and von Koch LPE”

Related:
Bug #540591 “Undo LPE editing in node tool crashes”

jazzynico (jazzynico) wrote :

Confirmed on Windows XP, Inkscape trunk revision 12481.

The console outputs the following messages:
----
** (inkscape.exe:3564): CRITICAL **: virtual void Inkscape::EventLog::notifyUndoEvent(Inkscape::Event*): assertion `_getUndoEvent() && (*(_getUndoEvent()))[_columns.event] == log' failed

** (inkscape.exe:3564): WARNING **: Incomplete undo transaction:
** (inkscape.exe:3564): WARNING **: Event: Set attribute d to "m 436.38591,434.14862 c 0,0 0.33923,-16.53794 0.52021,-41
.34483 0.18098,-24.8069 0.16583,-57.88276 -0.41032,-90.95862 -0.57616,-33.07586 -1.71334,-66.15172 3.35972,-90.95862 -1 ........

Changed in inkscape:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers