Bug 428090 - Pattern feature produce lag in brush editor when parameters are adjusted
Summary: Pattern feature produce lag in brush editor when parameters are adjusted
Status: RESOLVED DUPLICATE of bug 437950
Alias: None
Product: krita
Classification: Applications
Component: Brush engines (show other bugs)
Version: 4.4.0
Platform: Appimage All
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-22 08:17 UTC by RamonMiranda
Modified: 2021-09-30 11:23 UTC (History)
3 users (show)

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


Attachments
images to compare the problem with lag in pattern feature (330.60 KB, image/png)
2020-10-22 08:17 UTC, RamonMiranda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description RamonMiranda 2020-10-22 08:17:01 UTC
Created attachment 132626 [details]
images to compare the problem with lag in pattern feature

SUMMARY
Brush editor suffer lacks while editing parameters if we use a normal RGB pattern. In my desktop with Win10 and i7 the elag is like 0.5 seconds. a bit. But in the laptop with Kubuntu last update october 2020 and i5 CPU The lag is arround 3-4 seconds. 
Only happens in brush editor while pattern is active. If we deactivate pattern feature the brush editor works perfectly again. 
The problem also dissapear if we use greyscale png images. I give link to 2 images as reference. 
Maybe is this maybe i am doing something wrong with RGB saving? let me know please.

The default Patterns works ok. this lag happens when you copy the png files to a pattern folder

STEPS TO REPRODUCE
1. Import two patterns included RGB and Greyscale png patterns. or Copy directly to the pattern folder
https://drive.google.com/drive/folders/1_g_VSbLhGUND7xre1BmXKv-BEnp2LPeH?usp=sharing
 
2. Open Krita if it is not open 
3. Activate the pattern feature and compare with the 2 imported patterns.

OBSERVED RESULT
lag with RGB png file
no lag with greyscale png file

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows:10 
macOS: 
Linux/KDE Plasma:Kubuntu 2020 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Tested in 4.3 and 4.4. Same result.
Comment 1 Tiar 2021-08-20 20:18:08 UTC
Related to bug 437950.
Comment 2 Dmitry Kazakov 2021-09-30 11:23:45 UTC

*** This bug has been marked as a duplicate of bug 437950 ***