flameshot icon indicating copy to clipboard operation
flameshot copied to clipboard

Screenshot cropped to one monitor width when pinning on xwayland with multiple monitors

Open SamuraiNinjaGuy opened this issue 3 months ago • 3 comments

Flameshot Version

Flameshot v13.3.0 () Compiled with Qt 6.10.0

Installation Type

User repository (AUR)

Operating System type and version

Linux 6.17.8-arch1-1

Description

Pinning a screenshot wider than one monitor on a multi monitor setup will crop to one monitor width.

I don't know if this will also happen with vertically stacked monitors (though I suspect it would be the same issue), nor do I know what would happen with monitors of different sizes/resolutions.

I suppose TECHNICALLY not using QT_QPA_PLATFORM=xcb would prevent this, but only because I can only take a screenshot from my main monitor then.

Steps to reproduce

  1. run 'QT_QPA_PLATFORM=xcb flameshot gui'
  2. select area wider than one screen
  3. click pin
  4. pin will be made, but only be as wide as one monitor starting on the left

Screenshots or screen recordings

No response

System Information

Linux

Monitor Setup Image
inxi --width 80 --system --graphics System: Host: hostname Kernel: 6.17.8-arch1-1 arch: x86_64 bits: 64 Desktop: GNOME v: 49.1 Distro: Arch Linux Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900 GRE/7900M] driver: amdgpu v: kernel Device-2: Logitech HD Pro Webcam C920 driver: snd-usb-audio,uvcvideo type: USB Display: wayland server: X.Org v: 24.1.9 with: Xwayland v: 24.1.9 compositor: gnome-shell driver: X: loaded: amdgpu dri: radeonsi gpu: amdgpu resolution: 1: 1920x1080~60Hz 2: 1920x1080~60Hz API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast platforms: gbm,wayland,x11,surfaceless,device API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 25.2.7-arch1.1 renderer: AMD Radeon RX 7900 XT (radeonsi navi31 LLVM 21.1.5 DRM 3.64 6.17.8-arch1-1) API: Vulkan v: 1.4.328 drivers: radv surfaces: N/A Info: Tools: api: eglinfo, glxinfo, vulkaninfo x11: xdriinfo, xdpyinfo, xprop, xrandr
xrandr --listactivemonitors Monitors: 2
0: +*DP-3 1920/600x1080/340+0+0 DP-3
1: +HDMI-1 1920/600x1080/340+1920+0 HDMI-1
lspci | grep -i 'vga\|3d\|2d' 0b:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900 GRE/7900M] (rev cc)
uname -a Linux hostname 6.17.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 14 Nov 2025 06:54:20 +0000 x86_64 GNU/Linux
The dbus-monitor content signal time=1763531387.318492 sender=org.freedesktop.DBus -> destination=:1.1020 serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameAcquired string ":1.1020" signal time=1763531387.318527 sender=org.freedesktop.DBus -> destination=:1.1020 serial=4294967295 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameLost string ":1.1020" method call time=1763531415.694192 sender=:1.1024 -> destination=org.freedesktop.DBus serial=10 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.a11y.Bus'" method call time=1763531415.694213 sender=:1.1024 -> destination=org.freedesktop.DBus serial=11 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner string "org.a11y.Bus" method call time=1763531415.694265 sender=:1.1024 -> destination=org.freedesktop.DBus serial=12 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner string "org.a11y.Bus" method call time=1763531415.694321 sender=:1.1024 -> destination=org.freedesktop.DBus serial=13 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.a11y.Bus',arg1=''" method call time=1763531415.694344 sender=:1.1024 -> destination=org.freedesktop.DBus serial=14 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameHasOwner string "org.a11y.Bus" method call time=1763531415.694406 sender=:1.1024 -> destination=org.a11y.Bus serial=15 path=/org/a11y/bus; interface=org.freedesktop.DBus.Properties; member=Get string "org.a11y.Status" string "ScreenReaderEnabled" method call time=1763531415.694579 sender=:1.1024 -> destination=org.a11y.Bus serial=16 path=/org/a11y/bus; interface=org.freedesktop.DBus.Properties; member=Get string "org.a11y.Status" string "IsEnabled" method call time=1763531415.694751 sender=:1.1024 -> destination=org.freedesktop.DBus serial=17 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='signal',sender='org.a11y.Bus',path='/org/a11y/bus',interface='org.freedesktop.DBus.Properties',member='PropertiesChanged'" method call time=1763531415.694756 sender=:1.1024 -> destination=org.freedesktop.DBus serial=18 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.a11y.Bus'" method call time=1763531415.694762 sender=:1.1024 -> destination=org.freedesktop.DBus serial=19 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner string "org.a11y.Bus" method return time=1763531415.709989 sender=:1.1024 -> destination=:1.1021 serial=20 reply_serial=29

SamuraiNinjaGuy avatar Nov 19 '25 06:11 SamuraiNinjaGuy

I experience this issue on EndeavourOS Plasma v6.5.3 in a Wayland session.

Flameshot v13.3.0 Compiled with Qt 6.10.0 Version: 13.3.0-1

Pweekles avatar Nov 26 '25 13:11 Pweekles

I experience this issue on Windows 11 with multiple monitors.

Flameshot v13.3.0 (da913d7f) Compiled with Qt 6.9.2 winnt: 10.0.22631 windows: 11

Chrisalid avatar Dec 01 '25 12:12 Chrisalid

I recompiled flameshot with Qt 6.10.1. I can no longer reproduce this issue with xwayland.

I continue to have issues with #4402 (only the primary monitor has the ability to capture sections) in wayland. I can get a screenshot of both monitors using the launcher.

SamuraiNinjaGuy avatar Dec 04 '25 15:12 SamuraiNinjaGuy