Bugs related to app navigation using a physical keyboard.
Hello,
I'd like to be able to use more of Ankidroid using only a keyboard and over time I've noticed a couple of bugs as I've tried to do so. I'm technically not using a keyboard but a gamepad that I've configured with another app to send Android KEYCODES such as DPAD directions, TAB, and ENTER. I can break these out into smaller bug report issues if needed.
- ~~The "+" button on the deck picker activity can gain focus by sending KEYCODE_TAB enough times (it highlights when it does so), but KEYCODE_ENTER will not "click" it. This prevents access to the buttons
create deck,create filtered deck, andget shared decksfor keyboard users.Addcould also be included in that list, but is accessible via theakeyboard shortcut.~~ #19424
2.~~There is a similar, but minor bug related to the first where if that "+" button menu is expanded, the button for Add (not the label that has the literal text "Add", but the adjacent button) can gain focus, but Enter will not click it. The "Add" label can be clicked using Enter though.~~ #19424
- When the app theme is "black", There are a few app components that can gain focus but the focus highlight color is also black or a shade that is not very different from the base color. This results in no (or a very muted) visual feedback for the user. Examples of these components include the cards/notes in the card browser, the popup that shows after clicking
Change display orderin the card browser, and the pop that shows after clickingImportin the deck picker. Edit: broke out into separate issue #19343
AnkiDroid Version = 2.22.3 (4f2ec681da36b8307a865f05192498b8425adf0f)
Backend Version = 0.1.60-anki25.07.5 (25.07.5 7172b2d26684c7ef9d10e249bd43dc5bf73ae00c)
Android Version = 12 (SDK 31)
ProductFlavor = full
Device Info = samsung | samsung | r0q | r0qsqw | SM-S901U | qcom
Webview User Agent = Mozilla/5.0 (Linux; Android 12; SM-S901U Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/140.0.7339.208 Mobile Safari/537.36
ACRA UUID = 2c997926-de3d-48b5-a09f-9b712962622a
FSRS = 4.1.1 (Enabled: false)
Crash Reports Enabled = true
Hi @sudomain, great to see you aroud! Could you split (3) into a separate issue.
(1) and (2). should be https://github.com/ankidroid/Anki-Android/labels/Good%20First%20Issue%21
To developers: If you want to work on this, please pick one and ping the issue so people know you're working on it
Hellow @david-allison can you asign this to me
@Aadarsh45 You've already got an issue assigned.
This would be much easier to start out with.
Would you like this issue instead?
Hii @david-allison , can I work on this?
@gurnoorpannu sounds great, thanks!
Hi all,
Can someone confirm whether this part of the original report is also fixed by #19424?
"When the “+” menu is expanded, the icon/button next to “Add” can receive focus but does not activate on ENTER, while the text label does."
I want to verify whether this behavior still exists on main before opening a follow-up issue or PR.
@sudomain
Using version 2.23.2 from FDroid I just checked and I can confirm that is also fixed. Thank you for fixing that.
This issue appears to be fully resolved. It can be closed if there are no remaining concerns.
True. I updated my op to reflect that 1 and 2 were fixed and 3 was made into a separate issue. Thanks everyone!