Summary: | Zoom ratio goes weird after changing (only) resolution of the document | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | acc4commissions |
Component: | General | Assignee: | Dmitry Kazakov <dimula73> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dimula73, lynx.mw+kde |
Priority: | NOR | ||
Version: | nightly build (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/207a9f4e8ca8825592c90ab5caffa5d86b9312b9 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | Screenshot of the button at the bottom-right corner |
Description
acc4commissions
2020-05-19 23:33:07 UTC
Hi, acc4commissions! Are you sure that you have "Use same aspect as pixels" button checked (it is places at the bottom-right corner of Krita window)? If this button is unchecked, then Krita's zoom levels try to show the image in "actual physical size". Created attachment 128627 [details]
Screenshot of the button at the bottom-right corner
Changing to NEEDSINFO After changing the resolution, the zoom values in screen pixels mode is indeed wrong until you toggle the "Use same aspect as pixels" off and back on, so I guess something needs to be updated for the new ppi value to show zoom levels correctly. Say you change ppi from 300 to 150 (without changing pixel dimension), your image suddenly displays twice as big, toggle the aspect button off and back on and it is back to what it should be. @DKazakov 1. Thanks! It was checked, but after unchecking it and checking it again Krita returned to what it's supposed to be. Can you make it work without having to re-check the button? 2. The resolution changes how big the vector texts in the same font size are drawn in the canvas. (Texts made before changing the resolution seem stay as they were, but newly created ones are different.) Is this part intentional? Git commit b36409a5ad553a66c35a769b8d1363c5f240e0e9 by Dmitry Kazakov. Committed on 20/05/2020 at 18:06. Pushed by dkazakov into branch 'master'. Fix zooming after changing image resolution We should take zoom-resolution into account when changing updating visual document size after changing document resolution. M +2 -1 libs/ui/KisView.cpp M +14 -8 libs/ui/kis_zoom_manager.cc M +3 -0 libs/ui/kis_zoom_manager.h https://invent.kde.org/graphics/krita/commit/b36409a5ad553a66c35a769b8d1363c5f240e0e9 Git commit 207a9f4e8ca8825592c90ab5caffa5d86b9312b9 by Dmitry Kazakov. Committed on 20/05/2020 at 18:07. Pushed by dkazakov into branch 'krita/4.3'. Fix zooming after changing image resolution We should take zoom-resolution into account when changing updating visual document size after changing document resolution. M +2 -1 libs/ui/KisView.cpp M +14 -8 libs/ui/kis_zoom_manager.cc M +3 -0 libs/ui/kis_zoom_manager.h https://invent.kde.org/graphics/krita/commit/207a9f4e8ca8825592c90ab5caffa5d86b9312b9 |