Bug 454514

Summary: GMIC:Preview error for 'stroke' filter
Product: [Applications] krita Reporter: thetwo <thetwo222>
Component: G'Mic for KritaAssignee: amyspark <amy>
Status: RESOLVED UPSTREAM    
Severity: normal CC: amy
Priority: NOR    
Version: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: bug

Description thetwo 2022-05-28 04:44:04 UTC
Created attachment 149275 [details]
bug

SUMMARY
krita-nightly-x64-5.1.0-prealpha-0c31a5bcc5

Comparing 3.1.2 with the previous version and the windows independent version of gmic-qt, I am sure it has problems.
Comment 1 thetwo 2022-05-28 10:19:46 UTC
It is found that the GIMP version also has the same problem. I'm discussing with David:
https://discuss.pixls.us/t/some-feedback-problems-of-gmic-qt3-1-2/30960/9
Comment 2 amyspark 2022-05-31 22:52:21 UTC
Marking as RESOLVED UPSTREAM because I've verified (after fixing 453477) the issue resides in upstream's widget management.

Based on the preview's usage of gui_merge_layers, I'm inclined to think the stroke is being rendered with an offset while ignoring the original layer's position, which should cancel the offset and thus render them in line. I don't understand G'MIC's stdlib language, so can't test much further.