Bug 483398 - Cannot record a one pixel line on the right or bottom edge of the screen when using a rectangular selection
Summary: Cannot record a one pixel line on the right or bottom edge of the screen when...
Status: REPORTED
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (show other bugs)
Version: 6.0.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-13 03:22 UTC by Adam Fontenot
Modified: 2024-03-13 19:17 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Fontenot 2024-03-13 03:22:15 UTC
SUMMARY

This prevents, for example, selecting the full screen using a rectangular selection. On my 1920x1080 laptop screen, attempting to select the full screen results in a selection of 1919x1079

STEPS TO REPRODUCE
1. Try to select the bottom right corner of your screen in the "Screen Sharing" window.
2. Compare a recording of the selection to a screenshot of your screen, e.g. taken with Spectacle.

OBSERVED RESULT

The recording is missing the bottom row of pixels and the rightmost column.

EXPECTED RESULT

You can select all the way to the edge of the screen.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.9-arch1-1 (64-bit)
Graphics Platform: Wayland
Comment 1 Nate Graham 2024-03-13 17:53:05 UTC
Are you using a fractional scale factor, e.g. 125%? Does the issue go away if you switch to 100% or 200%?
Comment 2 Nate Graham 2024-03-13 17:56:52 UTC
Also, what kind of GPU are you using?
Comment 3 Adam Fontenot 2024-03-13 18:09:08 UTC
This is 1:1 1080p, no scaling. Integrated AMDGPU.
Comment 4 Adam Fontenot 2024-03-13 19:15:59 UTC
I think the original report may have been a bit unclear. This isn't only an issue with the recording, it's also an issue with the rectangular selection tool. Simply opening the Screen Sharing portal window and trying to select the whole screen shows "1919 x 1079" in the middle of the screen, as part of the selection preview.

Taking screenshots is simply how I checked that the issue is with the right and bottom edges, as opposed to the top and left edges.
Comment 5 Nate Graham 2024-03-13 19:17:58 UTC
Ok, thanks.