Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drawing -c not working with Wayland #377

Closed
Faustop opened this issue May 13, 2021 · 3 comments
Closed

drawing -c not working with Wayland #377

Faustop opened this issue May 13, 2021 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@Faustop
Copy link

Faustop commented May 13, 2021

Description

Launching drawing with the --edit-clipboard option doesn't work, the application launches but doesn't open the clipboard image. Instead it displays the error message "The clipboard doesn't contain any image."

Note that subsequently clicking "New image from clipboard" on the menu does work, so it proves that the clipboard actually contains an image.

Steps to reproduce the bug

  1. Copy an image to the clipboard on other application
  2. launch Drawing with the --edit-clipboard option, or from the app icon's menu item "Edit clipboard content"
  3. It doesn't work.
  4. (extra step) click "Paste" (that will work, proving there is an image in the clipboard)

System

  • Device (desktop computer/tablet/phone/...): Laptop computer
  • OS: Arch Linux
  • Desktop environment: Gnome with Wayland
  • Package format: native from community repository
  • App version: 0.8.0
@Faustop Faustop added the bug Something isn't working label May 13, 2021
@maoschanz
Copy link
Owner

it works with the app installed as flatpak, i'll try tomorrow with a native package

also, maybe it's a matter of wayland or xorg? which one are you using?

@maoschanz
Copy link
Owner

maoschanz commented May 13, 2021

ok it looks like Wayland: on Debian Sid the option -c is broken with wayland but not with xorg

i edit your comment because the bit about "new image from clipboard" confused me when testing the problem

@maoschanz maoschanz changed the title drawing --edit-clipboard not working ("The clipboard doesn't contain any image.") drawing -c not working with Wayland May 13, 2021
maoschanz added a commit that referenced this issue May 26, 2021
though the async call itself is commented. Related to #377
@maoschanz maoschanz added this to the 0.8.x milestone Jun 24, 2021
@maoschanz maoschanz reopened this Jun 24, 2021
@maoschanz maoschanz pinned this issue Jun 25, 2021
@maoschanz
Copy link
Owner

maoschanz commented Jun 25, 2021

the fix i tried works but

like

only sometimes?

i let the issue opened but i suppose fewer people will encounter the problem in the future. I pin the discussion so people might see it and tell if it doesn't work for them. Edit: well if it's pinned it'll be visible even if closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants