New issue
Advanced search Search tips

Issue 596022 link

Starred by 1 user

Issue metadata

Status: Archived
Owner: ----
Closed: Apr 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

chrome.app.window.create options, incompatibility with ID and STATE

Reported by joao...@gmail.com, Mar 18 2016

Issue description

Chrome Version       : Versão 49.0.2623.87 m
Working on a Chrome App.

What steps will reproduce the problem?
(1)set chrome.app.window.create options
(2)set and ID
(3)set a initial state like 'minimized' or 'maximized'

What is the expected result?
It's expected that my chrome app startup in 'minimized' state

What happens instead?
It startup in 'normal' state, the state option is getting ignored


If I delete de ID option, de state option works fine.

I got this code:
chrome.app.runtime.onLaunched.addListener(function() {
  chrome.app.window.create('window.html', {
    id: "example",
    state: 'minimized',
    'outerBounds': {
      'width': 1024,
      'height': 726,
      'minWidth': 1024,
      'minHeight': 726,
      
    },
    frame: {
      type: "chrome",
      color : "#999999",
      activeColor: "#999999",
      inactiveColor: '#e5e5e5'
    },
     
  });
});

 
Labels: Te-NeedsFurtherTriage
Components: Platform>Extensions>API

Comment 3 by joao...@gmail.com, Apr 18 2016

Hello, I really need an answer for the problem. Anyone knows how to fix this?

Best Regards
Project Member

Comment 4 by sheriffbot@chromium.org, Apr 18 2017

Status: Archived (was: Unconfirmed)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment