Bug 447513 - Crash caused from using 'Search' form in the Pattern section of a Fill Layer
Summary: Crash caused from using 'Search' form in the Pattern section of a Fill Layer
Status: RESOLVED WORKSFORME
Alias: None
Product: krita
Classification: Applications
Component: Layer Stack (other bugs)
Version First Reported In: 5.0.0
Platform: Mint (Ubuntu based) Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-25 18:34 UTC by John
Modified: 2022-02-03 04:38 UTC (History)
2 users (show)

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


Attachments
backtrace from terminal (49.58 KB, text/plain)
2021-12-25 18:34 UTC, John
Details
long backtrace (127.29 KB, text/plain)
2021-12-25 18:34 UTC, John
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John 2021-12-25 18:34:06 UTC
Created attachment 144861 [details]
backtrace from terminal

Krita crashes while trying to filter available patterns with the Search form


STEPS TO REPRODUCE
1. Create a Fill layer and choose Pattern
2. Click the Search field and type anything 

OBSERVED RESULT
crash

EXPECTED RESULT
filter based on text

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

ADDITIONAL INFORMATION
Comment 1 John 2021-12-25 18:34:40 UTC
Created attachment 144862 [details]
long backtrace
Comment 2 Ahab Greybeard 2021-12-27 12:46:05 UTC
With the 5.0.0 appimage on Debian 10, I don't get a crash using those steps.
When I type letters into the Search field, the number of displayed patterns reduces appropriately and I can then select a pattern and press OK with a working result.

Were you using the appimage? If not, please try that to see if the crash still happens.
Comment 3 John 2021-12-27 17:02:59 UTC
I am using the appimage. Observed also that the same crash occurs with the Search in the fill gradient window. Perhaps it is affecting searches in general
Comment 4 Ahab Greybeard 2021-12-27 19:20:52 UTC
For a Fill Layer -> Gradient -> Gradient Colours -> Choose Gradient Preset, the Search facility works fine for me so I don't know what's going on.

Setting back to Reported.
Comment 5 John 2021-12-29 04:06:19 UTC
I did some additional experimentation and it looks like the issue is somehow connected to the data in the local config folder. After backing the data up, I did some selective folder deletes (keeping the brushes and custom palettes). So far, seems to clear up the sporadic crashing and search form crashes.

So, old data from 4.x seemed to be the culprit.
Comment 6 Halla Rempt 2022-01-04 14:44:43 UTC
* Do you mean you cleaned up kritarc or the resources folder?
* Can you share the resources folder with us as a zip file through a file sharing service like google drive or dropbox so we can investigate?
Comment 7 Bug Janitor Service 2022-01-19 04:36:31 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 8 Bug Janitor Service 2022-02-03 04:38:10 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!