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

Files pasted from the clipboard don't have an extension #835

Closed
KitsuneRal opened this issue Dec 18, 2022 · 2 comments · Fixed by #891
Closed

Files pasted from the clipboard don't have an extension #835

KitsuneRal opened this issue Dec 18, 2022 · 2 comments · Fixed by #891
Assignees
Labels
bug/fix Quaternion doesn't work as expected good first issue Looks easy to fix, a good first issue

Comments

@KitsuneRal
Copy link
Member

Description

Quaternion uses a temporary file name that has no extension to keep the file inserted from the clipboard. It would be better to also take the MIME type from the clipboard and derive an extension from that.

Version information

  • Quaternion version: 0.0.95.1
@KitsuneRal KitsuneRal added the bug/fix Quaternion doesn't work as expected label Dec 18, 2022
@KitsuneRal KitsuneRal added the good first issue Looks easy to fix, a good first issue label Jan 23, 2023
@ghost
Copy link

ghost commented May 12, 2023

What do you want to use the extension for? Can't the mime type be stored?

@KitsuneRal
Copy link
Member Author

This file name is sent to the room, therefore potentially used to save the file on the receiving machine; and on Windows extensions are still used to determine the opening application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/fix Quaternion doesn't work as expected good first issue Looks easy to fix, a good first issue
Projects
Status: Version 0.0.96 - Done
Development

Successfully merging a pull request may close this issue.

1 participant