Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tapping on "ankidroid" icon should always allow quick access to the deckpicker #17083

Open
Arthur-Milchior opened this issue Sep 17, 2024 · 1 comment

Comments

@Arthur-Milchior
Copy link
Member

Here is an issue I currently have using the widget or using the shortcuts.

  • Ensure Ankidroid is closed (force close him if needed)
  • Use a shortcut or widget to open a deck
  • go back to android main screen, but don't close ankidroid

Let's no state I want to sync ankidroid.

  • tap on ankidroid
  • You should still be in reviewer. That's normal, the reviewer was the last opened screen
  • tap back

Expected result:

  • going to deck picker, given that it's what is usually below in the stack and what I wanted to open in the first place.

Actual result:

  • closing ankidroid

In theory we could catch the back press and just open the deck picker on top of the stack. Except that this is not a good universal solution. Indeed, consider the following scenario

  • using a widget or shotcut, directly open a deck in the reviewer
  • press back

The expected result is to close ankidroid, so that the user goes back to android main view as expected.

So honestly, I'm not even sure what's the right solution to this issue

@Arthur-Milchior
Copy link
Member Author

I think it may be related to stack management, which is considered in #17073 , so maybe they should be fixed together. Not sure. Ping @xenonnn4w

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant