'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
,
Apr 19 2017
Thanks for filing the issue. xiaofeng.zhang@, Could you please provide us the sample html/test file to triage the issue further.
,
Apr 20 2017
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){ // }); });
,
Apr 20 2017
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
,
Apr 20 2017
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
,
Nov 1
,
Nov 2
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by ranjitkan@chromium.org
, Apr 6 2017