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

Nate Graham <n...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
   Version Fixed In|                            |6.2.0
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/f015b73a48
                   |                            |576b249bf0a424543d544326ca8
                   |                            |b35
         Resolution|---                         |FIXED

--- Comment #7 from Nate Graham <n...@kde.org> ---
Git commit f015b73a48576b249bf0a424543d544326ca8b35 by Nate Graham.
Committed on 30/07/2024 at 03:16.
Pushed by ngraham into branch 'master'.

Loosen minimum screen size detection code for output scale calculation

We return early for screens with physical height reported as ≤ 0mm.

However some extremely dumb screens report a value for their height
greater than zero but absurdly small, causing the scale calculator to
go ballistic. Theoretically this could happen for widths, too.

Let's loosen the detection to flag a physical screen size as invalid if
either its width or height is less than 3mm. There is no screen that
can possibly make sense to exist at this physical size given the angular
resolution of the human eyeball. And if for some reason it does, 100%
scale is fine for it.
FIXED-IN: 6.2.0

M  +3    -2    src/outputconfigurationstore.cpp

https://invent.kde.org/plasma/kwin/-/commit/f015b73a48576b249bf0a424543d544326ca8b35

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

Reply via email to