Selection Toolbar v1.0.0
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
ReaderHighlightbehavior 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/qrmessagewidget when available. -
Improved compatibility with other plugins by making the
IconWidgetpatch 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 toolbarVisible actionsShow all actionsVersion: 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 HTMLis shown only when the original KOReader action is available for the current document.Generate QR coderequires KOReader’s nativeui/widget/qrmessagewidget.- On narrow screens, the toolbar may use most of the available width when all actions are enabled.
- Disabling
Use compact selection toolbarrestores KOReader’s default selection menu.