nextcloud / nextcloud/ios

Aspect Ratio Grid Size - not working - Zoom in and Zoom out not visible

Open
#3,147 4 comments 0 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

Steps to reproduce
  1. Open Nextlcoud-ios app
  2. open the folder full of pdf files
  3. goto more
  4. and select "Aspect Ratio Grid"
  5. Nothing happens, Options like "Zoom out" and "Zoom in" are gone
  6. and select the "Square Grid"
  7. You will see there is no change in how the thumbnails of the PDFs look. They will just remain in square grid format
Expected behaviour

Selecting Aspect Ratio Grid would make the PDFs thumbnail change to the first page view of the pdf file. And by selecting the Zoom in and zoom out we could change the size of the thumbnail

Actual behaviour

The "Aspect Ratio Grid" behaves same as the "Square Grid" and the "Zoom in" and "zoom out" options are nowhere to be seen

Reasoning or why should it be changed/implemented?

It was working fine, since I last updated two weeks ago. But yesterday update broke it. I could easily change the aspect ratio and zoom in and zoom out. This is especially useful for PDFs like newspaper where the Square aspect ratio isn't helpful. The newspapers have longer pages and in square aspect ratio the names of the newspaper often on the top of the page gets hidden.

Also the zoom in and zoom out feature needs to be brought back.

Environment data

iOS version: e.g. iOS 17.6.1
v17.6.1

Nextcloud iOS app version: see More > Settings
v6.1.0.4

Server operating system:
Raspberrypios - bookworm

Web server: Apache, nginx
Linuxserver.io docker compose file

Nextcloud version: see Nextcloud admin page
v30.0.1

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 Nextcloud iOS app with a folder containing PDF files, then inspect the Aspect Ratio Grid and Square Grid entry points. Confirm that Aspect Ratio Grid shows first-page thumbnails and that Zoom in and Zoom out are available and change thumbnail size, while preserving Square Grid behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.