Skip to content

Selection Toolbar v1.0.0

Choose a tag to compare

First stable release of Selection Toolbar, a KOReader plugin that replaces the default centered text-selection menu with a compact icon toolbar displayed near the selected text.

Changelog

  • Added a compact horizontal toolbar for text-selection actions.

  • Replaced the default two-column centered selection menu.

  • Added smart positioning near the selected text, below the selection when possible and above it when needed.

  • Preserved KOReader’s native ReaderHighlight behavior by reusing the original action callbacks.

  • Added support for enabling or disabling individual toolbar actions.

  • Added direct icon loading from the plugin’s own icons/ folder.

  • Added a version entry in the plugin settings menu: v1.0.0.

  • Added QR Code generation using KOReader’s native ui/widget/qrmessage widget when available.

  • Improved compatibility with other plugins by making the IconWidget patch only handle explicitly provided icon paths.

  • Added small performance and organization improvements:

    • cached icon paths;
    • cached QR Code widget loading;
    • reduced repeated action-settings reads;
    • optimized page-offset calculation for toolbar positioning;
    • centralized toolbar button sizing and padding logic.

Available actions

  • Select
  • Highlight
  • Copy
  • Add note
  • Wikipedia
  • Dictionary
  • Translate
  • View HTML
  • Generate QR code
  • Search

Configuration

The plugin can be configured from:

Settings > Selection toolbar

Available options:

  • Use compact selection toolbar
  • Visible actions
  • Show all actions
  • Version: v1.0.0

Assets

Attach the plugin archive to this release:

selectiontoolbar.koplugin.zip

After downloading, extract or copy the folder:

selectiontoolbar.koplugin/

to KOReader’s plugins directory:

koreader/plugins/

On Kindle devices, the path may be:

/extensions/koreader/plugins/

Restart KOReader after installation.

Notes

  • View HTML is shown only when the original KOReader action is available for the current document.
  • Generate QR code requires KOReader’s native ui/widget/qrmessage widget.
  • On narrow screens, the toolbar may use most of the available width when all actions are enabled.
  • Disabling Use compact selection toolbar restores KOReader’s default selection menu.