New issue
Advanced search Search tips

Issue 708866 link

Starred by 3 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

'resizable' option does not effect on chrome.app.window.create

Reported by xiaofeng...@intel.com, Apr 6 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

Steps to reproduce the problem:
1. in an app, create a window with chrome.window.create with "resizable", e.g.
chrome.app.runtime.onLaunched.addListener(function() {
  chrome.app.window.create('index.html', {
    id: 'main',
    bounds: { width: 620, height: 500 },
    "resizable": false,
  }, function(win){
     //
  });
});

2. Run the app.
3. Resize the app works.

What is the expected behavior?
Expected: The app cannot be resized

What went wrong?
The app can be resized

Did this work before? No 

Does this work in other browsers? N/A

Chrome version: 53.0.2769.0   Channel: n/a
OS Version: 
Flash Version: 

Here is a discussion about two years ago.
https://groups.google.com/a/chromium.org/forum/#!topic/chromium-extensions/DjLcGx4MKiA
 
Labels: Needs-Milestone
Cc: jmukthavaram@chromium.org
Labels: Needs-Feedback
Thanks for filing the issue.
xiaofeng.zhang@,

Could you please provide us the sample html/test file to triage the issue further.

thanks, jmukthavaram@

You can just refer to this link:
https://developer.chrome.com/apps/app_codelab_basics

and replace the background.js with below code:
chrome.app.runtime.onLaunched.addListener(function() {
  chrome.app.window.create('index.html', {
    id: 'main',
    bounds: { width: 620, height: 500 },
    "resizable": false,
  }, function(win){
     //
  });
});
Project Member

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

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "jmukthavaram@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: kkaluri@chromium.org
Labels: -Needs-Milestone M-60
Status: Untriaged (was: Unconfirmed)
Able to reproduce this issue on Ubuntu 14.04 with chrome #59.0.3071.9 and also in earlier version #46.0.2490.86
This is a non-regression issue hence marking as untriaged

Attaching a screen-cast for reference

Note:
1. Issue not observed in Mac 10.12.4 and Windows 10
2. Linux builds less than M46 are getting crashed while launching
Issue 708866.mp4
1.1 MB View Download
Components: Platform>Extensions
Components: -Platform>Extensions Platform>Apps

Sign in to add a comment