Bug 502472

Summary: Krita 5.3.0 prealpha df5e19f8 : very laggy search function
Product: [Applications] krita Reporter: stephen <tgdev001>
Component: DockersAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: acc4commissions, griffinvalley, penguinflyer2222
Priority: NOR Keywords: regression
Version First Reported In: nightly build (please specify the git hash!)   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 5.3
Sentry Crash Report:

Description stephen 2025-04-06 04:18:16 UTC
SUMMARY
For some reason, the search function has become very laggy, 
wherever it's available( filter -> halftone-> pattern search, brush preset search, etc

STEPS TO REPRODUCE
1. Get into the brush preset interface or pattern interface
2. In the search bar, try to type something

OBSERVED RESULT
Very laggy behavior of the feature as you type a letter in the
bar

EXPECTED RESULT
No lag at all

SOFTWARE/OS VERSIONS
Windows 10
Comment 1 Freya Lupen 2025-04-06 13:11:01 UTC
Confirmed. It also happens on 5.2.x if the resource cache was modified by 5.3.x.

Related MR: https://invent.kde.org/graphics/krita/-/merge_requests/2368
Comment 2 wolthera 2025-05-08 15:54:36 UTC
This should be fixed now, as the metadata fixes and refactors got merged a few hours ago. If it still happens, don't hesitate to reopen!
Comment 3 acc4commissions 2025-05-08 16:08:29 UTC
(In reply to wolthera from comment #2)
> This should be fixed now, as the metadata fixes and refactors got merged a
> few hours ago. If it still happens, don't hesitate to reopen!

Is it pushed for the 5.2 builds too?
Comment 4 wolthera 2025-05-08 16:19:45 UTC
Because it is so huge, the patch is very hard to backport. It might even be that we will not backport it at all, given that the problem it fixes only happens when you use the nightlies.