Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Media tab: "Videos" filter only shows videos from the first ~200 newest items, no further pages load on scroll

未关闭
#4,380 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
ios, swift
领域
mobile

调研方向

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 内容生成。

描述

bug

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

  1. Open the app → Media tab.
  2. Set the filter to "Videos only".
  3. 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 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nextcloud/ios 的其他 Issue

查看 nextcloud/ios 的全部 Issue

相似的 Issue

更多 Swift Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。