Commit Graph
1673 Commits
Author SHA1 Message Date
hius07 9f61c230a3 KeyValuePage: lanscape and portrait items per page (#13377) 2025-03-09 07:45:43 +02:00
David 154ec621d3 [InfoMessage] stop force_one_line if font is too small (#13337) 2025-03-03 22:30:03 +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
hius07 7c45700ceb Collections: sort (#13264) 2025-02-22 10:17:19 +02: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
TnS-hun dbc76eb410 HtmlBoxWidget: fix incorrect selection (#13276)
In same cases MuPDF returns a visually single line of text as multiple lines. Merge such lines to ensure that getSelectedText works properly.

See: https://github.com/koreader/koreader/pull/13232#issuecomment-2658171531
2025-02-17 13:13:52 +01:00
hius07 70fcc90a3c Highlights: quicker Style and Note marker dialogs (#13223) 2025-02-12 09:14:03 +02:00
hius07 41dd3d5d8a OPDS: raw server filenames for download (#13230) 2025-02-11 14:10:57 +02:00
David f516d21913 [SortWidget] add cancelOrClose method (#13189) 2025-02-02 13:31:27 +01:00
hius07 8606b132e4 Couple of minor fixes (#13185) 2025-02-01 21:25:51 +02: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
hius07 b17353d206 booklist: fix status (#13157) 2025-01-28 18:53:57 +02:00
David 983622a372 ImageWidget: fix stretch limit not being obeyed (#13105) 2025-01-27 12:09:06 +01:00
hius07 e40512387a ReaderStatus: fix End of Document action (#13144) 2025-01-26 13:51:34 +02:00
hius07 9bcd09633c Gesture manager and Profiles: improve Dispatcher actions menu (#13078) 2025-01-26 11:10:49 +02:00
hius07 42de1fb96e Collections: filter by book status (#13099) 2025-01-25 10:49:35 +02:00
David 9c5ea3119d [screenshoter] Fix ‘set as wallpaper’ setting not saved properly (#13108)
this one slipped through the cracks when we removed image_file back in #11549
2025-01-21 09:19:06 +01:00
hius07 17504993ae CoverBrowser info_cache: move to core (#13018) 2025-01-18 10:08:18 +02:00
TnS-hun bf35875ba3 Dictionary, footnotes: highlight the selected text (#12948)
When selecting text in the dictionary (including Wikipedia) or the pop-up footnotes highlight the selected text using an inverting rectangle. After closing the opened dictionary remove the highlight after a short delay just like in the reader.

Depends on koreader/koreader-base#2013
2025-01-12 14:46:45 +01:00
David f8dec18007 Reduce sleep screen message font size to fit one line (#13026) 2025-01-12 12:31:05 +01:00
David 82eaa00984 [MultiInputDialog] vertically centre multi input dialogue (#12951) 2025-01-03 17:34:54 +01:00
NiLuJe 53f8c2af90 InputDialog: set class default for keyboard_visible to false (#12994) 2025-01-03 17:33:53 +01:00
hius07 7151f3cd07 pathchooser: title bar fm_style (#12942) 2024-12-27 08:28:06 +02:00
hius07 e6b45e7ff7 ReaderSearch results: search string always in bold (#12940) 2024-12-27 08:27:13 +02:00
hius07 0114954fc1 CoverBrowser BookInfoManager: lite getDocProps() (#12936) 2024-12-27 08:16:47 +02:00
hius07 72086b7a26 CoverBrowser: minor fix and remove unused (#12895)
Remove unused UIManager:clearRenderStack().
Previously it was used by CoverBrowser plugin when extending the FileManager popup file dialog with aditional buttons.
Now the buttons are inserted through the api added in https://github.com/koreader/koreader/pull/12845.
2024-12-15 09:14:01 +02:00
TnS-hun f232b0e8e6 Dictionary: fix missing images (#12877)
Pass the dictionary's res directory to Mupdf.openDocumentFromText to allow MuPDF to display images referenced by HTML dictionaries.

Depends on: https://github.com/koreader/koreader-base/pull/2002
Fixes: https://github.com/koreader/koreader/issues/12628
2024-12-12 21:58:35 +01:00
Frans de Jonge 0e4bd1be89 Screenshoter: add filename and page number (#12887)
Closes #12695.
2024-12-11 20:56:01 +01:00
hius07 ea46d71634 Highlights: anchored dialogs (#12810) 2024-12-05 18:53:59 +02:00
hius07 2b763c70f9 Screenshoter: fix screenshot folder (#12750)
Check for existance and create if absent.
Closes #12742.
2024-11-20 22:19:52 +01:00
hius07 c2d1099976 Profiles: more auto-exec triggers 2 (#12691) 2024-10-31 20:26:21 +02:00
hius07 8b710d183c Focus: fixes (#12688) 2024-10-30 20:09:59 +02:00
hius07 97a7ebefb9 Text editor: rotate (#12658) 2024-10-29 20:49:43 +02:00
mergen3107 f8446538c0 Fix KOReader spelling in the code (#12670) 2024-10-24 10:46:46 +02:00
NiLuJe 2497d8f352 Misc: Some more FocusManager fallout (#12667)
Don't show initial focus in KVP & CalendarView

Fix https://github.com/koreader/koreader/pull/12583#issuecomment-2427403108
2024-10-22 10:38:02 +02:00
NiLuJe fdd342de40 Menu: Fix fallout from #12583 on hasDPad devices (#12657)
Tweak `mergeTitleBarIntoLayout` to keep the current selection (adjusted for the added rows) instead of resetting the focus.

It only actually called `moveFocusTo` on `hasDPad` devices, which explains why this was missed during testing.

Fix https://github.com/koreader/koreader/pull/12583#issuecomment-2423554770
2024-10-21 13:35:44 +02:00
hius07 716ed1f19d InputText: fix Terminal plugin input (#12652)
Regression in #12632.
2024-10-17 19:06:18 +02:00
hius07 71a89e45c0 Text editor: show current line number (#12632) 2024-10-16 20:03:31 +03:00
hius07 ce7fcff360 Menu widget: draw focus on focused item (#12583) 2024-10-13 18:02:51 +03:00
hius07 76deedfb73 Menu widget: rotation handler (#12573) 2024-10-10 10:54:59 +03:00
TANG Xiao 80975ea4b0 ProgressWidget: fix misalignment (#12526) 2024-10-06 17:38:50 +02:00
David e2d1c55ec5 [DictQuickLookup] shortcuts for editing searches (#12539) 2024-09-29 20:25:26 +02:00
hius07 5476301034 ButtonDialogTitle: remove (#12394) 2024-09-07 20:11:35 +03:00
NiLuJe ae5222b97a InputText: Unbreak onTapTextBox on an already in-focus field (#12449)
The drive-by fix for the original issue noticed late in #12361 turned out to be a bit heavy-handed ;).

Fix #12444
Regression since #12361
2024-09-02 23:38:57 +02:00
hius07 84ed68ba82 inputtext: fix deleting a word by backspace swipe north 2024-08-31 15:18:18 +02:00
Rowan Decker 60e0e3ef45 Add color highlight menu (#11044) 2024-08-30 22:10:43 +02:00
poire-z d51179690d PageBrowser: fix drawing of thicker thumbnail frame on tap (#12432)
Bottom and right edges were not drawn since some
recent FrameContainer tweak.
2024-08-30 14:40:14 +02:00
poire-z 96312bfa10 HtmlBoxWidget: help MuPDF with block elements it doesn't know
MuPDF's own stylesheet is incomplete, and doesn't specify that
a few common (and uncommon) elements are display:block, so it
would consider them inline, and render them badly (MuPDF also
doesn't handle well <BR/> inside inline elements, so this
fixes <br/> ones in these elements).
Fix this in HtmlBoxWidget so it solves any issue in HTML
dict and popup footnote.
For popup footnotes, also include crengine internal block
elements, as we may indeed get them in the HTML content.
2024-08-25 22:39:31 +02:00