Pencil tool, flatten button: Path effects dialog doesn't update if applied

Bug #1630796 reported by Hachmann on 2016-10-05
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Undecided
Jabiertxof

Bug Description

The new 'flatten' button that removes the 'simplify' lpe from a path by performing the 'object to path' operation on it, does not lead to an update in the path effects dialog (trunk, version from Oct 4th in ppa), when used with a path that has previously been de-selected.

1. Draw path with pencil tool in new LPE simplify mode
2. Open Path Effects dialog.
3. Select something else.
4. Select path again with pencil tool.
5. Click on flatten button.
6. Dialog does not update.

Opening / closing the dialog, or minimizing it does not change this.

(first, this lead me to believe that the button didn't work, but it did. It's only the dialog that didn't do the expected thing)

su_v (suv-lp) wrote :

Reproduced with lp:inkscape/0.92.x r15094 (on OS X 10.7.5).

Note that hiding such a 'ghost' LPE (in the Path Effects dialog) triggers a crash.

tags: added: crash livepatheffects ui
Changed in inkscape:
status: New → Confirmed
Hachmann (marenhachmann) wrote :

Thank you, su_v, for verifying!

Jabiertxof (jabiertxof) on 2016-10-07
Changed in inkscape:
assignee: nobody → Jabiertxof (jabiertxof)
Jabiertxof (jabiertxof) wrote :

Fixes on trunk r.15150 and in 0.92.x in 15096
Thanks for filling the bug!

Changed in inkscape:
status: Confirmed → Fix Released
su_v (suv-lp) wrote :

AFAICT not fixed with lp:inkscape/0.92.x r15096

Steps to reproduce (incl. crash):
1) launch inkscape
2) switch to the Pencil tool
3) activate Simplify LPE on the Pencil tool controls bar
4) draw a path
5) draw another path
6) switch current selected path with <TAB>
7) open Path Effects editor
8) flatten the Simplify effect by clicking on the button in the Pencil tool controls bar
9) click on the Eye icon of the 'Simplify' path effect still listed as active in the Path Effects dialog

--> crash

The crash can also be reproduced with only one path drawn:
1) launch inkscape
2) draw a path with the Pencil tool using 'Simplify' LPE
3) switch to the select tool, de-select and re-select the path just drawn
4) open Path Effects dialog
5) switch to the Pencil tool
6) flatten the Simplify effect by clicking on the button in the Pencil tool controls bar
7) click on the Eye icon of the 'Simplify' path effect still listed as active in the Path Effects dialog

--> crash:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00000000000000e0
0x0000000100600906 in Inkscape::UI::Dialog::LivePathEffectEditor::on_visibility_toggled ()

Jabiertxof (jabiertxof) wrote :

Thanks for testing su_v.
Now is fixed on 0.92.x r.15097
and in trunk r.15153

Hachmann (marenhachmann) wrote :

Thanks, Jabier, I just tried it out. Works perfectly now!

Jabiertxof (jabiertxof) wrote :

You are welcome Maren

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers