https://bugs.kde.org/show_bug.cgi?id=510627
Dmitry Kazakov <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REPORTED |RESOLVED Latest Commit| |https://invent.kde.org/grap | |hics/krita/-/commit/00e1b0f | |e9e5ba7c7b06599cd4f4892b469 | |fd3b19 Resolution|--- |FIXED --- Comment #2 from Dmitry Kazakov <[email protected]> --- Git commit 00e1b0fe9e5ba7c7b06599cd4f4892b469fd3b19 by Dmitry Kazakov. Committed on 28/01/2026 at 12:24. Pushed by dkazakov into branch 'master'. Switch to coarse layer thumbnails when generation is slow When a layer has vast areas of empty pixels, it may be slow to calculate its exactBounds(). In this case, if thumbnail generation takes more than 40ms, Krita will automatically switch the layer into "coarse thumbnail generation mode" and use extent() instead. The status bar will also show a warning symbol and list the "slow layers" in a tooltip. A proper solution to this problem will come later in this MR: https://invent.kde.org/graphics/krita/-/merge_requests/2578 M +6 -6 benchmarks/kis_thumbnail_benchmark.cpp M +25 -4 libs/image/kis_base_node.cpp M +30 -2 libs/image/kis_base_node.h M +7 -10 libs/image/kis_layer.cc M +2 -2 libs/image/kis_layer.h M +2 -4 libs/image/kis_mask.cc M +1 -1 libs/image/kis_mask.h M +11 -6 libs/image/kis_paint_device.cc M +5 -2 libs/image/kis_paint_device.h M +26 -7 libs/image/kis_paint_device_cache.h M +2 -4 libs/image/kis_selection_based_layer.cpp M +1 -1 libs/image/kis_selection_based_layer.h M +8 -0 libs/image/kis_types.h M +1 -1 libs/image/tests/kis_paint_device_test.cpp M +16 -2 libs/ui/KisLayerThumbnailCache.cpp M +10 -0 libs/ui/kis_config.cc M +9 -0 libs/ui/kis_config.h M +1 -1 libs/ui/kis_custom_pattern.cc M +1 -1 libs/ui/kis_node_model.cpp M +49 -2 libs/ui/kis_statusbar.cc M +1 -1 libs/ui/utils/KisFileIconCreator.cpp M +1 -1 plugins/dockers/advancedcolorselector/kis_common_colors.cpp M +1 -1 plugins/dockers/animation/KisAnimTimelineFramesModel.cpp M +1 -3 plugins/dockers/historydocker/KisUndoModel.cpp M +1 -1 plugins/dockers/widegamutcolorselector/WGCommonColorsCalculationRunner.cpp M +1 -1 plugins/tools/tool_transform2/kis_tool_transform.cc https://invent.kde.org/graphics/krita/-/commit/00e1b0fe9e5ba7c7b06599cd4f4892b469fd3b19 -- You are receiving this mail because: You are watching all bug changes.
