Skip to content

Opening of note in webview is slow #2936

Open

Description

@tobiasKaminsky

This issue respects the following points:

Describe the bug

open note in "rich edit mode"
very slow
might be a caching issue, since we rely on webview

Expected behavior

No response

Notes Android version

/

Notes server version

/

Nextcloud Android version

/

Nextcloud version

/

Device

/

Android Version

16

App Store

  • Google Play Store
  • F-Droid
  • Huawei App Gallery

Stacktrace

No response

Activity

  1. moved this to 🧭 Planning evaluation (don't pick) in 🤖 🍏 Mobile clients teamon Nov 28, 2025
  2. moved this from 🧭 Planning evaluation (don't pick) to 📄 To do (max 2 entries / member) in 🤖 🍏 Mobile clients teamon Nov 28, 2025
  3. moved this from 📄 To do (max 2 entries / member) to 🏗️ In progress in 🤖 🍏 Mobile clients teamon Sep 15, 2026
  4. daniele-verducci commented on Nov 5, 2026

    @daniele-verducci
    Collaborator

    ℹ️ Update:

    Here is a test implementation with an always-running, lazy-loaded webview using the new OCA.Text.openDirectEditing() function.

    There's lazy loading as discussed, so the first time it loads the entire page from the url, while the following times it just passes the url to your function. First time it requires the canonical 5 seconds, the other times it's about a second

    The test has been done on the emulator running on the same machine as the docker hosting Nextcloud, so with virtually no network latency/unlimited bandwidth, so I expect the gain to be even bigger on real remote instances

    One thing I noticed is that the document remains locked, and the loading spinner remains visible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions