A kiosk app running on a ChromeOS device needs to be able to shutdown/restart the device. Current there is no way for the kiosk app to do that.--How about adding chrome.runtime.shutdown/reboot to provide such functionality?ThanksXiyuan
You received this message because you are subscribed to the Google Groups "extensions-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to extensions-de...@chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/groups/opt_out.
+achuithAchuith might have added such API (private) for test automation purposes already.On Mon, Sep 30, 2013 at 1:05 PM, Zelidrag Hornung <zeli...@google.com> wrote:
+achuithAchuith might have added such API (private) for test automation purposes already.On Mon, Sep 30, 2013 at 1:02 PM, Joe Marini <joem...@google.com> wrote:
I assume that it would be limited to apps that request kiosk permission and are the current kiosk app?
On Mon, Sep 30, 2013 at 12:57 PM, Xiyuan Xia <xiy...@chromium.org> wrote:
--A kiosk app running on a ChromeOS device needs to be able to shutdown/restart the device. Current there is no way for the kiosk app to do that.How about adding chrome.runtime.shutdown/reboot to provide such functionality?ThanksXiyuan
You received this message because you are subscribed to the Google Groups "extensions-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to extensions-de...@chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/groups/opt_out.
--
Joe MariniDeveloper Advocate / Chrome
Another strawman: could you show some UI when the app exists?
The non-kiosk ChomeOS interface doesn't have a reboot button; it onlyhas a shutdown button. If ChromeOS doesn't need UI to reboot the
device (rather than "sign out", which is equivalent to closing the
last app window), why do kiosk apps need this UI?
"shutdown" might make sense, by this argument, but if users don't have
physical access to the power button on the kiosk, that could let them
wedge it pretty easily.
On Mon, Sep 30, 2013 at 3:40 PM, Xiyuan Xia <xiy...@chromium.org> wrote:'k, sounds like a compelling difference. I guess the last question is
> On Mon, Sep 30, 2013 at 3:06 PM, Jeffrey Yasskin <jyas...@chromium.org>
> wrote:
>>
>> The non-kiosk ChomeOS interface doesn't have a reboot button; it only
>> has a shutdown button. If ChromeOS doesn't need UI to reboot the
>> device (rather than "sign out", which is equivalent to closing the
>> last app window), why do kiosk apps need this UI?
>
>
> Things are a bit different in the kiosk world, where the app the is the only
> thing a user gets. If anything goes wrong and restart the app does not solve
> it (e.g. kernel or a daemon has a bug and stops working, out of fd etc), the
> user would be stuck. Whereas in the regular ChromeOS user session, user
> could reboot (shutdown and start) to solve the issue.
whether "close all windows may just restart" is the right choice. In
kiosk mode, I assume "just restart" is a bit faster, but the kiosk app
also has the option of explicitly returning to their start screen when
the user closes all the windows.
"Close all windows" behavior:
Reboot:
* Pro: developers who do nothing special are insulated from ChromeOS bugs.
* Con: developers who do nothing special take longer to recover from
closing all windows.
* Pro: No need for a kiosk-only API, which could confuse non-kiosk developers
* Con: Maybe the code to detect the last window close and re-run
onLaunched is tricky even for developers who want to do something
special?
Restart-unless-update-or-max-uptime (status quo):
* Pro: lazy developers get faster restarts
* Con: lazy developers give their users no way to recover from ChromeOS bugs
* Con: Need a kiosk-only API
The api we currently have is autotestPrivate.restart and autotestPrivate.shutdown.This is as yet unused by autotests. I can move this to chrome.runtime - feel free to file a bug and assign to me.
1.In Single app Kiosk mode the apps are getting crashed when we hard restart the system (Shutting down the system through restart button on CPU) we tried various kiosk apps from web store and all of them are crashing when we do hard restart.
To make crashed app to work we need to install the app again and follow the same steps to enable the kiosk which is time consuming and end users don't know how to make all the required configuration.
In kiosk mode using terminal we rebooted the system and we found that apps are not getting crashed. The apps are getting crashed because of hard Shut down/ Restart of the systems.