Skip to content

Copy button and Ctrl+C do not copy to clipboard on Pop!_OS COSMIC Wayland (Flatpak) #4823

Description

@Synthoras

Flameshot Version

Flameshot v13.3.0
Compiled with Qt 6.9.3

Installation Type

Flatpak from Flathub

Operating System type and version

Pop!_OS 24.04 - COSMIC Desktop - Wayland

Description

Flameshot Version

Flameshot v13.3.0
Compiled with Qt 6.9.3

Installation Type

Flatpak (Flathub)

Operating System

Pop!_OS 24.04
COSMIC Desktop
Wayland

Description

Flameshot works correctly when launched with

flatpak run org.flameshot.Flameshot gui

I can capture and annotate screenshots without problems.

However:

  • Ctrl+C does nothing
  • the toolbar "Copy" button does nothing

The screenshot is NOT copied to the clipboard.

Interestingly, using the context menu (right click -> Copy to clipboard) works correctly.

Also, launching Flameshot with

flatpak run org.flameshot.Flameshot gui --raw | wl-copy --type image/png

copies the image successfully after pressing Enter.

Therefore the Wayland clipboard itself appears to work. The issue seems to affect only the normal Copy action (toolbar button / Ctrl+C).

Steps to reproduce

  1. Launch:
    flatpak run org.flameshot.Flameshot gui
  2. Select an area.
  3. Draw an annotation.
  4. Press Ctrl+C or click the Copy button.
  5. Paste into another application.

Expected behavior

The screenshot should be copied to the clipboard.

Actual behavior

Nothing is copied.

Right-click -> Copy to clipboard works.
The --raw | wl-copy workaround also works.

Additional information

Qt 6.9.3
Wayland
COSMIC
Flatpak

Steps to reproduce

  1. Launch:
    flatpak run org.flameshot.Flameshot gui
  2. Select an area.
  3. Draw an annotation.
  4. Press Ctrl+C or click the Copy button.
  5. Paste into another application.

Screenshots or screen recordings

No response

System Information

Pop!_OS 24.04
COSMIC Desktop
Wayland

Metadata

Metadata

Assignees

No one assigned

    Labels

    Unconfirmed BugThe bug is not confirmed by anyone else.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions