Skip to content

BookStatusWidget: fix impossible to exit review editing due to focus loop#15055

Merged
Frenzie merged 1 commit into
koreader:masterfrom
Frenzie:fix-bookstatuswidget
Mar 1, 2026
Merged

BookStatusWidget: fix impossible to exit review editing due to focus loop#15055
Frenzie merged 1 commit into
koreader:masterfrom
Frenzie:fix-bookstatuswidget

Conversation

@Frenzie

@Frenzie Frenzie commented Mar 1, 2026

Copy link
Copy Markdown
Member

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.


This change is Reviewable

…loop

Due to the way this was wired, koreader#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.
@Frenzie Frenzie added this to the 2026.02 milestone Mar 1, 2026
@Frenzie Frenzie added the bug label Mar 1, 2026
@poire-z

poire-z commented Mar 1, 2026

Copy link
Copy Markdown
Contributor

Fine with me (the onGesture is a bit hackish, but fine for this old clumsy widget).

@Frenzie

Frenzie commented Mar 1, 2026

Copy link
Copy Markdown
Member Author

I didn't immediately see a cleaner solution. I don't much like how that looks but I don't particularly want to spend much time on it either.

@Frenzie Frenzie merged commit 6783e7b into koreader:master Mar 1, 2026
2 checks passed
@Frenzie Frenzie deleted the fix-bookstatuswidget branch March 1, 2026 20:51
@hius07

hius07 commented Mar 19, 2026

Copy link
Copy Markdown
Member

Cannot update book status in the Book status window: the Review input dialog is called on tapping on the toggle.

0xstillb pushed a commit to 0xstillb/koreader-thai that referenced this pull request May 9, 2026
…loop (koreader#15055)

Due to the way this was wired, koreader#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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants