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

Changing css not reflecting in kiosk mode. Transparency #6021

Closed
psinha6 opened this issue Jul 13, 2017 · 4 comments
Closed

Changing css not reflecting in kiosk mode. Transparency #6021

psinha6 opened this issue Jul 13, 2017 · 4 comments

Comments

@psinha6
Copy link

psinha6 commented Jul 13, 2017

When I change the css for background on runtime to set it to
The UI remains the same but if I am focusing out and then focusing back the window.(using alt tab in windows it is working).
I have added in manifest

  "window": {
    "frame": false,
    "transparent": true,
    "kiosk": true
  }

Transparency is working if it is not in kiosk or fullscreen mode.
Also attaching a sample demo project for the same.

To run please add flags i.e.: nw.exe --disable-gpu --force-cpu-draw
testPrj.zip

@jtg-gg
Copy link
Member

jtg-gg commented Jul 13, 2017

the pull request nwjs/chromium.src#88
will fix this issue

@rogerwang
Copy link
Member

Fixed in git and will be available in the next nightly build.

@psinha6
Copy link
Author

psinha6 commented Jul 20, 2017

Transparency is not at all working in the latest build.
is it because of this issue??

@jtg-gg
Copy link
Member

jtg-gg commented Jul 21, 2017

@psinha6 can you try this latest build
http://dl.nwjs.io/v0.23.7/
I've tested on win7/10 it should works

which windows version do you use ?

and btw from 0.23.7 you can use "--disable-gpu-compositing --force-cpu-draw"
I also has updated the document here:
http://docs.nwjs.io/en/latest/For%20Users/Advanced/Transparent%20Window/

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

3 participants