https://bugs.kde.org/show_bug.cgi?id=497571
            Bug ID: 497571
           Summary: Window recording gives incorrect resolution with
                    display scaling, in both spectacle and obs-studio
    Classification: Plasma
           Product: kwin
           Version: 6.2.4
          Platform: NixOS
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: screencasting
          Assignee: kwin-bugs-n...@kde.org
          Reporter: oxal...@pm.me
  Target Milestone: ---

SUMMARY

Window recording produces a video with resolution of actual resolution divided
by scaling factor (logical geometry?), rather than actual resolution, resulting
a blurry and small content. While full screen recording produces correct actual
physical resolution.

It is also reproducible in obs-studio
(https://github.com/obsproject/obs-studio) via "Screen Capture (Pipewire)":
with the same full screen game, capturing the full screen gives a 2560x1440
clear source, while capturing the game window itself gives a 2048x1152 blurry
source. (My display is 2560x1440 with 125% scale)

STEPS TO REPRODUCE

1. Have a 2560x1440 display, and set scale to 125%
2. Open "dolphin" and maximize it to occupy (almost) the full screen.
3. Open "spectacle", click "Recording" - "Window" - select the dolphin window.
Wait for one second and stop recording.
4. Repeat 3 but record with "Full Screen".

OBSERVED RESULT

The video from step 3 (window recording) is 2048x1104 for me, which is
approximately (2560/1.25)x(1440/1.25), minus the plasma panel on the top. The
text in video is also blurry and hard to read.
The video from step 4 (full screen recording) is exactly 2560x1440, the text
inside is clear and easy to read.

EXPECTED RESULT

The resolution of video from step 3 should be 2560x(1440 - top panel height) on
maximized dolphin window. And the text should be as clear as in full screen
recorded video.

SOFTWARE/OS VERSIONS

Operating System: NixOS 25.05
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel Version: 6.6.63 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700G with Radeon Graphics
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa Intel® Arc

ADDITIONAL INFORMATION

Also reproduced in obs-studio 30.2.3

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

Reply via email to