Skip to content

displayed Area size doesn't match pixels when DPI not 96 #358

@tux99

Description

@tux99
  • vokoscreenNG 4.5.0 (from git)
  • Manjaro Linux using XFCE desktop environment with custom DPI set to 100
    (set in the XFCE Settings Manager under Appearance > Fonts)

When selecting an Area the displayed resolution does not reflect the real resolution, it gets scaled based on the custom DPI setting.

Basically when the Area selector shows 1843x1036 on screen in reality an area of 1920x1080 screen pixels is selected and the resulting video also has a resolution of 1920x1080.

100 DPI = 96 DPI x 1.0417
1920 = 1843 x 1.0417

So it looks like the displayed resolution of the Area selector is being scaled by the custom DPI setting, but surely this should not happen as DPI should not affect pixels.

vokoscreenng-log.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions