Media tab: "Videos" filter only shows videos from the first ~200 newest items, no further pages load on scroll
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by tracing the Media tab’s Videos filter and its scrolling/pagination requests; the issue names no source files or tests. Compare the observed paginated SEARCH request with the direct video-only query described in the report, then run the relevant media browsing tests. Done means scrolling loads the full video set rather than only videos from the first page.
由索引模型根据 Issue 内容生成。
描述
Environment
- Nextcloud iOS app 35.0.0
- Nextcloud server 35.0.1 (self-hosted on TrueNAS, app version 2.3.76)
- Library: ~29,000 media files in one external local storage folder (~26,000 images, ~2,800 videos, mixed in the same folders)
Steps to reproduce
- Open the app → Media tab.
- Set the filter to "Videos only".
- Scroll down repeatedly, wait, clear the app cache, refresh.
Expected: all ~2,800 videos are listed, with older videos loaded as I scroll.
Actual: only a small number of videos is shown (21, then 12, then 65 across attempts). It does not grow with scrolling. Photos and videos from the Files tab and the web Photos app show the full set (2,825 videos) for the same account.
Analysis (from a packet capture of the app's requests)
- The app sends one SEARCH /remote.php/dav request with X-NC-Paginate-Count: 200 and X-NC-Paginate-Offset: 0.
- The d:where clause is (like image/% OR like video/%) AND (date <= 4001-01-01 AND date >= 2017-05-28), ordered descending.
- So images and videos are requested together and the "Videos" filter seems to be applied on-device to the loaded page(s). Since videos are only about 9% of the library, a 200-item page contains few videos, and no further requests were seen while scrolling (only 2 SEARCH requests in a 150 s capture).
- The server returns the full set when queried directly: the same SEARCH with only video/% returns all videos.
- 主要语言
- Swift
- 星标
- 2.5k
- 派生
- 1k
- 平均合并
- 1 天 4 小时
- 30 天内合并 PR
- 59
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
nextcloud/ios 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
nextcloud/ios#4370 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 70/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 62/100
mozilla-mobile/firefox-ios#35996 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 78/100
wultra/ssl-pinning-ios#60 ·
-
fix: pre-push hook이 worktree에서 GIT_DIR을 상속해 SwiftPM 패키지 해석에 실패可能已有人在做 @zaehorang 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
-
难度 2/5 1 小时以内 新手友好度 85/100
pluk-inc/markdown-preview#493 ·
维护者通常 1 天内回复
-
Reading an empty file leaks a 4 KB buffer on Linux (Data(contentsOf:), String(contentsOfFile:))可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 70/100
swiftlang/swift-foundation#2304 ·
维护者通常 1 天内回复