[plugin] Gestures, Hotkeys: attempt to work around corrupted gestures file#13054
Merged
Conversation
Member
|
Should hotkeys get the same attention? |
0c90042 to
7fcf1e2
Compare
Member
Author
Assuming this is the right approach then yes, I'll add it there if it copied the same code. But how it could actually happen is a bit of a mystery. Perhaps it was Kindle's infamous FUSE situation. In pretty much all cases except first launch there'll be a valid gestures.old file so the worst that'll happen is that you'll lose recent changes. |
4554869 to
349d5bd
Compare
… file See koreader#13009 for details. LuaSettings attempts to read a backup if the main doesn't work. If that doesn't work it returns an empty `data` table. But gestures expects there to be defaults inside.
349d5bd to
b68dd22
Compare
poire-z
reviewed
Jan 12, 2025
NiLuJe
approved these changes
Jan 12, 2025
0xstillb
pushed a commit
to 0xstillb/koreader-thai
that referenced
this pull request
May 9, 2026
… file (koreader#13054) See koreader#13009 for details. LuaSettings attempts to read a backup if the main doesn't work. If that doesn't work it returns an empty `data` table. But gestures expects there to be defaults inside.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See #13009 for details.
LuaSettings attempts to read a backup if the main doesn't work. If that doesn't work it returns an empty
datatable. But gestures expects there to be defaults inside.This change is