Anki-Android icon indicating copy to clipboard operation
Anki-Android copied to clipboard

Widget action unhandled: `ACTION_APPWIDGET_OPTIONS_CHANGED`

Open david-allison opened this issue 7 months ago • 4 comments

Also: null, android.appwidget.action.APPWIDGET_UPDATE_OPTIONS

Originally posted by @david-allison in #17151

david-allison avatar Apr 25 '26 06:04 david-allison

I'm taking this on as discussed on Discord. I'll will be implementing the resize logic for both widgets.

DoomsCoder avatar Apr 25 '26 06:04 DoomsCoder

Hi @david-allison ! I wanted to clarify one thing before opening the PR. While testing, I noticed that on very small widget heights, the deck list overlaps with the Edit button, and the text gets cut off. I have a plan to add bottom padding to the XML and limit the number of decks shown based on the current widget height.

Should I include these UI/XML files in this PR to make it complete solution, or would you prefer I keep this PR strictly to the Kotlin refactor?

DoomsCoder avatar Apr 25 '26 09:04 DoomsCoder

@DoomsCoder I believe this is related to:

  • https://github.com/ankidroid/Anki-Android/issues/18524

and therefore should be in a separate PR, especially as the implementation could be hairy.

I do bundle multiple fixes in PRs sometimes, but typically those are 'obvious', with the expectation that the changes will be split out if there's issues. If a PR handles 2 things, we now require both fixes to be correct before merging the PR, which slows us down

david-allison avatar Apr 25 '26 10:04 david-allison

Make sense! I'll stick to the Kotlin refactor

DoomsCoder avatar Apr 25 '26 10:04 DoomsCoder