Commit Graph
1765 Commits
Author SHA1 Message Date
David bed8f558fa Switch virtual keyboard default to false on hasKeyboard (#15057) 2026-03-07 08:24:16 +01:00
Frans de Jonge d4f99025f5 [fix] BookStatusWidget: remove unused (#15060) 2026-03-02 17:54:21 +01:00
Frans de Jonge 6783e7bd1d BookStatusWidget: fix impossible to exit review editing due to focus loop (#15055)
Due to the way this was wired, #14937 trigged BookStatusWidget:onSwitchFocus() when closing, which caused the review input dialog to pop right back up again.

But it doesn't look like you're actually supposed to be able to type in there at all, so I replaced it with a TextBoxWidget.
2026-03-01 21:51:53 +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
hius07 77d1ae8911 InputDialog: fix adding widget with 'fullscreen' (#15028) 2026-02-24 17:23:14 +02:00
hius07 2c5dae9efd bookmarkbrowser: fix search (#15022) 2026-02-21 20:40:33 +02:00
hius07 18090dfc42 inputdialog: fix adding widget with 'use available height' (#15010) 2026-02-21 19:56:11 +02: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
hius07 18dd8db12d Bookmark browser: fix item font size init (#14926) 2026-02-04 21:03:37 +02: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
hius07 08ea73f733 Bookmark browser (#14899)
* Add BookmarkBrowser widget

* filemanager: add bookmark browser

* filemanagercollection: add bookmark browser

* filemanagerhistory: add bookmark browser

* readerui: add after_open_callback to showReader()

* filemanager_menu_order: add bookmark browser

* reader_menu_order: add bookmark browser

* dispatcher: add bookmark browser

* util: add stringLower()

* bookmarkbrowser: show chapter in bookmark details

* bookmarkbrowser: detect currently opened new book

* readerbookmark: fix updating BookInfo cache on removing a bookmark
2026-02-03 08:02:07 +02:00
hius07 ae09757e48 ReaderBookmark: color in bookmark list (#14714) 2026-01-30 07:54:48 +02:00
hius07 b2b02e7813 Highlights: improve 'Set color' dialog (#14699) 2026-01-30 07:50:04 +02:00
poire-z 34f9f3c5ec TextBoxWidget: invert images when in night mode (#14893)
So Wikipedia articles images don't look inverted.
2026-01-29 00:44:22 +01:00
poire-z e1c5f35d37 Wikipedia: revamp languages handling
Replace the cumbersome implementation of language rotation
with a more natural language selection:
- replace the "en > fr" button with a "Language" button,
  which on tap shows a popup with the user languages allowing
  direct selection (instead of having to rotate through
  all the intermediate languages and wait for each result)
- we don't touch anymore the user-set wikipedia_languages
  array when switching language
- the newly selected language is stored in doc_settings, and
  will be used for next queries on this book. It is also
  stored in G_reader_settings as the language to be used
  for next newly opened books and for lookups done when
  in FileBrowser

Also:
On Wikipedia full articles, the top left hamburger menu
shows a popup with the other Wikipedia languages the
current article is available for, and allows reading
them.
Wikipedia article ToC: the 'sections' properties
of the Wikipedia API is now deprecated: use its
replacement 'tocdata'.
2026-01-08 21:11:30 +01:00
poire-z 43d52a1c08 ScrollTextWidget: fix resetScroll()
Could cause some refreshes (actually triggered when
the scrollbar changes) in DictQuickLookup to be ignored
in some rare circonstances (2 consecutive results from
a text dictionary having the exact same nb of lines).
2026-01-08 21:11:30 +01:00
poire-z e72ca3045e KeyValuePage, scrollablecontainer: allow mousewheel scrolling 2026-01-08 21:11:30 +01:00
hius07 6dbc1be8fa Status bar: adjustable font face (#14755) 2026-01-06 13:25:19 +02:00
hius07 5b2f2cbdb3 Sleep screen: improve 'Exit sleep screen' message (#14691) 2025-12-10 14:17:58 +02:00
hius07 776eb69184 screensaverwidget: fix unlock (#14689) 2025-12-10 14:17:26 +02:00
hius07 9dc068b50d TextViewer: pin page (#14668) 2025-12-09 07:43:23 +02:00
poire-z fd54ddbd8f TextBoxWidget: clear highlights when hold release on an image
Otherwise, any highlight made while panning would stick even
after we show and close ImageViewer, even when turning pages.
2025-12-08 13:18:51 +01:00
poire-z 8723b25f9e Menu: avoid crash with large post_text
Currently not met with our current use of it,
but let's avoid this crash when experimenting.
2025-12-08 13:18:51 +01:00
Benoit Pierre 60a475773c progressbardialog: fix refresh 2025-11-28 08:43:41 +01:00
Benoit Pierre ea3a8a7dbe progressbardialog: support dismissing the dialog 2025-11-28 08:43:41 +01:00
Benoit Pierre d6310207f7 progressbardialog: tweak API
So `reportProgress` returns true when the progress bar was actually updated.
2025-11-28 08:43:41 +01:00
Benoit Pierre 6ce4b5d8ee inputcontainer: handle horizontal center alignment 2025-11-28 08:43:41 +01:00
hius07 bf8274d47c Show next locations in Book map and Page browser (#14643) 2025-11-23 08:48:17 +02:00
hius07 7a6c4db693 TouchMenu: fix menu height with/without separators (#14627) 2025-11-18 08:38:07 +02:00
hius07 6beff03d49 Stable pages in file browser (#14570) 2025-11-07 08:19:41 +02:00
hius07 7d3d51add4 Gestures/profiles: allow disabling popup messages (#14543) 2025-11-05 07:48:08 +02:00
hius07 7ac0f6edd1 BookMap: add indicator for pinned page (#14510) 2025-10-29 07:58:52 +02:00
hius07 b7d227a2cf Status bar fixes (#14518) 2025-10-28 08:27:39 +02:00
hius07 88f8224746 touchmenu: fix empty submenu (#14489) 2025-10-22 10:44:46 +03:00
Frans de Jonge b28a6e5ca9 HTMLBoxWidget: add setRawContent() (#14480) 2025-10-19 19:16:53 +02:00
Renee 7c9f0ccef2 [Plugin] Statistics: use color rendering in calendar and timeline view when color rendering is enabled (#13453) 2025-10-16 19:28:28 +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
hius07 e59df8eb2b Sleep screen: fix rotation for lock screen (#14417) 2025-10-08 09:16:36 +03:00
hius07 077b23c571 Screensaver: fix showing sleep screen on poweroff, reboot (#14253)
- Closes #14242
- Closes #14260 
- Closes #14299
2025-10-02 22:55:01 +02:00
David e68452674d [ScreenSaver] Allow sleep screen message to be placed anywhere on screen (#14371) 2025-10-01 08:59:20 +02:00
Frans de Jonge 2707f5b128 InputText: remove addChar only on hasDPad restriction (#14360)
See <https://github.com/koreader/koreader/discussions/14358>.
2025-09-24 22:22:49 +02:00
David 44b1b8130c [SortWidget] bug fix: Fix keyboard hold events targeting wrong item (#14252) 2025-09-18 15:39:37 +02:00
Ivan Pešić 9223fdc9db Add Serbian keyboard layout (#14338)
This adds Serbian cyrillic keyboard layout.
It is based on very good English layout.
2025-09-16 20:59:54 +02:00
Benoit Pierre 28926634d2 ProgressbarDialog: fix progress bar fill color (#14182)
Otherwise nothing is shown on my Kindle (kindlepw2).

Close #14179.
2025-09-15 22:39:43 +02:00
Frans de Jonge a6e9c6b4b2 ConfigDialog: support single value select 2025-09-15 19:49:11 +02:00