appml / neutrinote

neutriNote - the original extensible Markdown + Math note app. Non-commerical. No lock-ins. Only 3 MB footprint & highly optimized. Designed for plaintext purists.
GNU General Public License v3.0
360 stars 25 forks source link

Homescreen widget: empty after app update #59

Open J70P opened 2 years ago

J70P commented 2 years ago

Android 7.1.2 (LineageOS 14.1)

After installing a newer apk file (from F-Droid) the homescreen widget is still there but empty.

I'm using the default launcher Trebuchet.

appml commented 2 years ago

Android 7.1.2 (LineageOS 14.1)

After installing a newer apk file (from F-Droid) the homescreen widget is still there but empty.

I'm using the default launcher Trebuchet.

No idea why the widget failed to redraw during app updates. Pretty much using the standard code Google provides. Workaround is to resize the widget.

HTH.

J70P commented 2 years ago

Workaround is to resize the widget.

I'll try that with the next update.

J70P commented 2 years ago

Yesterday I was wondering why old notes in the trash_bin directory are not deleted even though I set "com.appmindlab.nano.pref_max_deleted_copies_age|10". I then read in the documentation that this function is related to backup. I then played around with the backup function. After that I noticed that the homscreen widget was also empty. Some function reset it even though I didn't install an update. Unfortunately, resizing the widget did not restore its content. There remains only one solution, delete the widget and create a new one.

appml commented 2 years ago

Yesterday I was wondering why old notes in the trash_bin directory are not deleted even though I set "com.appmindlab.nano.pref_max_deleted_copies_age|10". I then read in the documentation that this function is related to backup. I then played around with the backup function. After that I noticed that the homscreen widget was also empty. Some function reset it even though I didn't install an update. Unfortunately, resizing the widget did not restore its content. There remains only one solution, delete the widget and create a new one.

Interesting. Just curious how many notes were shown in your widget?

J70P commented 2 years ago

Always 4. If I have starred notes, starred notes. If I have more than 4 starred notes, I can scroll through them. If I don't have starred notes, it's the same with normal notes.