flameshot-org / flameshot

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:
https://flameshot.org
GNU General Public License v3.0
24.22k stars 1.55k forks source link

Taking screenshot on Dual UHD screen (7.680 x 2.160 pixels) not working correctly #3378

Open NickUfer opened 9 months ago

NickUfer commented 9 months ago

Flameshot Version

Flameshot v12.1.0 (0bbb9528) Compiled with Qt 5.15.10

Command used for building:

cmake -S . -B build -DUSE_WAYLAND_CLIPBOARD=true -DUSE_WAYLAND_GRIM=ON && cmake --build build -j30

But this problem also occurred in 12.1.0-2 installed via apt.

Installation Type

Compiled from source

Operating System type and version

Kubuntu 23.10

Description

When I take a screenshot on a Dual UHD screen (7.680 x 2.160 pixels) it creates an editing view of 10.240 x 2.880 pixels.

See screenshots for better explanation.

Steps to reproduce

  1. Searching for "Take screenshot - Flameshot"
  2. Clicking it

Screenshots or screen recordings

This is the screenshot that gets created: 2023-10-13_13-43_final

But this is what I actually see and select (screenshot taken with Spectacle): Screenshot_20231013_134301_3

It increases the pixels from 7.680 x 2.160 to 10.240 x 2.880.

System Information

uname -a:

Linux nick-MS-7C35 6.5.5-060505-generic #202309230703 SMP PREEMPT_DYNAMIC Sat Sep 23 11:14:02 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

/etc/os-release:

PRETTY_NAME="Ubuntu 23.10"
NAME="Ubuntu"
VERSION_ID="23.10"
VERSION="23.10 (Mantic Minotaur)"
VERSION_CODENAME=mantic
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=mantic
LOGO=ubuntu-logo

xrandr:

Screen 0: minimum 16 x 16, current 7680 x 2160, maximum 32767 x 32767
DP-3 connected primary 7680x2160+0+0 (normal left inverted right x axis y axis) 1400mm x 400mm
   7680x2160    119.99*+

image

Operating System: Kubuntu 23.10
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.10
Kernel Version: 6.5.5-060505-generic (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 5950X 16-Core Processor
Memory: 31,3 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XTX
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C35
System Version: 2.0

This bug also happened on 23.04

BenjaminSchuermann commented 9 months ago

Same Problem for me. Its the screen scaling that shifts the capture screen. the shift size is dependent on the scaling.

Manjaro with KDE and two monitors

  1. UHD
  2. FHD
cskmnrpt commented 6 months ago

I have the same problem. KDE Neon. With a QHD External monitor attached to a FHD laptop.