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

Broken image preview in clipboard on certain websites #2560

Closed
ArubaitoR opened this issue Dec 1, 2023 · 1 comment
Closed

Broken image preview in clipboard on certain websites #2560

ArubaitoR opened this issue Dec 1, 2023 · 1 comment

Comments

@ArubaitoR
Copy link

ArubaitoR commented Dec 1, 2023

Describe the bug
When copying an image from a website (pixiv.net), copyq store the data as URL rather than image data (Screenshot 1). Resulting in broken image preview (Screenshot 2, 1st row of the clipboard).

To Reproduce
Steps to reproduce the behavior:

  1. Go to artwork page in pixiv.net (e.g. https://www.pixiv.net/en/artworks/105902302)
  2. Right click on image > Copy Image
  3. Open copyq to preview clipboard history
  4. Broken preview can be seen.

Expected behavior
Image data with working preview, just like the 2nd row on the clipboard of Screenshot 2.

Screenshots
Screenshot 1
URL
Screenshot 2
BrokenPreview

Version, OS and Environment

  • Application Version: 7.1.0
  • OS: Windows 10

Additional context:
This doesn't happen with default windows clipboard manager or alternatives like Ditto.

@ArubaitoR ArubaitoR added the bug label Dec 1, 2023
@hluk
Copy link
Owner

hluk commented Dec 4, 2023

I think this is duplicate of #2084. Some web browsers copy only HTML with links to remote images but CopyQ will not fetch any remote content in HTML (due to security concerns).

@hluk hluk closed this as completed Dec 4, 2023
@hluk hluk removed the bug label Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants