nextcloud / files_pdfviewer

:book: A PDF viewer for Nextcloud
GNU Affero General Public License v3.0
90 stars 43 forks source link

Sidebar cannot be disabled on mobile devices #981

Open uneuen opened 5 months ago

uneuen commented 5 months ago

Steps to reproduce

  1. Share internal link to a PDF file with a messenger (e.g. Signal)
  2. Person who receives message clicks the link on their mobile device
  3. Person wants to read PDF, but sidebar cannot be disabled (sidebar toggle button greyed out)

Expected behaviour

The sidebar should be disable by default.

Actual behaviour

The sidebar is enabled by default and the user cannot disable it. So basically, he cannot read the PDF because the sidebar is in the way.

Server configuration

Operating system: Betriebssystem: Linux 3.10.0-962.3.2.lve1.5.83.el7.x86_64 x86_64 Prozessor: Intel Core Processor (Haswell, IBRS) (14 cores)

Web server: Apache

Database: MariaDB

PHP version: 8.1.28

Nextcloud version: (see Nextcloud admin page) [Nextcloud Hub 8] (29.0.2)

Where did you install Nextcloud from: HTML file

List of activated apps:

Nextcloud configuration: { "system": { "instanceid": "REMOVED SENSITIVE VALUE", "passwordsalt": "REMOVED SENSITIVE VALUE", "secret": "REMOVED SENSITIVE VALUE", "trusted_domains": [ "xxxxx" ], "default_language": "de", "allow_user_to_change_display_name": true, "datadirectory": "REMOVED SENSITIVE VALUE", "skeletondirectory": "\/home\/xxxxx\/publichtml\/xxxxx\/intranet\/initialdateien", "dbtype": "mysql", "version": "29.0.2.2", "overwrite.cli.url": "https:\/\/xxxxx\/intranet", "dbname": "REMOVED SENSITIVE VALUE", "dbhost": "REMOVED SENSITIVE VALUE", "dbport": "", "dbtableprefix": "oc", "mysql.utf8mb4": true, "dbuser": "REMOVED SENSITIVE VALUE", "dbpassword": "REMOVED SENSITIVE VALUE", "installed": true, "mail_smtpmode": "smtp", "mail_smtpsecure": "ssl", "mail_sendmailmode": "smtp", "mail_from_address": "REMOVED SENSITIVE VALUE", "mail_domain": "REMOVED SENSITIVE VALUE", "mail_smtpauthtype": "LOGIN", "mail_smtpauth": 1, "mail_smtphost": "REMOVED SENSITIVE VALUE", "mail_smtpport": "465", "mail_smtpname": "REMOVED SENSITIVE VALUE", "mail_smtppassword": "REMOVED SENSITIVE VALUE", "maintenance": false, "theme": "", "loglevel": 2, "updater.release.channel": "stable", "memcache.local": "\OC\Memcache\APCu", "maintenance_window_start": 1, "default_phone_region": "CH", "user_custom_css": "\/themes\/xxxxx\/core\/css\/allerlei.css", "wopi_url": "http:\/\/localhost:9980\/hosting\/discovery\/", "wopi_allowlist": [ "application\/vnd.openxmlformats-officedocument.wordprocessingml.document", "application\/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "application\/vnd.openxmlformats-officedocument.presentationml.presentation" ], "app_install_overwrite": [ "mindmap_app" ] } }

Client configuration

Browser: Chrome, Safari

Operating system: Android, iOS

Logs

Nextcloud log (data/owncloud.log)

n/a

Browser log

n/a

andrtau commented 3 months ago

Can confirm on Samsung Internet Android

antal-huck commented 2 months ago

Happens on iPads as well.