You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koreader/frontend/ui
NiLuJe 3060dc81af
Revamp "flash_ui" handling (#7118)
* Wherever possible, do an actual dumb invert on the Screen BB instead of repainting the widget, *then* inverting it (which is what the "invert" flag does).
* Instead of playing with nextTick/tickAfterNext delays, explicitly fence stuff with forceRePaint
* And, in the few cases where said Mk. 7 quirk kicks in, make the fences more marked by using a well-placed WAIT_FOR_UPDATE_COMPLETE

* Fix an issue in Button where show/hide & enable/disable where actually all toggles, which meant that duplicate calls or timing issues would do the wrong thing. (This broke dimming some icons, and mistakenly dropped the background from FM chevrons, for example).
* Speaking of, fix Button's hide/show to actually restore the background properly (there was a stupid typo in the variable name)
* Still in Button, fix the insanity of the double repaint on rounded buttons. Turns out it made sense, after all (and was related to said missing background, and bad interaction with invert & text with no background).
* KeyValuePage suffered from a similar issue with broken highlights (all black) because of missing backgrounds.
* In ConfigDialog, only instanciate IconButtons once (because every tab switch causes a full instantiation; and the initial display implies a full instanciation and an initial tab switch). Otherwise, both instances linger, and catch taps, and as such, double highlights.
* ConfigDialog: Restore the "don't repaint ReaderUI" when switching between similarly sized tabs (re #6131). I never could reproduce that on eInk, and I can't now on the emulator, so I'm assuming @poire-z fixed it during the swap to SVG icons.
* KeyValuePage: Only instanciate Buttons once (again, this is a widget that goes through a full init every page). Again, caused highlight/dimming issues because buttons were stacked.
* Menu: Ditto.
* TouchMenu: Now home of the gnarliest unhilight heuristics, because of the sheer amount of different things that can happen (and/or thanks to stuff not flagged covers_fullscreen properly ;p).

* Bump base
https://github.com/koreader/koreader-base/pull/1280
https://github.com/koreader/koreader-base/pull/1282
https://github.com/koreader/koreader-base/pull/1283
https://github.com/koreader/koreader-base/pull/1284

* Bump android-luajit-launcher
https://github.com/koreader/android-luajit-launcher/pull/284
https://github.com/koreader/android-luajit-launcher/pull/285
https://github.com/koreader/android-luajit-launcher/pull/286
https://github.com/koreader/android-luajit-launcher/pull/287
3 years ago
..
data Revamp "flash_ui" handling (#7118) 3 years ago
elements Update UI layout code to use new SVG icons 3 years ago
message [doc] Tag @todo, @fixme and @warning (#5244) 5 years ago
network NetworkActivity: Fix an exceedingly unlikely crash. 3 years ago
plugin Tame BackgroundRunner: stop running when no more job (#6605) 4 years ago
widget Revamp "flash_ui" handling (#7118) 3 years ago
bidi.lua [RTL UI] Bidi-wrap filenames, paths, urls, metadata 4 years ago
cloudmgr.lua [feat] Synchronize local folder with dropbox (#5591) 5 years ago
downloadmgr.lua Calibre plugin fixes for android (#6996) 3 years ago
event.lua [doc] Add internal documentation references (#5285) 5 years ago
font.lua Font menu: show font names with their own font 4 years ago
geometry.lua [doc] Tag @todo, @fixme and @warning (#5244) 5 years ago
gesturerange.lua Text input fixes and enhancements (#4084) 6 years ago
hook_container.lua Move kobo auto-suspension logic out of UIManager (#2933) 7 years ago
language.lua [fix] Czech is now cs, not cs_CZ (#6689) 4 years ago
menusorter.lua [fix] MenuSorter: use orderedPairs for orphans (#6403) 4 years ago
opdsparser.lua Deal with hr/br in a single gsub call (#6995) 3 years ago
otamanager.lua Various Wi-Fi QoL improvements (#6424) 4 years ago
quickstart.lua Quickstart: add long press sets default (#7048) 3 years ago
renderimage.lua Update UI layout code to use new SVG icons 3 years ago
rendertext.lua More Android trickery (#7059) 3 years ago
screensaver.lua ScreenSaver: 3 years ago
size.lua UI: Make button radius match default window radius (#7054) 3 years ago
timeval.lua [fix] TimeVal: add dbg:guard against incorrect subtraction order (#4669) 5 years ago
translator.lua Minor util & ffi/util cleanups (#6657) 4 years ago
trapper.lua Dict, Trapper: prevent dismissal by past events 3 years ago
uimanager.lua Revamp "flash_ui" handling (#7118) 3 years ago
wikipedia.lua Floor dimension computations (mul/div). (#6264) 4 years ago