New issue
Advanced search Search tips

Issue 780584 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

chrome runtime reload() hides window instead of reloading

Reported by pierbove...@gmail.com, Nov 1 2017

Issue description

Chrome Version: 61.0.3163.123
Chrome OS Version: 9765.85.0
Chrome OS Platform: ASUS Chromebit

Please specify Cr-* of the system to which this bug/feature applies (add
the label below).

Steps To Reproduce:
(1) Use chrome.runtime.reload();
(2) The main window is hidden so it appears the app has been closed.
(3) The user reopens the app and now has 2 windows. The new one, and the one that was hidden.

Expected Result: The app should be reloaded and the main window not hidden.

Actual Result: It appears the main window is simply hidden or the app closed instead of being reloaded.

How frequently does this problem reproduce? Always.

I've attached a screenshot after reopening the app with the 2 windows. My app only ever opens 1 windows.
 
Screenshot 2017-11-01 at 3.20.36 PM.png
78.9 KB View Download
It appears the problem is caused by not having an id on the main window. After adding an id when creating it, the feature works as expected.

I'd say either this should be specified in the docs, or reload() is not acting as it should.
Cc: rdevlin....@chromium.org
Components: Platform>Apps>API
Status: Available (was: Unconfirmed)
We are also facing the same issue. chrome.runtime.reload() works if you install app using "load unpacked extension". But it doesn't work with packed extension.
I have attached the sample app to reproduce this bug.

ReloadSampleApp.zip
1.0 KB Download
Project Member

Comment 4 by sheriffbot@chromium.org, Nov 7

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

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

Sign in to add a comment