Modifying a file opened via Favorites is not detected as a file change

Ouverte
#18,087 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
55/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
android, kotlin
Domaine
backend, mobile

Piste de recherche

Start by tracing how opening a file through Favorites resolves its local path, then compare that with opening the same file from its directory and how each path reports changes to sync. The issue names no source files or tests, so first locate the relevant file-opening and sync change-detection entry points. Done means edits made through Favorites trigger synchronization just like edits made from the directory.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

0. Needs triage bug
⚠️ Before posting ⚠️
  • This is a bug, not a question or an enhancement.
  • I've searched for similar issues and didn't find a duplicate.
  • I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • I agree to follow Nextcloud's Code of Conduct.
Steps to reproduce
  1. Add a synced file to Favorites, here: Keepass .KDBX-file.
  2. Open the file via Favorites and modify it; tested with KeePassDX and Keepass2Android.
  3. Save the file and close KeePassDX/Keepass2Android.
  4. Observe the sync status/activity and trigger a manual sync. You will see "already synced" message only, no matter how long you wait
  5. Open the same file directly from its directory location, modify/save it, and observe the sync status/activity - you will see immediate sync because of file change.

Note: Settings like a.) 2-Way-Sync or b.) file-storage external/internal or c.) general Android sync-state do not matter at all!

Expected behaviour

Modifying a file opened via Favorites should be detected as a file change and trigger synchronization just like modifying the file when opened directly.

Actual behaviour
  • Opened via Favorites: File modification is not recognized; synchronization does not run.
  • Opened directly: File modification is recognized and synchronized as expected.
Android version

17

Device brand and model

Samsung Galaxy A57

Stock or custom OS?

Stock

Nextcloud android app version

35.1.0

Nextcloud server version

33.0.11

Using a reverse proxy?

I don't know

Android logs

No response

Server error logs

Additional information

Tested with 35.1.0, but also occurred in 35.0.2 and 35.0.1 and maybe even longer.
Tested with Samsung Galaxy A57, Samsung Galaxy A55 and Samsung Galaxy A52.

Langage dominant
Kotlin
Étoiles
5.7k
Forks
2.1k
Merge moyen
2 j 7 h
PR mergées (30 j)
149

Préparer son environnement

Ouvrir dans Codespaces

Lance le conteneur de développement du projet dans votre navigateur, avec votre propre compte GitHub.

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de nextcloud/android

Toutes les issues de nextcloud/android

Issues similaires

Plus d'issues Kotlin

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.