vishesh / sealnote

Android app for keeping encrypted notes
https://play.google.com/store/apps/details?id=com.twistedplane.sealnote
MIT License
78 stars 50 forks source link

Tagedit View repeats characters on its own #8

Open ysmad opened 8 years ago

ysmad commented 8 years ago

Hello Vishesh - looking for a open-source notepad (as starting point for Java with Android) I found your "Sealnote". Following issue though: When adding tags, on some devices the Textview starts typing its own characters, i.e. repeating characters. Example typing "abcde":

Typing <-> on screen a => a (ok) b => ab (ok) c => ababc (ab wrongly repeated) d => ababcd (ok) e => ababcdabcde (abcd wrongly repeated)

I think something with TagTextWatcher->beforeTextChanged. The "mShouldMove" is set to true although not needed (at least for the first tag), and setting it to false allows proper (sequential) entering of tags. Strangely, only happening on some devices (Galaxy Tab S, but not on virtual devices). Maybe for consideration with the next version.

Otherwise, very nice program (especially the UI!). Thank you for making it available here!

vishesh commented 8 years ago

@ysmad Thanks for reporting and looking into code. I'm a bit busy this week, so will look at it in next 10 days.