nextcloud / notes-android

✎ Android client for Nextcloud Notes app.
https://play.google.com/store/apps/details?id=it.niedermann.owncloud.notes
GNU General Public License v3.0
939 stars 134 forks source link

slow edit in long notes #2192

Open monperrus opened 5 months ago

monperrus commented 5 months ago

This issue respects the following points:

Describe the bug

Edit a very long note (100kb+). Each keystroke takes a very long time to appear.

Related bug: Slow search in long notes (#1729 )

Expected behavior

Edition is responsive and usable.

Notes Android version

4.2.1

Notes server version

4.9.2

Nextcloud Android version

3.29.0

Nextcloud version

28.0.3

Device

Pixel

Android Version

14

App Store

Stacktrace

No response

stefan-niedermann commented 5 months ago

note (100kb+)

The Notes app is not a word processor and not designed to handle scientific works and write books. Split them into multiple notes (and glue them together with a category).

However it is crucial to mention which type of editor you are using: In the Notes Android apps settings, you can switch between preview, edit and rich edit. The last one is a web based editor and slower by nature - you can try using the edit mode which is implemented natively and should be able to handle more content gracefully. (Drawbacks are missing features like a yet missing toolbar as well as collaborative real time editing together with other people - the latter one will likely never come for the simple edit mode).

monperrus commented 5 months ago

| preview, edit and rich edit.

thanks, I did not know that. "plain edit" is much faster.

by playing with that, encountered this bug https://github.com/nextcloud/notes-android/issues/2196