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

ato...@proton.me changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ato...@proton.me

--- Comment #2 from ato...@proton.me ---
Created attachment 176600
  --> https://bugs.kde.org/attachment.cgi?id=176600&action=edit
Shows the wrong pixel values for various global scale %

I can reproduce this on Kubuntu 24.10 (Plasma 6.1.5, Frameworks 6.6.0, Qt
6.6.2), Wayland, on a 2K monitor (2560x1440).

I tested various global scale percentages and I believe I found the "formula"
of the error.

On 100%, 200%, 300% pixels are reported correctly. 

In the attached table, I've shown the reported pixels when I select the
rectangular region to be as large as possible (i.e. to encompass the whole
screen) and I compared that with the expected resolution. Small rounding errors
are possible.

So for the fractional global scale values it seems that the number of pixels
displayed is A times larger than expected, where A is computed as:

A = CEIL(GlobalScale) / GlobalScale

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

Reply via email to