Bug 507066

Summary: Canvas Only Mode abruptly jumps when first moving canvas
Product: [Applications] krita Reporter: Jan <blaha.j502>
Component: * UnknownAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal Keywords: regression
Priority: NOR    
Version First Reported In: 5.2.10   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Jan 2025-07-15 12:41:12 UTC
SUMMARY
Toggling Canvas Only Mode (Tab) has sudden jump upon first movement of the canvas.
I believe this behavior didn't exist in 5.2.9, and is re-introduced in 5.2.10.

STEPS TO REPRODUCE
1. Create new Document
2. Zoom all the way out
3. Tab

OBSERVED RESULT
There's a broken dark edge of the canvas on the right and bottom of the screen.
https://imgur.com/ZBRhQez

And when canvas is moved around, it abruptly jumps to a new position
Video of behavior in 5.2.10
https://imgur.com/uWRsxWI

EXPECTED RESULT
When canvas is moved around, it should maintain the canvas position before toggling Canvas Only Mode, and not jump abruptly.

Video of correct behavior in 5.2.9
https://imgur.com/4IJUBAJ

SOFTWARE/OS VERSIONS
Windows: X
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Jan 2025-07-15 12:45:18 UTC
SOFTWARE/OS VERSIONS
Windows: Windows 11 Pro 26100.4484
Krita: 5.2.10 (git ea9eb7a)
Comment 2 Jan 2025-07-20 12:00:58 UTC
Fixed in 5.2.11 🙏