-
-
Notifications
You must be signed in to change notification settings - Fork 173
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
tauri: copy to clipboard #4528
tauri: copy to clipboard #4528
Conversation
could you rebase it to merge into #4533? |
110d87f
to
b823845
Compare
I changed the base to target your commit so you get a nicer diff on the web view, we can first merge it to your branch actually or wait until it is merged or merge it into main afterward. |
For testing, I have the image visible in my clipboard manager but can not paste it really. Might be Nixos though. |
049ff3b
to
2347186
Compare
* add nix to gitignore * add copy to clipboard functionality * remove flake files * rm .envrc * move to clipboard
* add nix to gitignore * add copy to clipboard functionality * remove flake files * rm .envrc * move to clipboard
…also fix pasting of (non-image) files into composer (#4533) * tauri: implement `runtime.readClipboardImage` * fix pasting of files by using browser apis instead of `runtime.writeClipboardToTempFile` * remove now unused `runtime.writeClipboardToTempFile` * runtime: writeTempFileFromBase64 and writeTempFile * fix some lints * fix: translation fallback to 'en' not to 'en-US' (en-US isnt valid) * added changelog message * SetLocale functionality * Moved and organized files of tauri translation system * Implemented Error handling for i18n in extra file 'errors.rs' * fix fmt of this pr * fix lint of underlying pr * fix fmt * tauri: copy to clipboard (#4528) * add nix to gitignore * add copy to clipboard functionality * remove flake files * rm .envrc * move to clipboard * fix clippy lint * remove tmp files * remove debug print * side effects for desktop settings & first part of content protection * fix LocaleData.locale bug where it showed name instead of language code * cargo fmt * tauri: help window support for localisation * apply suggestions from code review * switch to nightly rustfmt to enable group_imports = "StdExternalCrateLocal" * go back to stable formatiing because group imports feature can change meaning of comments if not careful. * apply code review suggestions * cargo fmt * add changelog entry for tauri changes * fix cargo.lock after rebase --------- Co-authored-by: nojisan <[email protected]> Co-authored-by: Sebastian Klähn <[email protected]>
Add the capability to copy images to the clipboard