nextcloud / nextcloud/ios

Photos are not shown in Media tab

Open
#3,301 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce
  1. On the web app upload photos to "Photos" folder
  2. Create another folder "Trip to UK" in the "Photos" folder, upload some photos into it.
  3. On the IOS app set media folder to "Photos" folder.
  4. Open Media tab
Expected behaviour

App should show all files from "Photos" and "Trip to UK"

Actual behaviour

App shows only files from "Photos" excluding "Trip to UK". But if you manually enter "Trip to UK" in Files tab app loads them into Media tab

Logs
If applicable, you can post the iOS app or server logs (removing any sensitive information).
Reasoning or why should it be changed/implemented?

If you have many nested folders it's rather tideous (I have around 20) to enter them individually. Same thing happens if you log out from the app/clear cache - you have to manually open folders in Files tab to show all files in Media tab

Environment data

iOS version:
iOS 17.3
Nextcloud iOS app version: see More > Settings
6.2.4.7
Server operating system:
Ubuntu Linux 24.04.1
Web server: Apache, nginx
Apache/2.4.58
Database:
PostgreSQL 16.6
PHP version:
8.3.16
Nextcloud version: see Nextcloud admin page
30.0.5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the iOS app using the Photos and Trip to UK folders, then compare how the Media tab discovers files with the Files tab. Done means the Media tab includes photos from nested folders after selecting the parent media folder, including after logout or clearing the cache.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.