Skip to content

Copying an image to clipboard from clipboard history doesn't work. #826

@r6mez

Description

@r6mez

System information

  • Version: v0.16.11 (05cbd00)
  • Build info: GCC 14.3.1 - Release - LTO
  • Provenance: binary_release
  • OS: Arch Linux -
  • QT Platform: wayland
  • DE: GNOME/Wayland

Describe the bug

When trying to copy an image that exists in the clipboard history inside Vicinae, it doesn't do that; it gives the error Failed to copy to clipboard., and the logs give: GnomeClipboardServer: Empty data for format "application/x-qt-image".

To Reproduce

  • Copy an image.
  • Copy some text.
  • Access the clipboard from Vicinae, then go to the image and press Shift + Enter to copy, and an error will appear: Failed to copy to clipboard.

Expected behavior

The image is copied to the clipboard, and Vicinae closes, just like what happens with text entries.

Screenshots

Image

Additional context

I think it's related to GNOME's clipboard server compatibility, because it works on other DEs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions