Bug 299573 - Very big images as patterns freeze up Krita
Summary: Very big images as patterns freeze up Krita
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-07 17:38 UTC by basse
Modified: 2012-08-13 15:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description basse 2012-05-07 17:38:59 UTC
If you have very big images (2000x2000px for example) in your pattern directory, and you open up the pattern selection box, choosing one of these will freeze krita pretty bad.. on my computer it took couple of minutes until i could even move the mouse cursor. everything lagged. 
after the big wait, krita managed to finally load the image, and slowly everything returned back to usable.. so no crash.. but very high cpu / memory hit. 

.b

Reproducible: Always

Steps to Reproduce:
1. put 2500x2500px size jpeg into your krita pattern directory
2. open krita, create a new image
3. click pattern dialog open and click on your huge image.
4. wait
5. get coffee
6. go outside 
7. spend some time with your family
8. learn a new dance
9. continue using krita



these big images i have on my pattern directory, are not made with krita's ui to "save as pattern".. instead i just have huge images there, i like to sometimes use as backgrounds and textures. so they are made separately and placed there.
Comment 1 Halla Rempt 2012-05-07 21:01:39 UTC
Thanks, yes, I definitely can reproduce.
Comment 2 Sven Langkamp 2012-08-07 13:37:35 UTC
Git commit eadbe20ff869719eaeac28c07781025fa6c3a79d by Sven Langkamp.
Committed on 07/08/2012 at 15:33.
Pushed by langkamp into branch 'master'.

fix freeze when selecting a large pattern
REVIEW:105865

M  +2    -2    libs/widgets/KoResourceItemChooser.cpp

http://commits.kde.org/calligra/eadbe20ff869719eaeac28c07781025fa6c3a79d
Comment 3 Halla Rempt 2012-08-13 15:59:35 UTC
Git commit 1df9c26956c793e698ad04c44aa77c0de0e6bf7c by Boudewijn Rempt, on behalf of Sven Langkamp.
Committed on 07/08/2012 at 15:33.
Pushed by rempt into branch 'calligra/2.5'.

fix freeze when selecting a large pattern
REVIEW:105865

M  +2    -2    libs/widgets/KoResourceItemChooser.cpp

http://commits.kde.org/calligra/1df9c26956c793e698ad04c44aa77c0de0e6bf7c