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

Zamundaaa <xaver.h...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/libkscreen/-/commit/6f79 |ma/kscreen/-/commit/cff5739
                   |7a908360de5c9654cd6cbd1dcc1 |c872393bfbfe9bca43a5763f4d9
                   |70b35207c                   |ec3e6e

--- Comment #6 from Zamundaaa <xaver.h...@gmail.com> ---
Git commit cff5739c872393bfbfe9bca43a5763f4d9ec3e6e by Xaver Hugl, on behalf of
Yifan Zhu.
Committed on 11/12/2023 at 15:23.
Pushed by zamundaaa into branch 'master'.

Round up output geometry

Under fractional scaling, output screens can have non-integral sizes.
Previous code uses QSizeF::toSize(), which rounds to the nearest
integer. This sometimes results in different screens sharing one pixel
at the edge, which causes BUG 464842 and BUG 477791.

Use the new Output::explicitLogicalSizeInt() and
Config::logicalSizeForOutputInt functions to explicitly round up
non-integral sizes.
Related: bug 477791

M  +6    -6    kcm/output_model.cpp

https://invent.kde.org/plasma/kscreen/-/commit/cff5739c872393bfbfe9bca43a5763f4d9ec3e6e

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

Reply via email to