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

Noah Davis <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/spectacle/-/commit/e63c1
                   |                            |4c3d32c0a610470f3000298e891
                   |                            |bbc48b68

--- Comment #8 from Noah Davis <[email protected]> ---
Git commit e63c14c3d32c0a610470f3000298e891bbc48b68 by Noah Davis.
Committed on 03/02/2026 at 20:40.
Pushed by ndavis into branch 'master'.

CaptureOverlay: Fix sizes in size tooltips with screen scales smaller than the
largest

Previously, displayed selection sizes were based on the region of the internal
combined screens image that was selected for screenshots or the largest of all
screen scales for screencasts. That seemed a bit strange to users who wouldn't
have any clue about how spectacle works internally and was just wrong about the
final output sometimes. Now we try to show sizes based on the screen scales
that
overlap with the selection.

For screenshots, Spectacle tries to scale the image of the region to the
original screen scale if the region is only in an area with one scale. If
there are multiple scales, especially fractional scales, the image may be
larger than expected to some users due to Spectacle upscaling to an integer
scale. Upscaling to integers is done to preserve the crispness of integer
scale screens since fractional scale screens will typically have some issues
with blurriness anyway.

For screencasts, we use the largest screen scale overlapping with the selected
region.

M  +51   -36   src/Gui/CaptureOverlay.qml
M  +1    -1    src/Gui/SizeLabel.qml

https://invent.kde.org/plasma/spectacle/-/commit/e63c14c3d32c0a610470f3000298e891bbc48b68

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

Reply via email to