Skip to content

Support Chrome Desktop PWA as native window #8563

@peteruithoven

Description

@peteruithoven

Steps to reproduce

  1. Enable experimental Desktop PWAs in Chrome / Chromium (source)
    1. Go to chrome://flags,
    2. Search for "Desktop PWAs"
    3. Change "Desktop PWAs" from "Default" to "Enabled".
  2. Go to Nextcloud instance
  3. Click on Chrome / Chromium menu > "Add to Desktop..."
  4. In the prompt, click Add
  5. Open added shortcut

Expected behaviour

A "chromeless" window opens, without url bar or tabs. See Pokedex.org for example:
screenshot from 2018-02-27 13 18 29

Actual behaviour

A regular Chrome / Chromium window opens:
screenshot from 2018-02-27 13 02 19

More info

The manifest file is found

{
  "name": "Nextcloud",
  "start_url": "https://nextcloud.peteruithoven.nl",
  "icons": [
    {
      "src": "/index.php/apps/theming/icon?v=0",
      "type": "image/png",
      "sizes": "128x128"
    },
    {
      "src": "/index.php/apps/theming/favicon?v=0",
      "type": "image/svg+xml",
      "sizes": "16x16"
    }
  ],
  "display": "standalone"
}

From: index.php/apps/theming/manifest?v=0

Server configuration

Operating system:
Ubuntu 16.04.3 LTS

Web server:
Caddy 0.10.10

Nextcloud version: (see Nextcloud admin page)
Nextcloud 13.0.0

Updated from an older Nextcloud/ownCloud or fresh install:
Updated from an older Nextcloud/ownCloud

Signing status:

Signing status No errors have been found.

List of activated apps:

App list Enabled: - activity: 2.6.1 - bruteforcesettings: 1.0.3 - calendar: 1.6.0 - comments: 1.3.0 - contacts: 2.1.0 - dav: 1.4.6 - federatedfilesharing: 1.3.1 - federation: 1.3.0 - files: 1.8.0 - files_pdfviewer: 1.2.0 - files_sharing: 1.5.0 - files_texteditor: 2.5.1 - files_trashbin: 1.3.0 - files_versions: 1.6.0 - files_videoplayer: 1.2.0 - firstrunwizard: 2.2.1 - gallery: 18.0.0 - logreader: 2.0.0 - lookup_server_connector: 1.1.0 - nextcloud_announcements: 1.2.0 - notifications: 2.1.2 - oauth2: 1.1.0 - password_policy: 1.3.0 - provisioning_api: 1.3.0 - serverinfo: 1.3.0 - sharebymail: 1.3.0 - survey_client: 1.1.0 - systemtags: 1.3.0 - theming: 1.4.1 - twofactor_backupcodes: 1.2.3 - updatenotification: 1.3.0 - workflowengine: 1.3.0 Disabled: - admin_audit - documents - drawio - encryption - files_external - keeweb - news - spreed - user_external - user_ldap

Nextcloud configuration:

Config report ``` { "system": { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "nextcloud.peteruithoven.nl" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "overwrite.cli.url": "https:\/\/nextcloud.peteruithoven.nl", "dbtype": "mysql", "version": "13.0.0.14", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "logtimezone": "UTC", "installed": true, "theme": "", "loglevel": 2, "maintenance": false, "trashbin_retention_obligation": "auto, auto" } } ```

Client configuration

Browser:
Version 64.0.3282.167 (Official Build) Built on Ubuntu , running on elementary 0.4.1 (64-bit)

Operating system:
Elementary OS Loki 0.4.1 (Build on Ubuntu 16.04 LTS)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions