Crash when trying to modify gradient

Every time I try to edit a gradient, the site crashes (I’m using design.penpot.app). Is this a known problem and is there a solution?

This is the traceback

– Spec failed --------------------

{:y …,
:transform …,
:rotation …,
:grow-type …,
:index …,
:name …,
:width …,
:type …,
:points …,
:r2 …,
:proportion-lock …,
:transform-inverse …,
:r3 …,
:r1 …,
:id …,
:parent-id …,
:frame-id …,
:strokes …,
:x …,
:proportion …,
:r4 …,
:selrect …,
:fills [{:fill-color-gradient {:start-x 0.5,
:start-y 0,
:end-x 0.5,
:end-y 1,
:width 1,
:type :linear,
:stops
[{:color “#d6f4f4”, :file-id nil, :offset 0, :opacity nil, :id nil}
{:color “#d6f4f4”, :file-id nil, :offset 1, :opacity 0, :id nil}]}}],
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^…
errors.cljs:191:7

1 Like

I couldn’t reproduce the error. Could you check if is still happening? If so, can you provide us info about the enviroment (saas or self hosted), hardware and browser?

Thanks!

I’m using the official design.penpot.app website. It is still happening. I can send you the file if it helps.

Hi @mflerackers, could you tell us which browser are you using?

No need, we’ve already digged into the problem and have some clues. It seems to be related to the use of gradients along with shadows. We hope to fix it soon.

Firefox 104.0.2 on OSX 12.6