Pinta icon indicating copy to clipboard operation
Pinta copied to clipboard

When using the "Mjukt tonat objekt" (Soft Toned Object?) the change is not applied

Open lammel-hub opened this issue 5 months ago • 8 comments

Description When applying the effect "Objekt" / "Mjukt tonat objekt" everything works well during the adjustments of settings.

When clicking OK, the applied effect simply is not there, the object looks just like before.

To Reproduce

  1. Open an ORA image
  2. Select an object shape in one of the layers
  3. Select Effect -> Object -> Soft Toned Object (not sure about English title)
  4. Make changes to the effect variables to see the object changes
  5. Click OK

Result: Changes not visible on object

Additional Info If applicable, add a screenshot or attach an example file that demonstrates the issue.

Image

Version Win 11, Pinta 3, tested with set GSK_RENDERER=vulkan and with set GSK_RENDERER=opengl

lammel-hub avatar Jun 27 '25 13:06 lammel-hub

Thanks for the report! This is the Feather Object tool in English

I haven't been able to reproduce this yet, but I wonder if it's a bug when the effect hasn't finished rendering before the dialog is closed. I've noticed a couple issues like that recently but haven't tracked down reproducible steps yet

cameronwhite avatar Jun 29 '25 17:06 cameronwhite

Thanks for looking into it 🙏

(The effect looks great before pressing OK, I would consider it "preview of effect to be applied", but then it disappears when OK is pressed)

lammel-hub avatar Jul 04 '25 15:07 lammel-hub

If it's possible to record a quick video of the issue happening, that might be helpful in case there's some specific UI action that causes it. It sounds like it's very reproducible for you, so I'm likely doing something a bit different in my testing

cameronwhite avatar Jul 05 '25 04:07 cameronwhite

Will try and report back 👍

lammel-hub avatar Jul 05 '25 06:07 lammel-hub

The video shows how an object is selected in one layer of an ORA file, the Feather Object effect applied and the it is not applied after OK is pressed. Hope this help explain.

(note: there is no difference if I invert the selection before applying the effect, or if the layer with the object is actively selected or not).

https://github.com/user-attachments/assets/612fe563-363b-4717-b928-cb87b3be4219

lammel-hub avatar Jul 05 '25 13:07 lammel-hub

Thanks! I think having the invisible layer selected is likely the issue - the effect is applied to the current selected layer, so if it's invisible you wouldn't see any changes. However, you also shouldn't see the live preview when the dialog is open either .. in my testing this was the case, so I'm still not sure what's different in your scenario :(

I may need to test on Windows in case there's anything different for some reason, but if you're able to attach the .ora file that might be helpful too

cameronwhite avatar Jul 05 '25 14:07 cameronwhite

Thanks, I can reproduce that now 👍 If you invert the selection and also have the lower (visible) layer selected then it does work for me.

I think at least part of the issue is that the effect preview isn't being clipped to the selection and renders inside the bounding box of the selection - this can be reproduced easily by drawing a circle selection and applying the clouds effect

cameronwhite avatar Jul 05 '25 14:07 cameronwhite

Fantastic! Then I see a work around, I only happened to test the different layers etc in a separate sequence.

Thanks for identifying, and perhaps find a mitigation to avoid other users' confusion

Thanks!

lammel-hub avatar Jul 05 '25 14:07 lammel-hub