Bug 468179

Summary: Assistants snap to the wrong center.
Product: [Applications] krita Reporter: ComfySoftPup
Component: Tool/AssistantsAssignee: Krita Bugs <krita-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.1.5   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Usage Log
System info
Before
After

Description ComfySoftPup 2023-04-05 17:59:39 UTC
Created attachment 157877 [details]
Usage Log

SUMMARY
Created assistants snap to the wrong center lines for the document.

STEPS TO REPRODUCE
Open a new file. A smaller file might make the effect easier to measure the pixels, but the effect occurs for any file size.

Create a new assistant. It is most easily obvious with rulers and ellipses, but it happens for any assistant.

Drag it around! You'll notice the assistants snap to the "center" lines of the document. Except, they are not. These center lines are off from the real document center, and as you pan and zoom around the canvas, the snapping positions will change.

Turning off View > Snap to > Image center disables the snapping of the assistants.
Comment 1 ComfySoftPup 2023-04-05 18:00:13 UTC
Created attachment 157878 [details]
System info
Comment 2 ComfySoftPup 2023-04-05 18:01:23 UTC
Created attachment 157879 [details]
Before
Comment 3 ComfySoftPup 2023-04-05 18:01:39 UTC
Created attachment 157880 [details]
After