You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the upgrade to Android 12 on a Pixel 3a, I find that "Add tag" and "Annotate" no longer appear in the context menu after selecting text. However, they do appear if I select text and then (while the context menu is open) scroll the screen, turn the screen on and off, swipe into the app switcher and then return to the app, swipe notifications up and down, etc. (basically anything that redraws or refreshes the screen).
It is a hack to override the onActionModeStarted to modify the menu item list. onActionModeStarted was just meant to notify the app that the action mode was started. It didn't meant to be a place for developers to update the menus. The correct way to do that is to provide your own ActionMode.Callback and update your menu items in either onCreateActionMode and onPrepareActionMode.
Steps to reproduce the issue (on Android 12)
Select text within a Wallabag article
Notice "Add tag" and "Annotate" (if annotations are enabled) are missing from the menu
Perform an action that redraws or refreshes the screen (scroll, swipe notifications down and back up, etc.)
Notice "Add tag" and (optionally) "Annotate" are present in the menu.
Environment details
wallabag app version: 2.4.3
wallabag app installation source: F-Droid
Android OS version: Android 12
Android ROM: Stock
Android hardware: Pixel 3a
The text was updated successfully, but these errors were encountered:
I tried to address it back in November, but I think I encountered some problems.
I've been quite busy lately, but I'll see if I can give it another shot soon.
After the upgrade to Android 12 on a Pixel 3a, I find that "Add tag" and "Annotate" no longer appear in the context menu after selecting text. However, they do appear if I select text and then (while the context menu is open) scroll the screen, turn the screen on and off, swipe into the app switcher and then return to the app, swipe notifications up and down, etc. (basically anything that redraws or refreshes the screen).
This seems to be the relevant issue on the Google bug tracker: https://issuetracker.google.com/issues/200172520
Google marked it as "won't fix" with the following comment:
Steps to reproduce the issue (on Android 12)
Environment details
The text was updated successfully, but these errors were encountered: