When setting the desired LoD plane, take the devicePixelRatio into account. The KisCoordinatesConverter zoom level is calculated in the logical pixel space but the canvas render is performed in device pixel space.
Please test with D7982 applied.
dkazakov | |
rempt |
Krita |
When setting the desired LoD plane, take the devicePixelRatio into account. The KisCoordinatesConverter zoom level is calculated in the logical pixel space but the canvas render is performed in device pixel space.
Please test with D7982 applied.
Lint Skipped |
Unit Tests Skipped |
Just a note: There is a small bug that if the Krita window is moved across two screens with different DPI scale factors, the LoD plane value isn't updated unless the zoom level is changed by the user... but it's not a regression, I can try fixing it later.
(Also happens if the monitor DPI scaling is changed on the fly, but I don't think Qt has an event for detecting it...)
The problem should be fixed in a different place. Please see this comment for details: https://phabricator.kde.org/D7982#152193