Extension: Pattern along path: vanishing objects and mask render problems

Asked by Hachmann

Hi again,

one more question of the 'known or not known' category, sorry!

For me, just now the 'pattern along path' extension did not *crash* Inkscape when toggling the live preview (as reported here: https://bugs.launchpad.net/inkscape/+bug/1131165), but it emptied the document (undo works, fortunately!).
I was able to reproduce this a few times in a row.
The XML editor only contained a single path after the operation and two out of several layers that previously existed.
When I clicked on the remaining path in the editor, it reappeared in the document, but the other stuff was still gone.
Unfortunately, I forgot to save a copy of the document at that time... :/

Then, after undo, I noticed that a masked object (far away, and not at all related to the 'pattern' or the 'path' used for the extension) had vanished because of this - it still existed, but was invisible. Releasing the mask and setting it again fixed this. Undo doesn't do anything here.

After this, I could no longer reproduce the emptying of the document, but the masked object still vanishes when I toggle the live preview on and then off...

(when re-opening the file, even after saving, the masked object is back, but the behaviour is reproducible)

Does this need a report? (even without a file for the first problem...?)
(lot of weirdness today in my document, I seem to be taking Inkscape to its limits... ;) )

Regards,
 Maren

Question information

Language:
English Edit question
Status:
Solved
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Solved by:
su_v
Solved:
Last query:
Last reply:
Revision history for this message
Best su_v (suv-lp) said :
#1

On 2015-06-15 01:46 (+0200), Hachmann wrote:
> For me, just now the 'pattern along path' extension did not *crash*
> Inkscape when toggling the live preview (as reported here:
> https://bugs.launchpad.net/inkscape/+bug/1131165), but it emptied the
> document (undo works, fortunately!). I was able to reproduce this a
> few times in a row. The XML editor only contained a single path after
> the operation and two out of several layers that previously existed.
> When I clicked on the remaining path in the editor, it reappeared in
> the document, but the other stuff was still gone. Unfortunately, I
> forgot to save a copy of the document at that time... :/

Not sure what might have happened here ... without test case or steps to
reproduce, a bug report at this stage won't really a lot help either. Do
you recall details about the content (and object types)? What was the
current layer level ("normal", <root> or inside a group/sub-layer)?

> Then, after undo, I noticed that a masked object (far away, and not
> at all related to the 'pattern' or the 'path' used for the extension)
> had vanished because of this - it still existed, but was invisible.
> Releasing the mask and setting it again fixed this. Undo doesn't do
> anything here.
>
> After this, I could no longer reproduce the emptying of the document,
> but the masked object still vanishes when I toggle the live preview
> on and then off...

Known issue with clippped and masked objects. If you open a second
(duplicate) view of the current document, the objects are rendered
visible (not actually lost).

> (when re-opening the file, even after saving, the masked object is
> back, but the behaviour is reproducible)
>
> Does this need a report? (even without a file for the first
> problem...?) (lot of weirdness today in my document, I seem to be
> taking Inkscape to its limits... ;) )

Already tracked in
Bug #248920 “Undo on external extensions deletes all clipped objects”
https://bugs.launchpad.net/inkscape/+bug/248920

(Note that live-preview does apply the extension and then undoes it when
toggled off again, thus bugs with undo might also be triggered with
live-preview)

Revision history for this message
Hachmann (marenhachmann) said :
#2

> Do you recall details about the content (and object types)? What was the
> current layer level ("normal", <root> or inside a group/sub-layer)?

The content is the same as here:
 http://staging.inkscape.org/en/gallery/item/22/ *minus* everything after the part about 'Patterns along Path' (Text plus stars/green paths) and maybe a few duplicates / tests...

At the time, I was working with the stars/top green line in that section, and they were still all on the 'text' layer.
(other layers existed, but I hadn't move those objects to their destination yet)

Thanks for finding that bug report, I wasn't able to find it with the info I had (mask, not clip, and concrete extension name....).
And also thanks for explaining some of the internals ;)

Regards,
 Maren

Revision history for this message
Hachmann (marenhachmann) said :
#3

Thanks ~suv, that solved my question.