https://bugs.kde.org/show_bug.cgi?id=395506

            Bug ID: 395506
           Summary: "use same aspect as pixel" ignores monitor resolution
                    when calculating display size
           Product: krita
           Version: 4.0.4
          Platform: MS Windows
                OS: MS Windows
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: iamsna...@gmail.com
  Target Milestone: ---

When using "Use same aspect as pixels", the size of the canvas ignores the
system/screen resolution.

Windows 10 uses an internal screen resolution of 96 DPI (which conveniently is
also what my monitors' native resolutions actually are). However, if I create a
12 inches tall 200 dpi image (2400 pixels high), and turn on "use same aspect
as pixels", the picture is scaled to be 864 real pixels tall at 100% zoom -
which measures only 9 inches (would be the appropriate value for 12" at 72dpi).

Turning on Hi-DPI mode in Krita does not seem to have any effect on this issue.
GIMP is somehow able to automatically detect the native pixel aspect of the
screen - maybe see how it does this?, though that may be something that needs
to be addressed upstream in Qt/KDE.

STEPS TO REPRODUCE:
* Make sure your system recognizes your monitor's real size in dpi. (Not sure
how to do that on Windows 10 other than that I luckily have monitors that work
with the default. I'm sure there's more options under Mac and Linux/BSD)
* Create a new document in Krita at 200 ppi with a real size (cm, inches)
smaller than your screen's physical size
* Enable the "Use same aspect as pixels" button in the lower right corner.
* Set the zoom slider to 100%.
* Measure the size of the canvas on-screen with a physical ruler.
* The canvas will be the wrong size unless your monitors are natively 72dpi.
(0.75x the specified size on a true-96-dpi monitor)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to