[Android] Red dots in Live Preview

The issue happens on mobile in Live Preview. When I am editing notes on my mobile, sometimes red dots start to appear. In some case it is freezing obsidian, in some cases parts of my notes were removed or even entire notes were cleared (but was able to recover them luckily). It took me a while to actually reproduce the issue.

Steps to reproduce

Open a file that contains the following:

# New Note 
- Tags:: 
- Created:: 2022-03-29
- Modified:: 2022-03-29
- Type:: <font class="type-1"></font>
- Rating:: <font class="rating-3"></font>
## Abstract
Text goes here...

Tap on the html part next to Type::

Expected result

html text appears, ready to edit

Actual result

Instead the file gets filled with red dots, which looks like this:
image

With every tap, more red dots appear.

The markdown source becomes like this:

# New Note

New Note
 Tags:: 
 Created:: 2022-03-29
 Modified:: 2022-03-29
 Type:: <font class="type-1"></font>
 Rating:: 
Abstract
Text goes here...

Environment

  • Operating system: Android
  • Debug info:
    Using default theme and safe mode.

Additional information

On windows I don’t have this issue, and on mobile it only happens in Live Preview.

5 Likes

Platform

[ ] iOS
[x] Android

Obsidian Mobile version: v1.1.1


When I was trying to edit a file, these dots (see picture attached) started to appear in my text and I also noticed that task checkboxes disappeared. I tried recreating the issue on a new note and the dots appeared when the note included task checkboxes (it was fine if it was just text)

1 Like

I was getting the same thing. This is down to “Live Preview/Source” being turned on. The problem goes away when it is turned off.

https://imgur.com/a/3geI1H9

2 Likes

I wouldn’t agree that this is a solution, more of a temporary workaround.

Can you please provide some reproducible steps to make this happen?

So if you follow the video that I posted:

  1. Moves cursor to #2
  2. Scrolls to bottom of the list
  3. Scrolls back to the top of the list
  4. Moves cursor to the start of #1, prompting line to switch from preview to edit mode (red dots appear)
  5. Moves cursor to the end of #2
  6. Moves cursor to the start of #3
  7. Moves cursor to the start of #1 (more red dots appear)

This is really odd behaviour. Sometimes if you just prompt any line item to switch from preview to edit mode then the whole list becomes a sea of red dots. If you just wait then more dots are added eventually it stops adding them.

I thought that this was linked to this ticket but in creating this test case it seems that it happens to short lists as well.

which virtual keyboard are you using? does it happen with google board?

In answer to your question, I was using the standard Samsung keyboard.

I’ve just tried it every which way I can and the problem is not occurring anymore. My mobile app updated a day ago so perhaps it was fixed in the latest release?

@TheHDreamer check that your version is 1.1.1 and if so, whether this is still happening.

Exact same issue on Samsung S22 Ultra with Samsung Keyboard. Perhaps an issue with OneUi 4.1? Did not have the issue on old phone.

Obsidian Sync looks to be often an inititator of the issue too.

Happens most frequently on notes with lots of check boxes.

I get all the same issues as shared above from red dots to keyboard melt downs.

Tried Obsidian safe mode and issue persists, so not plugin related.

No update available for me in AU yet. Seems latest was March 17th.

It is not Obsidian Sync that is causing this, I’m using another way to sync and I’m also having this same issue.

Disabling Grammarly in Samsung Keyboard has seemed to fix for me. Will update if that stops.

You could be right. When I select gboard or another one it is not generating those red dots, but the Samsung keyboard does.

Also happening (sometimes, not always) to me while simply writing a [[link]] and then something simple like a comma or a newline.
When it happens all 4 square brackes become red dots (and the link is no longer a link, of course).
I’m using SwiftKey keyboard if that’s related.
Also: pressing “backspace” on those red dots does not delete them, the only way to delete them on Android is to have a bigger selection and deleting it all at once: sometimes it deletes everything, some other times it only does delete the last of the 4 dots.

I also have this problem using a Samsung Keyboard with Obsidian Sync

1 Like

Like others in this thread, I too am having a similar issue. I am using Live Preview and Obsidian Sync on my Samsung Galaxy S22 with Samsung Keyboard when the problem occurs, and cleaning this up on Desktop takes a while, as highlighting these corrupted characters take a lot of work for the machine. This is on 1.4.1 on Android.

For me, these red dots first appear around headers with use of #, for example. When no headers are present in a document, instead of red dots, the keyboard repeatedly pops in and out, seemingly when the text bar flashes in and out to show where the next characters will appear.

Also like other users, I have verified that this isn’t a Plug-in issue as well by doing things in Safe mode to test whether or not these red dots appear. I haven’t however, tested a different keyboard other than Samsung’s (which allows for Swype)

I can reproduce it with my Samsung Galaxy Tab S7 with original physical keyboard from Samsung or with virtual keyboard and with my Samsung Galaxy A71 Smartphone. I get it always typing something like [[#link]].123- with typing the minus destroy my input with red dots. The #link should work as inner link in the current note. For physical and virtual keyboard I use Microsoft SwiftKey.

Text was written with Live Preview.

1 Like

just want to add I can also reproduce this, and I cannot delete them without undo once they are added until I edit the note on desktop. Even selecting text around them fails to delete them sometimes, so it can completely prevent me from editing a frontmatter setting for a note and breaking the whole note.

I’ve noticed for me it primarily happens after text is auto formatted by inserting a non-newline char after some text like seen here:

(let me know if the video link doesn’t work, thanks!)

1 Like

same issue. this has completely corrupted multiple files in a vault and has me regretting purchasing sync. being able to use obsidian on my phone was nice for the week or two it lasted

2 Likes