Skip to content

v3.0.5 — Pasting Pictures on Linux

Choose a tag to compare

@github-actions github-actions released this 18 Nov 15:29
· 14 commits to main since this release
v3.0.5
4e47b51

A fix release for pasting pictures: Ctrl+V now works on Linux systems where 3.0.4 did nothing, and a picture that is not a PNG is no longer saved as an empty file.

⚠️ Things that work differently after updating

  • Pressing Ctrl+V when the clipboard holds nothing Noteriv can paste leaves selected text alone. In 3.0.4 it deleted the selection.
  • A picture on the clipboard that is not a PNG, such as a bitmap or a JPEG, is saved as a PNG.

🖼️ Pasting pictures

  • Pasting a picture works in the AppImage and on Ubuntu 22.04 (#52). Their web engine, WebKitGTK 2.50, hands Noteriv an empty paste when the clipboard holds a picture, so Ctrl+V did nothing there in 3.0.4. Noteriv now reads the clipboard itself when a paste arrives empty.
  • Shift+Insert pastes a picture as well.
  • When the clipboard holds text beside the picture, as it does for cells copied from a spreadsheet, the text is pasted. With WebKitGTK 2.50, 3.0.4 pasted nothing in that case.
  • A bitmap or a JPEG on the clipboard is saved as a PNG. With WebKitGTK 2.54, 3.0.4 saved an empty file for it and left a broken picture in the note.
  • Noteriv reads the clipboard this way only right after Ctrl+V or Shift+Insert is pressed in its own window, and once for each press. A plugin or a script in a note cannot ask for the clipboard at any other moment.
  • Ctrl+V is recognised on keyboard layouts without Latin letters, such as Russian, as long as a Latin layout is set up beside it.
  • Known limit: an image file copied in a file manager still cannot be pasted on Linux. Drag it onto the note instead.
  • Tested on Linux, with real key presses, in the published AppImage (WebKitGTK 2.50) and in a build on Fedora 45 (WebKitGTK 2.54): a PNG, which is saved byte for byte, Shift+Insert, an empty clipboard with text selected, plain text, text beside a picture, a picture copied the way a browser copies it, a bitmap and a JPEG. In an AppImage built from the same commit also Caps Lock, a Russian layout, a pop-out window and a dropped file.
  • Not run: Windows and macOS, where the system hands the picture to Noteriv itself and the one change is that an empty paste no longer deletes the selection; a native Wayland session; an input method. If a paste does nothing for you, please say so in #52 and name your system and how you installed Noteriv.

📎 Other

  • Tested: a published 3.0.4 AppImage found this release, downloaded it, replaced itself and restarted as 3.0.5. The Windows and macOS update files are signed and checked against the app's key, but those installs were not run.
  • Docs: how pasting works on Linux.
  • Bumped the desktop app version to 3.0.5 across package.json, Cargo.toml, tauri.conf.json, and their lockfiles.