Many laptops still have a 1366x768 display. These should be considered 16:9, but due to the unusual width, KScreen calculates the aspect ratio as 683:384. Similar display resolutions that should be considered 16:9, but are displayed weirdly: - 1360x768: displayed as 85:48 - 1368x768: displayed as 57:32 STEPS TO REPRODUCE 1. Use a laptop with 1366x768 display, and/or connect a 1360/1366/1368x768 display. 2. Open Display Configuration. OBSERVED RESULT Aspect ratio is listed as 683:384, 85:48, or 57:32. EXPECTED RESULT Aspect raito should be listed as 16:9, even though it isn't exactly 16:9. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Gentoo amd64 KDE Plasma Version: 5.23.0 KDE Frameworks Version: 5.87.0 Qt Version: 5.15.2
lol
Git commit 15056b996116c2ec5fb51c89dc501758f4e3a5f7 by Felipe Kinoshita. Committed on 11/04/2022 at 01:03. Pushed by fhek into branch 'master'. Prefer more common aspect ratios over correct math Even though "43:18" or "683:384" are technically correct it's way more common to see "21:9" and "16:9", so let's display the more usual aspect ratios to the user. M +4 -0 kcm/output_model.cpp https://invent.kde.org/plasma/kscreen/commit/15056b996116c2ec5fb51c89dc501758f4e3a5f7