nextcloud / nextcloud/text

Menu bar not available - Read only file cannot be closed in iOS

Open
#8,343 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
659
Forks
133
Avg merge
1d 20h
Merged PRs (30d)
110

Description

Describe the bug
The menu bar and close button is not available when opening file in iOS app.

To Reproduce
Steps to reproduce the behavior:

  1. Log in as user A
  2. Create a new file.
  3. Share file with user B with read only permission.
  4. On iOS, log in as user B.
  5. Open the shared file.
  6. Try to close the file.

Expected behavior
When opening the file, the menu bar should be available so that you can reach the close button.
The menu bar is now below the editor and on top of the keyboard. In earlier versions is was on top of the editor. I do not know if this is by design.

** Workaround**
The work around now is to try to edit the file and open the keyboard. When the keyboard is opened up, also the menu becomes visible and you can close the file. If you do not have edit permissions it is not possible to use this workaround.

I can actually find the hidden menu bar by scrolling up and hold, but I cannot access it.

Screenshots

Image

Image

Server details where issue can be reproduced:

  • Nextcloud version: 33.0.0
  • PHP Version: 8.4.18
  • Database: PostgreSQL 14.22
  • Text App version: 7.0.0-dev.3

Server details where issue cannot be reproduced:

  • Nextcloud version: 31.0.13
  • PHP Version: 8.3.29
  • Database: mysql Version 10.11.16
  • Text App version: 5.0.2

Client details:

  • OS: iOS
  • Device: iPhone SE 2013
Logs
Nextcloud log (data/nextcloud.log)
Insert your Nextcloud log here
Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

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

Reproduce the issue in the iOS app using a read-only shared file and the versions listed in the report. Start by tracing the editor's menu-bar and close-button behavior when the keyboard is hidden. Done means the menu bar and close action are accessible without edit permission, while preserving the existing editing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, javascript
Domain
frontend, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.