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

Fixes and improvements around drag-n-drop #891

Merged
merged 9 commits into from
Jan 1, 2024
Merged

Conversation

KitsuneRal
Copy link
Member

Fixes #835. Also fixes problems with drag-n-drop of certain HTML, e.g. from LibreOffice.

Kitsune Ral and others added 9 commits December 30, 2023 22:18
First off, that allows to create it with the matching extension (not
used yet but will be); second, it's more robust and doesn't keep
a temporary file open whenever Quaternion runs even if no attaching
ever occurs.
They were used to make drag-n-drop work on the timeline area -
unfortunately the respective DropArea in the QML code was, uh, dropped
from the code accidentally, just before 0.0.95 was released. This
functionality will be reinstated in 0.0.97 in a more unified way - these
functions effectively duplicated what ChatRoomWidget was already doing
for drag-n-drop on the message input area.
We don't really need to store both the file name and a pointer to
the file; just a pointer to the file would do if non-temporary files
are treated as, well, files, not paths.
To maintain semblance of sanity in the preprocessed HTML.
@KitsuneRal KitsuneRal merged commit 0d3e80d into dev Jan 1, 2024
35 checks passed
@KitsuneRal KitsuneRal deleted the kitsune/image-attachments branch January 1, 2024 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Version 0.0.96 - Done
Development

Successfully merging this pull request may close these issues.

Files pasted from the clipboard don't have an extension
1 participant