Skip to content

Copy to clipboard doesn't work on Wayland #2848

Description

@pintassilgo

Flameshot Version

Flameshot v12.1.0 (001726a)

Installation Type

Compiled from source

Operating System type and version

Linux

Description

Almost no copy function work on Wayland, both text or image:

  • Ctrl+C or button after creating a screenshot
  • "Copy URL" or "Image to Clipboard" on "Upload image" dialog (after uploading image to Imgur)

This one works, might be used as a tip to understand what is wrong in source:

  • "Copy URL" in "Upload History" dialog.

Interestingly, this one that works is the only one that doesn't produce any visual response like desktop notification saying "copied to clipboard". Others display a response saying it was copied, but it wasn't.

This is restricted to Wayland, I tried logging with X11 and it works.
But it isn't a limitation of Wayland because other apps obviously works fine to copy things to clipboard, be it image or text.

Tried with official openSUSE Tumbleweed package (12.0.0) and compiling latest source by myself, both are affected.

Steps to reproduce

As in description.

Screenshots or screen recordings

No response

System Information

Operating System: openSUSE Tumbleweed 20220725
KDE Plasma Version: 5.25.3
KDE Frameworks Version: 5.96.0
Qt Version: 5.15.5
Kernel Version: 5.18.11-1-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 1600 Six-Core Processor
Memory: 31,3 GiB of RAM
Graphics Processor: AMD Radeon RX 570 Series

Metadata

Metadata

Assignees

No one assigned

    Labels

    Unconfirmed BugThe bug is not confirmed by anyone else.WaylandWayland specific issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions