Skip to content

Image cut off when pasting into certain applications on Wayland #2063

@j-waters

Description

@j-waters

Flameshot version
Flameshot v0.10.1 (7199fd3)

Describe the bug

Using Sway version 1.6.1. When I take a screenshot using Flameshot, depending on the size of the screenshot, the image is cut off - and by size, I mean size in mb.

Here's me taking a screenshot of a gradient:
image

And me taking a screenshot of just a block of red of roughly the same resolution:
image

As you can see, when I paste the first image into Chrome (or Gimp), it's cut off.

This doesn't happen in every application - I can paste any screenshot into libreoffice just fine, and crucially I can use wl-clipboard to re-copy the image like so:

wl-paste | wl-copy

After I run that, I can past the image into chrome just fine

To Reproduce

Take a screenshot of something complex, then try pasting into Chrome

Expected behavior

For the full image to be pasted

System Information
Arch Linux
Sway version 1.6.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIt's a bugWaylandWayland specific issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions