| Summary: | Krita startup takes very long depending on size of files in recent files list | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Strongheart <strongheart_1> |
| Component: | Usability | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | felipelema, halla |
| Priority: | NOR | ||
| Version First Reported In: | 4.2.7.1 | ||
| Target Milestone: | --- | ||
| Platform: | Mint (Ubuntu based) | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Strongheart
2019-11-13 20:48:09 UTC
Yes, it does... But sorry, that's not a bug. That's because people want to see thumbnails for their recent files, and making a thumbnail of a big file takes longer. And 700 MB tiff files are silly big; almost as if they're astronomy photo's? (In reply to Boudewijn Rempt from comment #1) > Yes, it does... But sorry, that's not a bug. That's because people want to > see thumbnails for their recent files, and making a thumbnail of a big file > takes longer. And 700 MB tiff files are silly big; almost as if they're > astronomy photo's? They are panorama pictures (e.g. 20000 x 4000 x 16bit). The good thing: with *.kra -files (even with very big ones) it starts as quick as usual. Yeah, for kra files we simply open the zip file and read the thumbnail png image that's in there :-) Hm, maybe I could run the thumbnailing in a thread. Tiff, unfortunately, doesn't have a mandatory thumbnail embedded. would it be ok to load thumbnail in a separate thread /after/ startup Strongheart ? Can I go ahead and work on this (loading thumbnails in a separate thread launched /after/ startup)? Yes, sure! Make sure you check out QFuture: that's probably the right tool to use here. Another way to solve this would be to store the thumbnails in the cache. However, the procedure of storing thumbnails would be different in Windows and Linux, and because of the uncommon use case maybe its not worth the effort. Is there already a "it's currently loading" `QIcon` I can use as a stub / filler while I fetch the thumbnails? I don't think so. Created merge request for a fix https://invent.kde.org/graphics/krita/-/merge_requests/830 Fixed in 58790cae511f8633b3a336a651a999147315433a |