-
Notifications
You must be signed in to change notification settings - Fork 7
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
Pop up dictionary no longer responds to clipboard in android 10 #889
Comments
Thanks for the info! Yeah the clipboard watching was a gaping security issue, finally they closed it. The Reader should however be integrated into the Copy menu (just press the ... more overflow menu while copying, aedict Reader should be there). |
Would it be possible to re-allow clipboard monitoring for this app ? I use the Aedict reader function with a few apps that don't have an overflow menu and it was very handy to just copy and have the reader pop up :( |
@Pikakitten it's not possible - Android 10 removed the possibility to monitor clipboard. Reader is still listening for clipboard changes, but Android 10 will not simply fire any events. The only option is to turn Reader into a keyboard app... https://www.androidpolice.com/2019/09/04/dont-upgrade-to-android-10-if-you-rely-on-clipboard-syncing/ ... not sure if that's a good idea... Meanwhile you can have Reader always appear on screen iconified. Then:
It's a bit unwieldy though, that Reader won't remember the previous mode. It would be great if:
Please let me know what you think. Perhaps this way we can work around Android 10's limitation. |
Google Translate is affected by this as well: |
"1. Reader would remember to restore into text search mode when restored from the iconified mode" |
@mvysny That's a good idea (both points), and would improve usability for us android 10 users a lot. I sorely miss this from android 9 and I regret upgrading. |
Hi, I'm really sorry for the delay. In order to develop the support for Android 10 properly, it's best to actually own an Android 10 device. My Xiaomi Mi A2 Lite is part of Android One and has been promised at least two major updates (which include Android 10). Just recently Xiaomi promised to also release Android 10 for Mi A2 Lite. There are hints that the upgrade is under testing, so it might be out this month (fingers crossed). However, I'll try Android Emulator for Android 10 again - I remember that I had trouble reproducing the issue in the Emulator, but perhaps those have been fixed. Let me try again. |
I was able to reproduce this issue on the Android 10 Emulator (Reader not reacting to Copy-to-Clipboard). So it's definitely a thing, and the Reader needs to warn the users on Android 10 that Copy-to-Clipboard no longer works. However, there is a workaround, please see the attached video and please let me know whether that works for you: https://youtu.be/8Uz7k02nJIw |
Sorry for the delay, finally implemented 👍 There are two things implemented:
Hopefully this combination will make things bearable with Android 10. I'm going to release a new version today, please upgrade to Reader 1.4.8 and let me know whether there's any improvement :) |
"There` is a new button just for Android 10 in Reader's notification: 'Analyze Clipboard'." Sorry, but I can't seem to find the new button. How do i get to open the Reader's notification? |
@dezorianguy sorry, I don't know what happened, the feature was supposed to be present in 1.4.8. I have released 1.4.9, please try to upgrade and let me know whether the issue is fixed. After the upgrade, you will be able to verify the Reader version in the Settings / About dialog. |
Looks like its possible to grant access back to apps using adb commands. Would something work as an unofficial way to get it to work? |
Hmm, I've checked the solution really quickly: it appears that the solution is to enable access to the system logs, in hope that the clipboard appears in the logs. Yet there are reports that the solution doesn't work reliably unfortunately: https://www.reddit.com/r/JoinApp/comments/deimyz/dev_join_22beta_fix_for_clipboard_monitoring_on/ |
Please find a summary here: https://mvysny.github.io/aedict-blog/reader-android-10/ |
Is it possible to push aedict as the first option when poping up right click menu? Or is this based on the app? |
I'm not sure I understand. Right click on Android? |
When you do a long press it opens up that pop up menu with copy/paste etc |
@gitTerebi Ah right, you mean the text selection actions menu as shown here: https://medium.com/androiddevelopers/custom-text-selection-actions-with-action-process-text-191f792d2999 . Currently only the Aedict Reader integrates into that menu; if you'd like to have Aedict as well to integrate into that menu, please open a new feature request. I'm closing this bug report as fixed:
Closing as fixed; if there is a better idea to resolve this, please open a new bug report. |
I mean that aedict reader puts itself in line with copy/paste so that we don't have to press the '...' button. |
That menu is unfortunately controlled by Android itself and can not be modified. There is no way for Reader (or any other app, including e.g. Google Translate) to move outside of the |
understood! thanks. |
Summary
The pop up dictionary no longer refreshes when Japanese is copied to the clipboard. It's stuck on the welcome screen. I tried reinstalling both apps (pop up and main dictionary) and tried the "Always Available" option in the aedict pop up options.
I've just looked into this and it looks like this app may simply not work on android 10 for the time being due to security. :( https://developer.android.com/about/versions/10/privacy/changes#clipboard-data
Edit: It might be fixable by setting the screen overlay permission https://www.reddit.com/r/tasker/comments/czci0w/things_broken_in_android_10/eyxx74c/
Phone
Pixel 2 running Andoid 10 (updated yesterday).
The text was updated successfully, but these errors were encountered: