New issue
Advanced search Search tips

Issue 802840 link

Starred by 2 users

Issue metadata

Status: Unconfirmed
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Packaged App: Call to create window with icon, does not show icon in system tray

Reported by jjer...@generalui.com, Jan 16 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:57.0) Gecko/20100101 Firefox/57.0
Platform: 10032.86.0 (Official Build) stable-channel link

Steps to reproduce the problem:
1. create a new window, providing icon location in CreateWindowOptions (where this icon exists)
```
let options = {
  id: "new window id",
  resizable: false,
  outerBounds: {
    left: 0,
    top: 0,
    width: 150,
    height: 150,
  },
  showInShelf: true,
  icon: chrome.runtime.getURL('/images/newTrayIcon.png'),
};

chrome.app.window.create('window.html', options, callback);
```

2. 
a. when window is opened, the provided icon does not display
b. instead a generic icon is shown with a "badge" icon in the lower corner.  This "badge" is our main window icon.  However, our provided icon is not shown.

What is the expected behavior?
icon provided in CreateWindowOptions should not be ignored, and should display in the system tray

What went wrong?
icon is not displaying in the system tray

Did this work before? Yes OS version 62

Does this work in other browsers? Yes

Chrome version: 63.0.3239.140  Channel: stable
OS Version: 63.0.3239.140
Flash Version: 28.0.0.137

At first we thought it was a problem with chrome.runtime.getURL(), so we placed copies of the icon in multiple places in the app folder.  However, it did not work.
 
Components: Platform>Apps>API
Labels: mp-triage
Labels: -Hotlist-Interop

Sign in to add a comment