BUG - double clicking a word sometimes deletes it in Gmail + Flickering problem + more
See original GitHub issueThe method AnysoftKeyboard::performRestartWordSuggestion
is “patchy” because it does the following:
ic.deleteSurroundingText(toLeft.length(), toRight.length());
ic.setComposingText(word, 1);
The input connection doesn’t have to delete text and re paste it, just for the suggestions to work. Please consider using setComposingRegion
or something else.
This current mechanism causes several problems: flickering upon moving the cursor, problems with styled text (for example in facebook), and the following problem:
Steps to reproduce
- Enable “suggestions restart” in the keyboard settings.
- Compose a new message in Gmail
- Write some words (with spaces between them)
- double click some words several times until the bug happens.
Expected behaviour
Double clicking a word should select it.
Actual behaviour
Sometimes the word is deleted from the input.
Android OS version: 7.1.1
Device manufacturer and model: Samsung Note 8
List of installed add-ons (like languages, or themes): defaults
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Important Bug Fix: Double-clicking on text is not possible - Witty
Remove out of position highlights when editing existing text. Update the highlighting when doing changes to the configuration. Release 1.22.
Read more >How to fix screen flickering issue on MS Word | How-to
Step 7: Click on Okay and exit. The screen flickering issue should be fixed with this modification.
Read more >Google Chrome Flickering? Here's How To Fix It | SoftwareKeep
Are you experiencing screen flickering when using Google Chrome? Learn how to fix this error by reading this article.
Read more >The Most Common Chromebook Problems and How to Fix Them
Facing annoying issues with your Chromebook? If you need help, try our Chromebook troubleshooting guide to see if we can figure out the...
Read more >Fixes or workarounds for recent issues in Outlook for PC
For issues that are not covered on this page, we have multiple tools to help you automatically diagnose and fix a range of...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@sabisab and thank you for the tip.
Great! Thanks for verifying
On Mon, Apr 2, 2018, 4:36 AM Tuko notifications@github.com wrote: