Bug 442070 - Difference of preview update frequency when using a filter that has control points
Summary: Difference of preview update frequency when using a filter that has control p...
Status: RESOLVED UPSTREAM
Alias: None
Product: krita
Classification: Applications
Component: G'Mic for Krita (other bugs)
Version First Reported In: 5.0.0-beta1
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-06 11:22 UTC by David Tschumperlé
Modified: 2021-09-08 19:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Preview update with the G'MIC-Qt plug-in for GIMP (1.34 MB, video/x-matroska)
2021-09-06 11:22 UTC, David Tschumperlé
Details
G'MIC-Qt plug-in running on Krita 5.0-beta1 (1.59 MB, video/x-matroska)
2021-09-06 11:23 UTC, David Tschumperlé
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Tschumperlé 2021-09-06 11:22:39 UTC
Created attachment 141329 [details]
Preview update with the G'MIC-Qt plug-in for GIMP

Testing G'MIC plug-in with Krita 5.0-beta1 (appimage for Linux).

When selecting a filter in G'MIC-Qt that has movable control points over the preview window, there is a clear difference on the preview update behavior between the plug-in for Krita and GIMP.

I've recorded two videos of the same filter (Deformations / Perspective) to show the difference.
Comment 1 David Tschumperlé 2021-09-06 11:23:11 UTC
Created attachment 141330 [details]
G'MIC-Qt plug-in running on Krita 5.0-beta1
Comment 2 Halla Rempt 2021-09-06 12:05:15 UTC
Amyspark, can you take a look?
Comment 3 amyspark 2021-09-06 18:15:27 UTC
A quick debug session (hampered by GDB struggling to keep up with the debugging symbols) shows that GMic-Qt drops almost all of the mouse events because the preview widget is always at "max zoom".

I'll continue tracing things later, with an update to 2.9.9, but please be aware that the preview widget code wasn't altered by my plugin porting.
Comment 4 amyspark 2021-09-08 19:40:31 UTC
Updated to 2.9.9 and compiled both v4 and v5 hosts. Both show the same unresponsiveness and event dropping on the preview widget.

As the Krita host has been essentially unaltered since my port, and I've not changed anything regarding rendering in the plugin-based host, I'm inclined to believe this is a bug for Sébastien's repo.