flameshot-org / flameshot

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

Flameshot only partially copying image #3646

Open eepy-goddess opened 1 week ago

eepy-goddess commented 1 week ago

Flameshot Version

Flameshot v12.1.0 (-) Compiled with Qt 5.15.14 linux: 6.6.34 nixos: 24.11

Installation Type

Linux, MacOS, or Windows Package manager (apt, pacman, eopkg, choco, brew, ...), Compiled from source

Operating System type and version

NixOS 24.11.20240620.d603719

Description

I am using River on Wayland, and I have xdg-desktop-portal-wlr properly set up, and i have flameshot installed via nix. I overrode the nix package so it would compile with the cmake flag USE_WAYLAND_GRIM being true. If i make a large selection with the gui window of flameshot and copy the image, it'll only partially copy the top of the image but leave out the rest of the contents. However, when i tell flameshot to save the image to a file, the full image will be saved.

Steps to reproduce

  1. Start the flameshot daemon with flameshot & disown
  2. Run flameshot gui
  3. Select a large region and copy the resulting screenshot
  4. Image will only partially be copied

Screenshots or screen recordings

Gimp image result after I paste a screenshot taken by flameshot: image

System Information

OS: NixOS 24.11.20240620.d603719 Monitor Config:

Display Protocol: Wayland Window Manager: River

j9aq commented 2 days ago

Seems like a dupe of #3329.