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

            Bug ID: 510569
           Summary: Size label displays incorrect pixel dimensions when
                    using fractional scaling (125%, 150%, etc.)
    Classification: Applications
           Product: Spectacle
      Version First unspecified
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

SUMMARY
Size label displays incorrect pixel dimensions when using fractional scaling
(125%, 150%, etc.)

STEPS TO REPRODUCE
1. Enable fractional scaling in System Settings (e.g., set scaling to 125%)
2. Open Spectacle
3. Make a screen selection or observe the full screen size in the toolbar
4. Check the pixel dimensions shown in the size label

OBSERVED RESULT
The size label shows incorrect dimensions that don't match the actual pixel
size. With 125% scaling, the dimensions appear to be multiplied by 2.0 instead
of 1.25.

EXPECTED RESULT
The label should display the correct physical pixel dimensions of the
selection.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 PRO 6850U with Radeon Graphics
Memory: 16 Gio of RAM (13.4 Gio usable)
Graphics Processor: AMD Radeon Graphics

The bug is present with spectacle 6.4.5-2 and with spectacle compiled from git
master

in CaptureOverlay.qml the value of 
`return Geometry.rawSize(sz, SelectionEditor.devicePixelRatio)`
is wrong

sz is 1536x960 in my case and SelectionEditor.devicePixelRatio 2

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

Reply via email to