notes-android
notes-android copied to clipboard
Unable to switch to rich edit mode
Describe the bug Just can't switch to rich edit mode
To Reproduce Steps to reproduce the behavior:
- Click rich edit mode button
- Error appears
Expected behavior Switch to rich edit mode
Smartphone (please complete the following information):
- Nextcloud Notes-Version (android app): 4.0.0
- F-Droid or Play Store: F-Droid
- Android-Version: 10
- Device: Huawei P30
Server
- Nextcloud version: 26.0.0
- Nextcloud Notes version (server app): 4.7.2
Screenshots
I am experiencing the exact same bug. The default nextcloud files app can load rich documents editer just fine.
Same problem and have had it since day one. Server Notes app was a bit buggy as well but is fine after a number of updates since. Still can't use it on the mobile app.
I also get the odd error "The document has been changed outside of the editor. The changes cannot be applied." When I open any one note. If I let it run for long enough. Sometimes it will give me the option to pick the saved version or the current version.
The error you show on your screen still shows up superimposed over everything at the bottom. It is not really usable. Hence I do not use Rich Documents much since in my use case, I use the Android app a bit more than the one on the server.
I am aware these may be multiple issues going on at once, but I am mentioning them here just in case they are related and in case anyone else is having the same issue.
I tried Dev version.
This is one tried (artifact with zip file at the bottom) https://github.com/nextcloud/notes-android/actions/runs/5331495052
And it is working. However on first try i got conflict error to pick two different versions of note. Has not been there since then. Keep testing.
I tried Dev version.
This is one tried (artifact with zip file at the bottom) https://github.com/nextcloud/notes-android/actions/runs/5331495052
And it is working. However on first try i got conflict error to pick two different versions of note. Has not been there since then. Keep testing.
Tried Dev version suggested. Nothing has changed. Issues continue.
Tried Dev version suggested. Nothing has changed. Issues continue.
- What kind of issues?
- You sure you running Dev version? It installs alongside the release version and has Dev in its icon.
@regs01
- Same as the ones posted on my original post.
- Yes.
- Same as the ones posted on my original post.
Error while loading rich editing
?
I've got the same bug but only with one of my 2 servers!? Seems to be a timeout issue?
- Same as the ones posted on my original post.
Error while loading rich editing
?
Fair. To answer your question more specifically, I get both, the error you opened this ticket for, and also the error(s) I posted in my post after. Both still continue on different phones with different versions of Android, ranging from 7+ onward. Standard Notes app from F-Droid or Dev version. It makes no difference.
I've got the same bug but only with one of my 2 servers!? Seems to be a timeout issue?
Just to be clear, @Uatschitchun: When you say 2 servers, do you mean two different instances on the same server, or two separate physical servers? I assume you mean two separate machines. As I have a production and a testing one instance, both on the same machine, one on 26+ and the other on 27 and I get the same issue in both. Maybe it could be a time out issue.
Yes, 2 instances hosted in different servers
Facing same issue on Nextcloud notes version 4.1.0 RC1. The nextcloud server is running on Nextcloud Hub 5 (27.0.0)
Having same issue with Nextcloud Notes - Android version 4.1.0 RC1 from F-Droid. Server is Nextcloud-AIO 27.0.2.
I'm facing this issue as well. For me it only started after upgrading the server to 27. Before the upgrade I was running 24, so I'm not sure since which version exactly this issue started.
I fixed this error by enabling the Text app in my Nextcloud instance, it was disabled before. Maybe that helps some of you.
It's working in dev, but doesn't work in stable. Even after update to 4.1.0 final.
It's working in dev, but doesn't work in stable. Even after update to 4.1.0 final.
Just for those who would like to try, the Dev apk has expired. You cannot simply download it from the link, posted closer to the top.
It's working in dev, but doesn't work in stable. Even after update to 4.1.0 final.
Just for those who would like to try, the Dev apk has expired. You cannot simply download it from the link, posted closer to the top.
Find lastest with artefacts in Actions. Dev is working. Although loading 10 seconds and won't work without connection.
https://github.com/nextcloud/notes-android/actions
@regs01
Tried with latest Notes Dev, built 18 hours ago as of this writing. Error still pops up: "Error while loading rich editing..." Giving the option to switch to Plain. Agreed that Rich Text does come up after 10+ seconds or so, but that would sometimes happen before, sometimes.
Error message still persists at the bottom, even with the Rich Text appearing, blocking the lower button at the bottom right and it won't disappear unless one does opt to switch back to plain. Strange since this has been going on for 8 months now.
Sure you are launching Notes Dev app, not the original one? It's a different app. And rich edit mode is only working online.
Sure you are launching Notes Dev app, not the original one? It's a different app. And rich edit mode is only working online.
Who would confuse the two? It literally loads with the word "Dev," as a splash screen and in a large font. So, to answer your question: Yes, I am sure. Unfortunately, the error continues.
Albeit I do not know if this is the same/or related error as OP's, I am now also getting this while using the alpha build on one of my phones. Maybe it will be beneficial as to further shed light into this issue:
App Version: 4.2.0 Alpha1
App Version Code: 40020000
App Flavor: dev
Files App Version Code: 30260090 (PROD)
Files App Version Code: 20231209 (DEV)
---
OS Version: 3.18.31-perf-gd33f902(1906418273f7d)
OS API Level: 24
Device: sf340n
Manufacturer: LGE
Model (and Product): LG-M470 (sf340n_global_ca)
---
java.lang.NullPointerException: Attempt to invoke interface method 'void com.nextcloud.android.sso.api.NextcloudAPI$ApiConnectedListener.onConnected()' on a null object reference
at com.nextcloud.android.sso.api.AidlNetworkRequest$1.onServiceConnected(AidlNetworkRequest.java:79)
at android.app.LoadedApk$ServiceDispatcher.doConnected(LoadedApk.java:1535)
at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1563)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6317)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:872)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:107)
Where can I get the dev version?
I fixed this error by enabling the Text app in my Nextcloud instance, it was disabled before. Maybe that helps some of you.
This fixed the issue for me immediately. Thank you!
@bladem2003
Where can I get the dev version?
You can find it under actions. It is a bit of a moving target as new APKs are built constantly. This is the latest I saw today, as of this morning.
https://github.com/nextcloud/notes-android/actions/runs/7404915333
I had a similar issue, except I could not edit my notes from my android phone at all. All the notes opened in preview mode and the switch to the edit mode did nothing at all.
For me disabling and re-enabling the text app (it was originally enabled for me) fixed the issue.
Check this in parameters:
Make sure it's not enabled
It was enabled for me. Disabling that settings had no effect since the editing started working again after restarting the text app.
What that settings does and why disabling It should fix the issue?
Here (Ubuntu 24.04, Notes 4.3.0) "Plain edit mode" floating button doesn't work when "Direct Edit" enabled. https://github.com/nextcloud/notes-android/issues/2258
Le sam. 13 juil. 2024 à 20:25:41 -07:00:00, giogua @.***> a écrit :
It was enabled for me. Disabling that settings had no effect since the editing started working again after restarting the text app.
What that settings does and why disabling It should fix the issue?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Thanks!