Skip to content

Pdf controls not working on mobile browsers #833

Open

Description

Steps to reproduce

  1. Open pdf file in mobile browser (tested with chrome and brave in several versions)

Expected behaviour

On top should be the information bar with the filename and close button from nextcloud. Below this should the pdf viewer controls (zoom, print, download....)

Actual behaviour

There're only the pdf viewer controls and as an overlay you see the filename and close button. The viewer controls can't be used, only the close button in the right corner works.
Chrome, Edge and Firefox on Windows are working as expected.

Server configuration

Operating system:
Debian 12
Web server:
Apache 2.4.57
Database:
MariaDB 10.11.4
PHP version:
8.2.7
Nextcloud version: (see Nextcloud admin page)
27.1.2
Where did you install Nextcloud from:
nextcloud.com

List of activated apps:

  • activity: 2.19.0
  • admin_audit: 1.17.0
  • announcementcenter: 6.6.2
  • calendar: 4.5.2
  • circles: 27.0.1
  • cloud_federation_api: 1.10.0
  • comments: 1.17.0
  • contacts: 5.4.2
  • contactsinteraction: 1.8.0
  • dashboard: 7.7.0
  • dav: 1.27.0
  • encryption: 2.15.0
  • event_update_notification: 2.2.0
  • external: 5.2.1
  • federatedfilesharing: 1.17.0
  • federation: 1.17.0
  • files: 1.22.0
  • files_accesscontrol: 1.17.1
  • files_fulltextsearch: 27.0.1
  • files_fulltextsearch_tesseract: 27.0.0
  • files_mindmap: 0.0.29
  • files_pdfviewer: 2.8.0
  • files_reminders: 1.0.0
  • files_rightclick: 1.6.0
  • files_sharing: 1.19.0
  • files_trashbin: 1.17.0
  • files_versions: 1.20.0
  • firstrunwizard: 2.16.0
  • forms: 3.3.1
  • fulltextsearch: 27.0.2
  • fulltextsearch_elasticsearch: 27.0.4
  • groupquota: 0.1.11
  • impersonate: 1.14.0
  • logreader: 2.12.0
  • lookup_server_connector: 1.15.0
  • nextcloud_announcements: 1.16.0
  • notes: 4.8.1
  • notifications: 2.15.0
  • oauth2: 1.15.1
  • onlyoffice: 8.2.0
  • password_policy: 1.17.0
  • photos: 2.3.0
  • polls: 5.3.2
  • privacy: 1.11.0
  • provisioning_api: 1.17.0
  • qownnotesapi: 23.6.0
  • quota_warning: 1.17.0
  • recommendations: 1.6.0
  • related_resources: 1.2.0
  • serverinfo: 1.17.0
  • settings: 1.9.0
  • sharebymail: 1.17.0
  • spreed: 17.1.1
  • support: 1.10.0
  • survey_client: 1.15.0
  • systemtags: 1.17.0
  • tasks: 0.15.0
  • text: 3.8.0
  • theming: 2.2.0
  • twofactor_backupcodes: 1.16.0
  • updatenotification: 1.17.0
  • user_ldap: 1.17.0
  • user_status: 1.7.0
  • viewer: 2.1.0
  • weather_status: 1.7.0
  • workflowengine: 2.9.0

Nextcloud configuration:

$CONFIG = array (
'passwordsalt' => '',
'secret' => '',
'trusted_domains' =>
array (
0 => 'localhost',
),
'trusted_proxies' =>
array (
0 => 'x.x.x.x',
),
'datadirectory' => '/var/nc_data',
'dbtype' => 'mysql',
'version' => '27.1.2.1',
'overwrite.cli.url' => '',
'dbname' => 'ncextern',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => '',
'dbpassword' => '',
'installed' => true,
'instanceid' => '',
'activity_expire_days' => 14,
'auth.bruteforce.protection.enabled' => false,
'blacklisted_files' =>
array (
0 => '.htaccess',
1 => 'Thumbs.db',
2 => 'thumbs.db',
),
'allow_local_remote_servers' => true,
'cron_log' => true,
'enable_previews' => true,
'enabledPreviewProviders' =>
array (
0 => 'OC\Preview\PNG',
1 => 'OC\Preview\JPEG',
2 => 'OC\Preview\GIF',
3 => 'OC\Preview\BMP',
4 => 'OC\Preview\XBitmap',
5 => 'OC\Preview\Movie',
6 => 'OC\Preview\PDF',
7 => 'OC\Preview\MP3',
8 => 'OC\Preview\TXT',
9 => 'OC\Preview\MarkDown',
),
'filesystem_check_changes' => 0,
'filelocking.enabled' => 'true',
'htaccess.RewriteBase' => '/',
'integrity.check.disabled' => false,
'knowledgebaseenabled' => false,
'log_type' => 'file',
'log_rotate_size' => 104857600,
'logfile' => 'nextcloud.log',
'loglevel' => '3',
'logtimezone' => 'Europe/Berlin',
'memcache.local' => '\OC\Memcache\APCu',
'memcache.locking' => '\OC\Memcache\Redis',
'preview_max_x' => 1024,
'preview_max_y' => 768,
'preview_max_scale_factor' => 1,
'redis' =>
array (
'host' => 'localhost',
'port' => 6379,
'timeout' => 0.0,
'password' => '',
),
'quota_include_external_storage' => false,
'share_folder' => '/Shares',
'skeletondirectory' => '',
'default_language' => 'de',
'default_phone_region' => 'DE',
'mail_from_address' => '',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => '',
'mail_smtphost' => '',
'mail_smtpport' => '25',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtpname' => '',
'mail_smtppassword' => '',
'mail_smtptimeout' => 30,
'maintenance' => false,
'twofactor_enforced' => 'false',
'twofactor_enforced_groups' =>
array (
),
'twofactor_enforced_excluded_groups' =>
array (
),
'theme' => '',
'encryption.legacy_format_support' => false,
'encryption.key_storage_migrated' => false,
'ldapProviderFactory' => 'OCA\User_LDAP\LDAPProviderFactory',
'trashbin_retention_obligation' => 'auto, 90',
);

Client configuration

Browser:
Chrome 117.0.5938.153
Brave 1.58.137, Chromium 117.0.5938.153

Operating system:
Android 11

Logs

Nextcloud log (data/owncloud.log)

Opening the file doesn't create log entries

Browser log

I don't know how to get this from a mobile browser

20231009_145832

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions