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

Bug: Clipboard MIMEType autodectection not functional for formats apart from JPEG/PNG #107

Open
Shinyzenith opened this issue Mar 23, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@Shinyzenith
Copy link
Member

This could potentially be an issue with wl-clipboard-rs and should be reported upstream after further investigation.

@Shinyzenith Shinyzenith added the bug Something isn't working label Mar 23, 2024
@Shinyzenith Shinyzenith self-assigned this Mar 23, 2024
@Shinyzenith
Copy link
Member Author

CC: @CheerfulPianissimo

@CheerfulPianissimo
Copy link

On further investigation, it appears that every encoding but .ppm is successfully detected. This is likely an issue with tree_magic_mini, the library used for mimetype autodetection which gives "application/octet-stream" for those.

Also to be noted that using the ppm encoding actually creates a .pam file and not a ppm image. They belong to the same family but are slightly different.

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

No branches or pull requests

2 participants