Bug 506963 - KRITA_USE_NATIVE_CANVAS_SURFACE=1 renders canvas at wrong position in subwindows multi document mode
Summary: KRITA_USE_NATIVE_CANVAS_SURFACE=1 renders canvas at wrong position in subwind...
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (other bugs)
Version First Reported In: git master (please specify the git hash!)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-12 18:18 UTC by Ming Chuan
Modified: 2025-07-12 18:18 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-07-12 18:18:47 UTC
SUMMARY

After subwindow is dragged to a new position, krita still renders canvas at the old position.

STEPS TO REPRODUCE
1. Run krita with `KRITA_USE_NATIVE_CANVAS_SURFACE=1`
2. Make sure "subwindow" is selected in krita config (General -> Window -> Multiple Document Mode)
3. Open a document
4. "unmaximize" the file by clicking on the second button out of 3 buttons at top right corner
5. Click on the title bar of the subwindow, drag it.
6. Observe that canvas is still being rendered at old position

Let me know if you have trouble reproducing or understanding the issue, I can take screenshot/video if needed.

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS

Wayland, synced right past [Rewrite Krita's zoom and pan infrastructure (!2423) · Merge requests · Graphics / Krita · GitLab](https://invent.kde.org/graphics/krita/-/merge_requests/2423)

ADDITIONAL INFORMATION