nextcloud / nextcloud/deck

Brave/Chrome/Chromium shortcut shows incorrect icon for Deck

Open
#2,125 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug good first issue needs info
Dominant language
JavaScript
Stars
1.4k
Forks
354
Avg merge
1d 10h
Merged PRs (30d)
43

Description

Describe the bug
I use Brave browser shortcuts to use Deck, Calendar and Tasks as web apps on Pop!_OS.

When creating the shortcuts for Calendar and Tasks, the icon from that application is used for the shortcut, as you can see from the following shortcuts.

This is nice functionality, because this way the icon in my desktop dock is also automatically set to this image when I add it.
But when I do the same for Deck, it shows the Nextcloud icon.

I imagine this is an app configuration, maybe it misses an icon for the type/resolution that Brave / Chrome / Chromium requests from the site.

To Reproduce
Steps to reproduce the behavior:
Using Brave / Chrome / Chromium

  1. Open Deck
  2. Menu - More Tools - Create Shortcut
  3. Verify the default Nextcloud icon is shown and used instead of the app icon

Expected behavior
The icon from the Deck app is used (like this is the case for the other apps) instead of the Nextcloud default icon.

Screenshots

The application icons are used to create the shortcuts
image
image

For Deck, the Nextcloud icon is used for the shortcut
image

How the apps are shown in Brave/Chromium and in Desktop Dock (Pop! OS)
image
image

Interesting detail; in the New Tab page from Brave, the Deck icon is shown and it seems to be of lower quality than the other Nextcloud apps
image

Client details:

  • OS: Pop!_OS
  • Browser: Chromium / Brave / Chrome
  • Version: Chromium 83.0.4103.116, Brave Version 1.10.97
  • Device: Desktop

Server details:

Nextcloud version: 19.0.0
Deck Version: 1.0.5

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 inspecting Deck's web-app icon metadata and comparing it with the metadata used by Calendar and Tasks. Reproduce the Menu - More Tools - Create Shortcut flow in Brave, Chrome, or Chromium; done when the generated shortcut uses the Deck icon rather than the default Nextcloud icon.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.