Bug 510423 - [qt 6.10] Part of canvas stops rendering after moving Krita to another monitor, GL canvas resize safe assert triggered
Summary: [qt 6.10] Part of canvas stops rendering after moving Krita to another monito...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (other bugs)
Version First Reported In: git master (please specify the git hash!)
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-09 12:44 UTC by Ming Chuan
Modified: 2025-11-10 05:33 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ming Chuan 2025-10-09 12:44:46 UTC
SUMMARY

This is likely a qt 6.10 regression. I tried appimage built with wayland color management support and cannot repro there. Need to investigate further to be 100% sure.

This is probably not a wayland specific issue. If running krita under XWayland and moving to another monitor, it just completely freezes (without safe assert).

STEPS TO REPRODUCE
1. Open a file.
2. Move krita window you your second monitor. My second monitor is rotated, unsure if it matters. To be more exact, it's probably X server or compositor need to ask krita window to resize?
3. `SAFE ASSERT (krita): "QSize(viewportWidth, viewportHeight) == coordinatesConverter()->viewportDevicePixelSize()" in file krita/libs/ui/opengl/KisOpenGLCanvasRenderer.cpp, line 355` printed in terminal.
4. Part of the canvas stops rendering

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS

Qt Version: 6.10

ADDITIONAL INFORMATION
Comment 1 Ming Chuan 2025-11-10 05:33:42 UTC
Hmm I noticed that I can't reproduce this issue anymore, likely fixed by a recent commit