Krita Crashes while saving SeExpr script with empty thumbnail

Steps to reproduce:

  1. Create new document (1024x1024)
  2. Create new fill layer
  3. Choose SeExpr
  4. On the Options tab choose “Save New SeExpr Preset…”
  5. Click “Clear Thumbnail”
  6. Click Save - crash happens here.

I observe the same behavior on Krita 4.4.8

Krita: 5.0.0-beta1 (git 2e95dd5)

Also not sure if it has to be that way.


But by pressing a small pencil and setting the name to a script actually creates a duplicate with this name. I though this icon means “Rename”

What OS are you using?

You missed a step:
3a. On the Scripts tab, select one of the thumbnail images.

I see this with the Sept 02 5.1.0-prealpha appimage.
Terminal output:

kf5.ki18n: Trying to convert empty KLocalizedString to QString.
kf5.ki18n: Trying to convert empty KLocalizedString to QString.
Dialog “krita/generators/seexpr” has a widget without an object name: QScrollBar(0x30a1bb10)
Dialog “krita/generators/seexpr” has a widget without an object name: QScrollBar(0x309e33f0)
Segmentation fault

Looks like a bug report is needed :slight_smile:

I don’t see a duplicate script (with a different name) created with the Sept 02 5.1.0-prealpha. I see it being renamed.

Microsoft Windows 10.

I do not think so. I think if I clear the thumbnail krita should replace it with white (or any other color) or predefined icon telling that this script is without a thumbnail.

If I follow your steps exactly, then on the Options tab the ‘Save New SeExpr Preset’ button is greyed out.
I need to first select one by clicking on it in the Scripts tab.

Hm. Maybe in my case I have script selected automatically. But yeah. I guess you would have to select a script.

Ack. Filed 442096.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.