Bug 413676

Summary: Resizing canvas no longer pixel-aligned
Product: [Applications] kolourpaint Reporter: Kai Uwe Broulik <kde>
Component: generalAssignee: kolourpaint-support
Status: CONFIRMED ---    
Severity: normal CC: martin
Priority: NOR    
Version First Reported In: 19.11.70   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Kai Uwe Broulik 2019-10-31 16:07:40 UTC
SUMMARY
When zooming in and resizing the canvas, the resize handle can be moved at will, making it hard to see where the cut-off point between pixels is.


STEPS TO REPRODUCE
1. Open an image in Kolourpaint
2. Zoom in to e.g. 1000%
3. Resize the canvas slowly

OBSERVED RESULT
See how the canvas resize handle moves directly with the mouse

EXPECTED RESULT
The canvas resize handle is moved respecting the pixel grid of the image, so that the canvas isn't unexpectedly cut off when releasing the mouse


SOFTWARE/OS VERSIONS
Kolourpaint Version: 19.11.70
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.1