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

Đang mở
#18,087 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, kotlin
Lĩnh vực
backend, mobile

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Kotlin
Star
5.7k
Fork
2.1k
Merge trung bình
2 ngày 7 giờ
Pull request đã merge (30 ngày)
149

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của nextcloud/android

Tất cả issue của nextcloud/android

Issue tương tự

Thêm issue về Kotlin

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.