martinstoeckli / SilentNotes

SilentNotes is a simple note taking app which respects your privacy.
https://www.martinstoeckli.ch/silentnotes
Mozilla Public License 2.0
238 stars 35 forks source link

App resets to start screen from configuration pages when switching between apps #192

Closed Hibbie89 closed 4 months ago

Hibbie89 commented 2 years ago

Describe the bug I just installed the app and wanted to sync the notes via mailbox.org. Therefore, I tried to copy&paste the WebDAV address from the help into the according field, however, the app was reset to the starting screen. So I opened the configuration again, pasted the previously copied information, which worked. Nevertheless, I use a password manager for my passwords, so naturally I tried to fill in the information fom this manager, but it opened the manager app for authentification, and when returning to SilentNotes, it was again on the starting screen.

So when you have to cpy&paste more than one informaton in the configuration process, this is not possible right now.

(btw, the same happened when trying to set the vault password via the password manager or open the vault, when the password manager is locked. However there one could copy the password previously and past it after opening the configuration page)

Platform (please complete the following information):

Additional context

martinstoeckli commented 2 years ago

Yes this is really inconvenient, I know about this problem, thank you for reporting.

liesbe commented 1 year ago

Maybe this is related? Is it intended behaviour that the app (on Android) always jumps to the top of the note again, when I temporarily switched focus to another app? I always have to scroll back to the location where I was writing. Is there a way for me to avoid this?

martinstoeckli commented 1 year ago

@liesbe It looks like a similar problem, but actually a solution would be a little different. In the first case the routing/navigation is the problem, Android just restarts/resumes the app and it is the responsibility of the app to remember the page it was before. To restore the last position in a note, as we are used to from browsers would require to get the current top row of the editor, and reapply it after a restart. I would have to do some research whether/how this can be done.

Currently I'm playing around with Blazor-WASM, and I think about switching to this technology. It offers another way of routing thus I postponed this issue, until I'm sure which way to go.

martinstoeckli commented 1 year ago

This issue will be addressed in the upcoming version 8.0.