Commodore64user
23230cf5a0
use screenkb to call lookinputword
2026-07-24 17:47:04 +01:00
David
ac5cb79b57
[ReaderKeySelection] rework addToMainMenu ( #15685 )
2026-07-16 20:09:48 +01:00
David
74a1732a78
[ReaderLink, Back] clear page links with Back key ( #15613 )
2026-06-30 18:02:49 +01:00
David
86357d12a6
[InputDialog] NT: remove separator from widget's layout ( #15602 )
2026-06-29 16:19:31 +01:00
Commodore64user
4d9c47bf55
correct tense
2026-06-22 23:00:59 +01:00
Commodore64user
c03625c5d5
insert book_title_button only in vocab_builder widget
2026-06-22 23:00:59 +01:00
David
bb3514bdf1
flash word when starting indicator ( #15571 )
2026-06-21 17:29:57 +01:00
David
33b7143223
[ReaderKeySelection] NT: add indicator overlay ( #15547 )
2026-06-17 19:24:46 +01:00
Commodore64user
fb1dfebd9c
add page turn event to textviewer
2026-06-06 14:34:06 +01:00
Commodore64user
32a8c30c1f
switch to single BD.mirroredUILayout call during registerKeyEvents
2026-06-04 17:41:26 +01:00
Commodore64user
25de07cab6
clear 'find in definition' search with TitleBar's close button (X)
2026-06-04 17:41:26 +01:00
Commodore64user
3980752af0
swap top/second rows in lookupInputWord
2026-06-04 17:41:26 +01:00
Commodore64user
cf7023f05d
replace readerrolling broadcast events with single-dispatch calls
2026-06-04 17:41:26 +01:00
David
c35c508be7
[TextBoxWidget] Find in definition (wiki edition) ( #15356 )
2026-05-31 13:52:30 +01:00
Commodore64user
5789a09ded
KeySelection: open links at current indicator position, footnote handling
2026-05-27 14:21:26 +02:00
Commodore64user
0f01690a19
KeySelection: start select mode when page is turned during text selection, see https://github.com/koreader/koreader/issues/13132
2026-05-27 14:21:26 +02:00
Commodore64user
2c0f541516
KeySelection: add per-doc support for RTL traversal
2026-05-27 14:21:26 +02:00
Commodore64user
82a5f20b25
KeySelection: snap crosshairs to words within crengine documents
...
for pdf/djvu files the crosshairs continues to work freely as before. This commit introduces primaraly the methods _getAdjacentLineWordRolling and _getAdjacentWordRolling which handle finding the next word vertically and horizontally respectviely. We now handle hyphenated words much more predictably in _isSplitHyphenatedWord as we no longer require using heuristics.
2026-05-27 14:21:26 +02:00
Commodore64user
952ebafe2d
KeySelection: add new event handlers and call startIndicator from keyselection instead of readerui
2026-05-27 14:21:26 +02:00
Commodore64user
3d1b954f52
KeySelection: add getNearestWordAndBoxFromPosition, see https://github.com/koreader/koreader-base/pull/2345
2026-05-27 14:21:26 +02:00
Commodore64user
adf60de731
KeySelection: add registerToMainMenu in readerkeyselection, remove old creation from readerhighlight
2026-05-27 14:21:26 +02:00
Commodore64user
41c562c4c4
KeySelection: move text selection from readerhighlight to readerkeyselection
2026-05-27 14:21:26 +02:00
David
17b9a64aed
[DictQuickLookUp] bug_fix: don't mutate default_layout ( #15422 )
...
reported https://github.com/koreader/koreader/pull/15184#issuecomment-4485312065
2026-05-20 09:54:04 +02:00
David
98cf880b17
Bug fix: ensure default_layout is up to date when generating menu ( #15340 )
...
* ensure self.default_layout is up to date when callig menu
* add spacebar key_event as requested in #15158
2026-05-06 21:14:21 +01:00
Commodore64user
8dfdbbe48f
add spacebar key_event as requested in #15158
2026-05-06 14:03:23 +01:00
Commodore64user
2797d940bb
ensure self.default_layout is up to date when callig menu
2026-05-06 02:05:12 +01:00
David
ed695fe34f
[DictQuickLookup] add custom button layout ( #15184 )
...
Provides an API for plugins and patches to add buttons to dictionary widget
2026-05-04 22:34:40 +01:00
David
1e0e859ba8
[Hotkeys] add single-key shortcuts ( #14867 )
2026-04-28 15:09:12 +01:00
David
e098329b63
[KeyValuePage] Fix keyboard hold events targeting wrong item ( #15305 )
2026-04-23 17:38:50 +02:00
David
9cef2f1198
[MultiInputDialog] Split password field and checkbox ( #15234 )
2026-04-08 10:26:33 +02:00
David
15f86981a5
[DictQuickLookup] detection and key-event injection for SDL devices ( #15158 )
2026-03-25 14:52:20 +00:00
David
80cb27dbf5
[HtmlBoxWidget, DictQuickLookup] add capability to search within dictionary definitions ( #15001 )
...
Adds in-definition search to DictQuickLookup relaying on MuPDF's word-matching implementation, uses tap handling for navigation by allowing temporary disable/restore of Tap events.
2026-03-21 13:29:45 +00:00
David
fdd810d5a1
Refactor duplication in #15088 ( #15094 )
2026-03-08 17:39:11 +01:00
David
33654af8a7
[Calibre] preserve uuid field in calibre metadata serialisation ( #15088 )
...
Otherwise calibre wil raise an error when its nil:
```
calibre, version 9.4.0
ERROR: Error: Error communicating with device
'uuid'
Traceback (most recent call last):
File "calibre/gui2/device.py", line 110, in run
File "calibre/gui2/device.py", line 581, in _books
File "calibre/devices/smart_device_app/driver.py", line 58, in _synchronizer
File "calibre/devices/smart_device_app/driver.py", line 1316, in books
KeyError: 'uuid'
```
2026-03-08 09:11:27 +01:00
David
5cd27cff1d
fix incorrect migration comment ( #15086 )
2026-03-07 18:54:46 +01:00
David
bed8f558fa
Switch virtual keyboard default to false on hasKeyboard ( #15057 )
2026-03-07 08:24:16 +01:00
David
59e70d5f4d
[Dispatcher] remove Gesture overview from non-touch devices ( #15059 )
2026-03-02 17:58:00 +01:00
David
06d9512da7
[Language] i18n: add Slovenian language ( #15050 )
...
* #15048
* closes #15049
2026-02-28 17:22:48 +01:00
David
34c77238e0
[DictQuickLookup] NT: fix utf8 byte drift during text selection ( #15015 )
...
* refactor handling of faked event HoldRelease for text selection on NT, make sure we close the cycle properly so we don't get any byte drift when dealing with non-ascii characters.
2026-02-24 22:08:32 +00:00
David
7de4f4c6ef
[Hotkeys] correct function call to stop crosshairs ( #15009 )
2026-02-19 15:33:02 +00:00
David
09982fe6cb
NT: stop text selection before any reflow action occurs ( #14949 )
...
* refactor onStopHighlightIndicator so it returns early
* stop text selection when opening menus or triggering hotkeys
* use self.ui.highlight (naturally)
* remove duplicated setDirty
2026-02-16 14:23:02 +00:00
David
642ec66d68
[InputText, ReaderStyleTweak] Add copy/paste to NT devices ( #14941 )
...
Closes #12772 .
2026-02-06 22:44:50 +01:00
David
3103627ff9
[DictQuickLookup] NT: add key_event for following links and switching (dict-wiki) domains ( #14909 )
...
* Removed the hold-duration logic for switching between dictionary and wiki lookups, simplifying the process and removing timing-based domain switching, this was a terrible idea on my part (in hindsight, the implementation I mean).
* Added a new `TextSelectorModifierPress` key event and corresponding handler (`onTextSelectorModifierPress`) to explicitly switch domains (Dict <-> Wiki) during text selection, and for following links inside dictionary entries, thus making the feature more discoverable and reliable.
* Refactored the lookup logic into a dedicated `_performLookupOnSelection` function, improving code clarity.
* Updated the gesture coordinate calculation in `_createTextSelectionGesture` to use `text_widget` absolute position instead of `definition_widget`, ensuring correct screen coordinates and accounting for container padding.
2026-02-06 11:27:35 +01:00
David
0fb2840a0d
[InputText] Decouple text input state from VirtualKeyboard visibility pt. 2 ( #14937 )
...
Follow-up to https://github.com/koreader/koreader/pull/14901
2026-02-05 23:59:47 +01:00
David
2cb6f157ff
[TextViewer] bug fix, don't crash on Menu press ( #14936 )
2026-02-05 17:03:34 +01:00
David
66e22590ef
[NT] ImageViewer: add pan key_events to viewer ( #14938 )
...
Fixes #14934 .
2026-02-05 16:25:11 +01:00
David
8285f4e3bb
[InputText] Decouple text input from VirtualKeyboard visibility ( #14901 )
...
Previously, on SDL targets (Desktop, Ubuntu Touch), the system text input loop was gated by the visibility of the On-Screen Virtual Keyboard. Hiding the VK would call Device:stopTextInput, effectively disabling the physical keyboard.
This commit binds the text input state to the lifecycle of the InputText widget instead:
* Improve up/down behavior. Down at the end of an input moves focus down, up at the beginning moves focus up.
* Undo removal of key_event for touch devices, allowing vk to work regardless of vk state, #FreeTheKeyboard
2026-02-03 22:10:53 +01:00
David
cd49bf335a
[ReaderDictionary] clean stress marks from selection for dict search ( #14856 )
2026-01-27 14:20:22 +01:00
David
29328abad4
Add hidden flows to nt dispatcher ( #14682 )
2025-12-02 16:01:18 +01:00
David
5ac434183d
[minor] Rename file_cap to max_files ( #14522 )
...
See <https://github.com/koreader/koreader/pull/14521#issuecomment-3452885094 >.
2025-10-28 12:43:08 +01:00
David
393837b919
[Screensaver] Add an adjustable cap (default 256) to the number of random images processed ( #14521 )
2025-10-27 19:31:04 +01:00
David
8372b66ead
[DocSettingTweak] add doc tweaks to kindle NT ( #14412 )
...
* fixes #8596
* fixes #7356
2025-10-15 16:04:07 +02:00
David
92effcf9fb
Replace checkboxes with radio buttons where appropriate ( #14431 )
2025-10-14 22:53:47 +02:00
David
6d49c261fa
[ReaderHighlight] preserve highlight when using highlight dialogue ( #14437 )
2025-10-14 15:22:27 +02:00
David
4557ee9524
[Readtimer] bug fix: fix focus when setting a timer ( #14420 )
2025-10-14 14:05:27 +02:00
David
99f4eaeaae
[ReaderDictionary] Offer search with presets when dict fails to find match ( #14399 )
2025-10-04 09:59:30 +02:00
David
ffe4c4a1f1
[fix] Sleep screen: change condition for message height calculation ( #14403 )
2025-10-03 16:46:09 +02:00
David
e68452674d
[ScreenSaver] Allow sleep screen message to be placed anywhere on screen ( #14371 )
2025-10-01 08:59:20 +02:00
David
65de86a9ad
[ReaderDictionary] Offer fuzzy search when dict query fails [to find a match] ( #14343 )
2025-09-20 00:03:28 +02:00
David
44b1b8130c
[SortWidget] bug fix: Fix keyboard hold events targeting wrong item ( #14252 )
2025-09-18 15:39:37 +02:00
David
f1c233f806
[CalendarView] bug fix: fix keyboard hold events targeting wrong item ( #14314 )
...
### what's new
* Added logic in `init` to override FocusManager's `onHold` key event.
* Implemented the `CalendarDayView:onHoldNonTouch()` method to handle keyboard-triggered hold events by invoking the `onHold()` method on the currently focused calendar item.
### related issues
* fix #14238
* same as #14252
2025-09-14 17:11:41 +02:00
David
672be80e49
[KeyValuePage] back button returns to parent ( #14270 )
...
fix #14266 , back button returns to parent
2025-09-09 23:09:37 +02:00
David
ec79e6169c
[BookMapWidget] NT: add new method GoToFocusedPage ( #14225 )
2025-09-01 16:39:51 +02:00
David
6c25d045eb
Invert progress bar direction, independently of UI layout (LTR/RTL) ( #13382 )
2025-08-29 08:13:01 +02:00
David
1ad234d754
[Device, kindle] early return if kindleGetCurrentProfile() is nil ( #14219 )
...
fixes #14215
2025-08-28 23:01:58 +02:00
David
1eb9b55ab2
[ReaderDictionary] bug fix: use individual gsubs for "·", "|" and "↑" ( #14118 )
2025-08-11 14:00:37 +02:00
David
105abfa159
[ReaderDictionary] Clean interpuncts, pipes and up arrows from text selection ( #14031 )
2025-07-14 22:48:01 +02:00
David
899c257904
[fix] Close keyboard after calling search with preset ( #13976 )
2025-06-23 09:22:03 +02:00
David
b2f9530788
[DictQuickLookup] create addQueryWordToFirstResult method ( #13911 )
...
So it can be disabled with a userpatch.
2025-06-21 11:37:13 +02:00
David
d993146480
[ReaderHighlight] NT: add better support for extending highlights ( #13917 )
2025-06-21 11:37:01 +02:00
David
6bc5b16282
[ReaderHighlight] NT: add key event to simulate a very long press ( #13914 )
2025-06-21 11:36:10 +02:00
David
306fd6c514
[Hotkeys] remove alphabetic hotkeys from K4 ( #13950 )
2025-06-21 08:12:03 +02:00
David
30499e33b0
Add new presets.lua module and dictionary presets ( #13774 )
2025-06-20 23:33:45 +02:00
David
c3352ee171
[ReaderDictionary] Match words when they are Capitalised in non-fuzzy search ( #13884 )
2025-06-05 08:04:22 +02:00
David
06661b05ab
[DictQuickLookup] Enable temporary large window for open dictionary window ( #13862 )
2025-06-02 14:58:24 +02:00
David
765e1e37ba
[Hotkeys] bug fix: don't override readerfont when reading pdf/djvu files ( #13896 )
...
Reported https://github.com/koreader/koreader/issues/13895#issuecomment-2923450941
2025-05-31 10:19:53 +02:00
David
c2acb1f66e
[MovableContainer] Allow widget repositioning on non-touch devices ( #13703 )
2025-05-25 09:11:07 +02:00
David
2512f06eb0
[ReaderDictionary] Enable dictionary prioritisation via new menu ( #13768 )
2025-05-21 19:16:00 +02:00
David
af1829a270
[ScreenSaver] Handle case where a file is lastfile but has now been reset ( #13747 )
2025-05-15 23:32:12 +02:00
David
be7b8b4358
Emulator: set useDPadAsActionKeys flag with DISABLE_TOUCH ( #13769 )
2025-05-11 09:09:06 +02:00
David
8e10a3e7a2
[screensaver_menu] QoL: make changing random folder easier ( #13584 )
2025-05-02 12:17:25 +02:00
David
acbde33b2b
[ReaderFooter] add status bar presets ( #13689 )
2025-05-02 08:48:54 +03:00
David
667ab754e4
[ReaderLink] Add missing footnote settings to NT devices ( #13597 )
2025-04-21 18:58:22 +02:00
David
bf8adf2852
DictQuickLookup: make the widget's width user patchable ( #13497 )
2025-04-12 07:50:58 +02:00
David
3def243f97
[FocusManager] correct cursor keys in RTL ( #13362 )
2025-04-10 23:42:48 +02:00
David
68f3b347a9
[ReaderLink, Dispatcher] add toggle for tap-to-follow links ( #13469 )
...
closes #13381
2025-04-05 16:16:17 +02:00
David
29908800b9
[UnderlineContainer] "fix" focus underline for RTL UI ( #13454 )
...
see #13362 generally and https://github.com/koreader/koreader/pull/13362#issuecomment-2749434009
2025-03-25 07:44:21 +01:00
David
135453776a
Add key_repeat support to Kindle NT ( #13328 )
...
closes #12745
2025-03-15 23:31:30 +01:00
David
154ec621d3
[InfoMessage] stop force_one_line if font is too small ( #13337 )
2025-03-03 22:30:03 +01:00
David
316eb87116
[ReaderHighlight] NT: account for status and alt-status bars in text selection ( #13348 )
2025-03-02 22:24:52 +01:00
David
42fd1e86bf
[DateTimeWidget] add key_events and fix setting dates ( #13214 )
2025-02-27 20:12:03 +01:00
David
b758d7cd5e
[DoubleSpinWidget, SpinWidget] change values with page-turn buttons ( #13208 )
2025-02-27 20:10:43 +01:00
David
546cb14ccc
[DictQuickLookup] NT: add text selection to the dictionary widget ( #13232 )
...
Initially, when you open the dictionary widget from the reader, FocusManager will function as usual. On Kindle 4 or devices with a keyboard, I have assigned the shortcuts <kbd>screenkb</kbd> + <kbd>up</kbd>/<kbd>down</kbd> or <kbd>shift</kbd> + <kbd>up</kbd>/<kbd>down</kbd> to initiate text selection (as a remainder, on kindle text selection in reader is initiated with <kbd>up</kbd>/<kbd>down</kbd> so it is fairly similar). At this point, FocusManager is disabled, allowing the cursor keys (and press) to control the now-visible crosshairs. Pressing <kbd>back</kbd> should stop text selection and restore FocusManager’s control of the widget.
2025-02-17 21:41:34 +01:00
David
901b1b5430
[Hotkeys] override self.ui.fonts key_events ( #13257 )
...
* Removed [now] unnecessary conditions when removing actions for hotkeys in the `HotKeys:genMenu` function. No longer needed as of #13227
* Added code to reset key events for the overlooked `font` UI component in the `HotKeys:overrideConflictingKeyEvents` function.
2025-02-14 17:23:34 +01:00
David
3902ada36b
Remove screenshot setting from unsupported devices ( #13221 )
...
See #12293
2025-02-07 13:38:21 +01:00
David
8e886f5631
[Hotkeys] refactor hotkey list and update callbacks ( #13219 )
...
Cf. #13078
2025-02-07 13:19:22 +01:00
David
f516d21913
[SortWidget] add cancelOrClose method ( #13189 )
2025-02-02 13:31:27 +01:00
David
d66527cd0e
[ReaderFooter] keep menu open after arranging items in status bar ( #13168 )
2025-02-01 21:12:41 +01:00
David
03500bc17e
[screenshoter] remove 'set as wallpaper' from devices with special offers ( #13110 )
2025-01-31 10:55:55 +01:00
David
bc7ef61157
[SortWidget] NT: improve moving items around with more key events ( #13154 )
2025-01-30 00:03:24 +01:00