Bug 459063 - Aspect ratio presentation
Summary: Aspect ratio presentation
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_kscreen (show other bugs)
Version: 5.23.5
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: kscreen-bugs-null@kde.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-13 14:25 UTC by CatKiller
Modified: 2022-09-14 13:08 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description CatKiller 2022-09-13 14:25:29 UTC
The mathematical aspect ratio of a display gets "corrected" to the more familiar ratios that people are used to. This should be done even if the screen is in a different orientation.

In particular, the Steam Deck uses and 800×1280 display, which is then rotated to act as a 1280×800 display. Most people would expect this to be described as a 16:10 (or 10:16) display. Instead it is described as a 5:8 display.
Comment 1 Bug Janitor Service 2022-09-13 23:57:41 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kscreen/-/merge_requests/130
Comment 2 Aleix Pol 2022-09-14 13:08:03 UTC
Git commit 072f7d26506785319dfc0a06c534040d8d8f2430 by Aleix Pol.
Committed on 13/09/2022 at 23:54.
Pushed by apol into branch 'master'.

kcm: When simplifying ratios, take into account that they could be rotated

The resolution could be 800x1280 instead of 1280x800 and we still want
to call them 10:16 rather than 5:8.

M  +4    -4    kcm/output_model.cpp

https://invent.kde.org/plasma/kscreen/commit/072f7d26506785319dfc0a06c534040d8d8f2430