On android, whatever text content is in the initial note that’s open when the app is opened, will have its contents randomly replace any text in another note that the cursor is placed in.
I havent yet confirmed if this affects windows.
Steps to reproduce
On android, open Obsidian with a note already open
Random text from the previous note replaces text in the new note.
Environment
SYSTEM INFO:
Operating system: android 14 (samsung SM-G998U1)
Obsidian version: 1.8.1 (177)
API version: v1.8.1
Login status: not logged in
Language: en
Live preview: on
Base theme: light
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Yes, all are disabled as shown in the debug log. The following recording is in a brand new vault to be extra safe.
No I don’t believe so, as no indication is shown. Also, it shouldn’t be pasting text I haven’t copied (such as individual and different words from the previous screen)
Yes, here it is. Again it’s in a brand new vault, the only change being made is copying those two markdown files into it.
Right before I posted this I did some additional sanity testing and discovered this seems to only affect certain keyboards. Google’s keyboard doesn’t cause this issue, while the one I use (heliboard) does. I haven’t checked other keyboards yet. I made sure to check with all autocorrect settings turned off as wel.
I still think it’s an obsidian-specific bug as opposed to a heliboard-specific bug because I’ve been using heliboard for years now and I never had this issue until recently updating obsidian. Also, this only happens in obsidian, all other apps don’t have this strange behavior.
If there’s any other testing I can try out let me know!
Edit: I just made sure to update heliboard to the latest version as well, and the behavior still happens. I’ll test other keyboards soon to see if there’s anything they have in common
Thank you, cos of this i did some further testing and I discovered what might be the culprit. For some reason it seems that the word being displayed isn’t the actual word. Or rather, from the keyboard’s perspective, it sees the text as the same from the previous note.
I believe this is the case cos with swifkey, once suggestions are turned on, while it doesn’t replace it like the other keyboards, it still clearly suggest words from the other note in contexts where it doesn’t make sense.
Here’s a video. Watch swifkey’s suggestions and how it still pulls from the lorem ipsum note. It doesn’t replace the text, it’s still not correct and shows it’s not a keyboard specific issue.
I just did another sanity check, and yes all keyboards I tested (including Gboard & Swiftkey) have this suggestion context bug. Whatever implementation heliboard & openboard use for suggestions actively replace the word, which usually isn’t a problem in other apps but as a result it caused me to notice it.