Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kiosk mode not working from package.json #2198

Closed
ghost opened this issue Aug 12, 2014 · 9 comments
Closed

Kiosk mode not working from package.json #2198

ghost opened this issue Aug 12, 2014 · 9 comments
Assignees

Comments

@ghost
Copy link

ghost commented Aug 12, 2014

Scenario:
Using v0.10.2 on Ubuntu 12, 14 and Windows 7 set the kiosk property of window in the package.json file to true.

Expected behavior:
The application will start in kiosk mode

Actual behavior:
The chromium starts for a split second in kiosk mode but as soon as the page loads jumps into normal window mode.

A working example of the problem can be found here: https://dl.dropboxusercontent.com/u/49119521/test_kiosk.nw

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@mrohnstock
Copy link

Same issue with v0.10.5 on ubuntu 12.04 x86.

As a work-around I've added the following script to enter the kioskmode:

<script>
require('nw.gui').Window.get().isKioskMode = true;
</script>

but on changing the page node-webkit will unfortunately leave the kioskmode.

// edit: same with:

<script>
require('nw.gui').Window.get().isFullscreen = true;
</script>

@mrohnstock
Copy link

@rogerwang is there something I can do in helping to fix this issue?

@salarelv
Copy link

How can I help to resolve this issue?

@mrohnstock
Copy link

Just for record:
kiosk/fullscreen isn't working in v0.11.0-pre on ubuntu 14.04.1 x86_64. It doesn't even start a split second in kiosk mode, it starts directly to windowed mode without noting something on stdout/stderr :(.

@mrohnstock
Copy link

#2149 describes the same issue

@ghost
Copy link
Author

ghost commented Oct 20, 2014

Fullscreen == Kiosk ?

@salarelv
Copy link

fullscreen parameter helps but doesn't solve the issue.

@mrohnstock
Copy link

Kiosk-Mode is working with current build of v0.11.0-rc1, at least on ubuntu 14.04.1 x86_64.

Don't know, what has changed, but awesome work @rogerwang thank you so much!

@salarelv
Copy link

v0.11.0-rc1 Kiosk mode works also in Windows 7 but crashes on WebGL and Dev Tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants