I ran into this today. I had a note that I had created on Bear Web days ago that was still there in my open desktop tab but wasn’t showing up on my phone. My iOS app was showing as synched in the past 5 seconds but the “new” (few days old) note wasn’t there. Nothing on the desktop app was indicating a problem. Luckily I was able to copy the note before refreshing, as upon doing so the note disappeared but I was able to create it again, paste it back in, and it immediately popped up in my phone app and everything is acting normal again.
I’m using Chrome on Windows 11, basically always have the Bear Web app in a tab. I do have the “inactive tab” feature on Chrome running, maybe that affects things?
Just want to say as a PC user I am SO grateful for the web app, it’s what makes having Bear worth it to me. Before I was having to copy/paste all my notes into a google doc at the end of the day to then copy over to the sites that my work used that were too clunky to use on mobile.
lots of browsers have an eco mode turned on by default now where tabs are made to sleep after x duration inactivity. Having experienced this behavior too I would bet it’s something linked to that.
That or if JWT tokens are being used, maybe the refresh duration could be made more generous / make the reminder to reauthenticate more aggressive to the user’s eye.
one more week of testing behind me and I must say that I didn’t observe any issues with notes syncing in that past period. Notes are syncing all day and the app even survives over night with sleep mode. Also transitions between home (VPN) and office (behind corporate proxy) brought no issues.
That’s very good news, thanks @lubosek! We are monitoring the situation and we’ve been trying to anticipate potential issues all along, it looks like we had some luck there
We’ll keep doing that, but please let us know if you experience any regression.
I’m still experiencing sync issues from time to time. Most recently, I started adding content to a note I had previously created on mobile. When I finished working on it, I closed Bear Web to get the dreaded message from the browser–informing me that if I leave now, my changes will be lost.
I checked on iOS to see that the note hasn’t, in fact, synced. I noticed that when I switch between notes on Bear Web that the cloud/sync icon appears but still no luck with the syncing. Is there a way to manually start a sync from desktop?
Btw, I made sure to have a clean Bear Web session before working on the note, meaning I didn’t come out of sleep mode with Bear previously open or anything like that.
Hi @niqwithq, thanks for the extra info. That’s very useful. Did the extra work include uploading any new image / file attachment to the note? Also, do you happen to be behind any form of firewall?
IMO a sync status indicator, like the one in Obsidian, could be useful. When sync fails, let the user know. That’s an order of magnitude less frustrating than what some folks in this thread have experienced.
Thanks everybody for the feedback. Yes a more visible sync status indicator is definitely coming and is currently in the making. But actually the window alert message that currently appears when you try to close / refresh / navigate away (and whose screenshot has been posted above) is, in fact, the first iteration of such an indicator. I agree it’s by no means sufficient, but If the alert does not appear, it means that the sync has been done successfully.
I’m starting to run into similar sync issues for the first time. I’m not sure if it’s the same or a separate issue, but Bear is showing a pop-up within the notes window that says something to the effect of “There’s a new version of Bear available” with a button to refresh the tab. When I refresh the tab, it reverts my notes to an earlier version - erasing any recent edits. This has happened a couple of times this week alone.
Hi @jed, that sounds like a regression, I’m checking it now. That message is there to indicate your version is old and you need to update, but it should only show if and only if there are no unsaved changes.
okay thanks. I’m looking forward to the sync status indicator in the meantime I’ll proceed like you said. Do you think that it might be related to Chrome putting Bear web app in suspend state?
That’s one of the conditions we are investigating.
We’re about to deploy a new bugfix release; this means you’ll be prompted to refresh the browser tab. The current release include code to prevent losing edits when new releases happen, among other things. I’ll keep you posted when we have more info on this thread.
To everybody here who’s willing to help with debugging this issue.
We exposed a function in the dev console, called iCloudSyncStats(), that will retrieve some information about the status of the synchronisation process.
If and when (hopefully never) you find that the sync has gone awry (missing updates, or the warning dialog when you try to close the browser are a good indication) it would be amazing if you could open the dev console (cmd-shift-I on mac, ctrl-shift-I on win), and type iCloudSyncStats() in the console (followed by enter); you should then see a data structure like the following (likely populated with different values):