Frans de Jonge
8f2bd5420d
Introduce Device:useDPadAsActionKeys() ( #11900 )
...
1. Non-Kindle-specific `hasFiveWay` behavior is changed to `hasDPad and useDPadAsActionKeys`. For now they remain Kindle-specific in practice, unless one sets `useDPadAsActionKeys = yes` in a user patch.
2. With that disambiguation out of the way, `hasFiveWay` itself is further disambiguated into `hasScreenKB` and `hasSymKey`, as per the actual property being used, rather than something that tends to correlate with it. (It needn't be Kindle-specific per se, but non-Kindle devices have equivalent shortcuts with for example `Shift`.)
Running the emulator with `DISABLE_TOUCH=1` will set `hasSymKey = yes`, which can be tested with right shift.
Closes #11887 .
5 days ago
SomeGuy
d217f5c161
Menu widget: limit right as hold to hasFewKeys ( #11890 )
...
Addresses concerns in #11884 .
6 days ago
hius07
c6e6d72cf3
Collections: add collection mark to books ( #11868 )
6 days ago
Frans de Jonge
b222900cb9
Enable Alt+Shift+G for screenshots on all devices with a keyboard ( #11888 )
6 days ago
hius07
556e5bd6b4
VirtualKeyboard: delete word on backspace swipe west ( #11843 )
...
Closes #11831 .
6 days ago
SomeGuy
81575ae24f
Global long press on K4, 'ScreenKB' + 'Press' (this time for real) ( #11884 )
...
discussed #11834
then merged #11872 , then reverted #11881
7 days ago
Frans de Jonge
07b507370f
Revert "Global long press on K4, 'ScreenKB' + 'Press' ( #11872 )" ( #11881 )
...
This reverts commit 3f64ecfd28
.
1 week ago
Frans de Jonge
20d8a5c313
FocusManager: enable more keyboard shortcuts by default ( #11871 )
1 week ago
SomeGuy
3f64ecfd28
Global long press on K4, 'ScreenKB' + 'Press' ( #11872 )
...
discussed #11834
1 week ago
SomeGuy
6c7e2a9c62
Support screenshots on Non-Touch with ScreenKB as modifier ( #11802 )
...
on devices (mostly kindles) with keyboards: Alt + Shift + G
on kindle 4: ScreenKB + Menu
2 weeks ago
SomeGuy
577c5d454f
Non-touch DPad improvements ( #11749 )
...
Closes #11295 .
2 weeks ago
hius07
daf0fa4b4b
MultiInputDialog: fix keyboard height changed ( #11832 )
2 weeks ago
hius07
6b192c346a
Annotations: Bookmark list improvement ( #11825 )
2 weeks ago
nairyo
126c01e1b5
Replace tweak_buttons_func with an event instead ( #11777 )
...
Also see https://github.com/Ajatt-Tools/anki.koplugin/issues/22
2 weeks ago
Philip Chan
5d63907cae
fix #11810 : only set FocusManager layout if hasDPod ( #11811 )
2 weeks ago
Philip Chan
f0a3bcf05b
NT: add Hot swapping dictionaries button and edit button into FocusManager's layout ( #11803 )
...
fix #11783
3 weeks ago
peicuiping
a7e34673e6
chore: remove repetitive words ( #11785 )
3 weeks ago
Valentin Dubois
526a1fb727
Initial support for new Kobo (Clara B/W + Colour, Libra Colour) ( #11737 )
...
* Support the Clara B&W, Clara Colour & Libra Colour
* Enable HW dithering on *all* the Kobo MTK devices
* Enforce 32bpp instead of 8bpp for Kobo devices with a color panel (the driver doesn't actually support 8bpp anyway)
* Enable standby support on MTK (whenever possible, i.e., not when plugged in, as that is horribly, horribly broken).
* Enforce the dedicated "color" waveform mode for image content in ScreenSaver, ImageViewer & Reader.
* Fix charging LED support on MTK
* Tweak the frontlight ramp on MTK + LM3630 so that it actually ramps smoothly
3 weeks ago
sdasda7777
8530282d38
Add Czech keyboard layout ( #11769 )
...
Fixes #11339 .
3 weeks ago
hius07
c47d3b3177
Menu widget: cleanup ( #11759 )
4 weeks ago
hius07
d82815952e
Annotations, part 1 ( #11563 )
...
New format to handle annotations (page bookmarks, highlights, notes) and store them in the book metadata files.
4 weeks ago
hius07
8ff846ba6e
SortWidget: sort alphabetically ( #11705 )
1 month ago
hius07
f5be04a738
Keyboard: detect tap if swipes are disabled ( #11699 )
...
Discussed in #11668 .
1 month ago
Frans de Jonge
a7edf213a5
[minor] FileChooser: use en-dash instead of dash for UI ( #11615 )
2 months ago
hasezoey
42c93a7623
FileChooser collates: use "item.sort_percent" for sorting + extra `on-hold` handling ( #11592 )
...
re https://github.com/koreader/koreader/pull/11524#issuecomment-1984110990
re https://github.com/koreader/koreader/pull/11542#issuecomment-2018164346
re #11592
2 months ago
poire-z
67cd647d1a
ReaderToc: add option to show chapter lengths ( #11546 )
2 months ago
hius07
5414858b74
Menu widget: fix item property name ( #11534 )
3 months ago
hius07
6f896e9383
ReaderFooter: chapter progress bar ( #11505 )
3 months ago
hius07
8df885438c
Bookmarks: edit highlighted text ( #11484 )
3 months ago
poire-z
c65d128032
Menu, DictQuickLookup, TextViewer: allow mousewheel scrolling ( #11525 )
...
We also need to catch it in TrapWidget so we can
interrupt Wikipedia articles images loading.
3 months ago
zwim
58b3367d18
anti alias rounded corners in UI
3 months ago
hius07
7edb64ecee
Upper menu: fix generating the menu ( #11513 )
...
revert all changes to the upper menu made in #11495
3 months ago
hius07
ec98c6334b
MenuSearch: open upper menu when needed only ( #11495 )
3 months ago
hasezoey
ade1daca3a
FileChooser: "percent - unopened - finished last" consider status "complete" as 100% ( #11472 )
...
re #11369
3 months ago
hius07
72a6fa1e64
FileManager: less lfs calls when selecting files ( #11476 )
3 months ago
hasezoey
76980098ec
FileChooser: add new sorting method ( #11369 )
...
"percent - unopened - finished last"
(ie. 90% > 50% > 0% > unopened > 100%)
4 months ago
hius07
5d4747c593
FileManager: less lfs calls ( #11452 )
...
Use item info provided by FileChooser.
Also fix showing PathChooser with invalid path,
and fix issue when opening non-supported files.
4 months ago
hius07
962477e7c6
TextViewer: make find result bold ( #11427 )
4 months ago
zwim
f836f6a237
Clear UI leftovers before doing an OTA-install, add unmovable to InfoMessage and ConfirmBox ( #11412 )
4 months ago
hius07
38a14ff3a0
PathChooser: fix calling Folder shortcuts ( #11367 )
4 months ago
NiLuJe
a8a944cbaf
ScreenSaverWidget: Simplify the setDirty call
...
No need for a closure, there's no dimen involved.
4 months ago
NiLuJe
39744d7642
TouchMenu: TouchMenuItem's UnderlineContainer should probably have its own dimen object
...
The coordinates could wonky otherwise, as TouchMenuItem is an
InputContainer.
Mostly harmless in practice as that UC is its main widget.
4 months ago
NiLuJe
e5cb24a891
ConfigDialog: Simplify the previous fix
...
Geom's intersectWith & friends have nil guards in place since #7664 ,
so the insane workaround is completely superfluous.
4 months ago
NiLuJe
19ed35e59c
ConfigDialog: Don't enforce 0x0 dimensions on initial display
...
FrameContainer now behaves like other widgets, and no longer re-computes
dimensions in paintTo *if you provide a dimen*.
Since we do here, for.... reasons I'm not entirely sure still make any
sense, make sure we actually compute valid dimensions,
instead of an empty rect from Geom:new ;).
Fix #11389
4 months ago
NiLuJe
90ae4acca6
Chore: Review FrameContainer constructors for shared dimen objects
...
Nothing else seems problematic, this is mostly just cosmetic sanitization
around Geom objects.
4 months ago
NiLuJe
65e22ceafc
Widgets: Fix a bunch of regressions after the FrameContainer change in #11364
...
FrameContainer now preserves its self.dimen, which means it cannot be
shared with another widget or container that might also modify it during
painting ;).
Fix #11370
Fix https://github.com/koreader/koreader/pull/11364#issuecomment-1894454657
Fix #11379
4 months ago
NiLuJe
5e4d182608
Fold the debug logging flip inside the "Report a bug" entry
...
Also, implement a Notification source that will *always* be shown,
regardless of user preferences, and use it here.
4 months ago
NiLuJe
55171212c3
Misc: Forgot to update that comment given the latest VirtualKey tweaks
...
;).
4 months ago
poire-z
43d36b2ea9
TextBoxWidget: allow showing bits of text in bold
...
Allow for embedding "tags" (invalid Unicode codepoints)
in the text string to trigger some text formatting:
for now only bolding some parts of text is possible.
Use it with fulltext search "all results" to highlight the
matched word (instead of the previously used brackets).
4 months ago
cookiebit
e3b4cbe71a
Virtual keyboard: add Scandinavian layouts (Norwegian, Swedish & Danish) ( #11365 )
5 months ago