Weird Envelope Deform. LPE behavior

Bug #246829 reported by Pablo Trabajos
2
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Maximilian Albert

Bug Description

On the attached file having a group (1) with a deformation LPE produces a strange behavior:
-The resulting object only has horizontal bars.
-When moving the result it spits a message to the terminal:
** (inkscape:12717): CRITICAL **: void Inkscape::LivePathEffect::Effect::addHelperPaths(SPLPEItem*, SPDesktop*): assertion `SP_IS_PATH(lpeitem)' failed
...and it doesn't show the handlers or moves correctly.

Steps:
   1- Make a copy of 1.
   2- Copy the LPE from 2.
   3- Paste the LPE from 2 over 1. It should give a result similar to 3.
   4- Drag the resulting object and watch your terminal for messages!

Revision history for this message
Pablo Trabajos (pajarico) wrote :
Revision history for this message
Maximilian Albert (cilix) wrote :

There is a bug in the recent changes to helperpath code, of which this message is only one visible manifestation. I will look into this.
(Stupid question regarding your description: how do you copy & paste the LPE?)

Changed in inkscape:
assignee: nobody → cilix
status: New → Confirmed
Revision history for this message
Pablo Trabajos (pajarico) wrote :

>(Stupid question regarding your description: how do you copy & paste the LPE?)
Ctrl-C with the original LPE selected (2 in the example) and then select the target object and paste it from Path->Path Effects...->Paste Path Effect

Revision history for this message
Pablo Trabajos (pajarico) wrote :

Is this solved now? I can't test it in Linux and on Windows XP inkscape (r21627) crashes when opening/importing/previewing the file attached above.

Revision history for this message
ScislaC (scislac) wrote :

I cannot even get this file to open with it crashing Inkscape. Via GUI it freezes when I attempt to click on the file in the "Open" dialog. Via commandline it emergency saves before the GUI is constructed.

ScislaC (scislac)
Changed in inkscape:
importance: Undecided → Medium
Revision history for this message
jazzynico (jazzynico) wrote :

Reproduced on Windows XP, Inkscape trunk revision 12481 (the file now opens correctly).

Changed in inkscape:
status: Confirmed → Triaged
Revision history for this message
Alvin Penner (apenner) wrote :

running Windows XP and Inkscape rev 12472. not sure whether to split this into two separate bugs or not.
- I can confirm the lack of handles, but not the crash.
- the copied object (#3) has no dotted bbox and no handles, but it can be selected with the mouse and it can be dragged with the mouse and it can be moved with the arrow keys on the keyboard.
- when following the original instructions for copying and pasting and dragging, I did not get any error messages on the console.

Revision history for this message
Jabiertxof (jabiertxof) wrote :

Seems fixed in current trunk r14968 on debian stretch

Revision history for this message
jazzynico (jazzynico) wrote :

Confirmed fixed with rev. 14968 on Windows XP (32-bit).

Revision history for this message
jazzynico (jazzynico) wrote :

Error messages fixed a long time ago (not even reproduced with 0.47).
Missing bars reproduced with 0.48.4, but fixed in 0.48.5.

Changed in inkscape:
milestone: none → 0.48.5
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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