nw.js icon indicating copy to clipboard operation
nw.js copied to clipboard

If the NWJS is set to be transparent, it will clash with the transparent theme of Windows 7, and the upper right side will not be able to click

Open onlyou opened this issue 9 years ago • 8 comments

If the NWJS is set to be transparent, it will clash with the transparent theme of Windows 7, and the upper right side will not be able to click。 package.json-->"transparent": true,

Thanks for reporting an issue! Spend 60 seconds reading this...

  1. Before reporting, try reproducing against the latest version of NWJS.
  2. Issue tracker is only for bugs and feature requests, in English only.

Anything else? Use our mailing list for questions: https://groups.google.com/forum/#!forum/nwjs-general

======== TEMPLATE BUG FORM ========

NWJS Version : Operating System :

Expected behavior

<!- What do you think should happen? ->

Actual behavior

<!- What actually happens? ->

How to reproduce

<!-

  • Detail a step by step guide to reproduce the issue
  • A copy of your code would help. Include: JS, HTML.
  • If you have a crash report, copy it in.
  • Test your steps on a fresh environment to see if you still have an issue
  • Post!

->

onlyou avatar Sep 26 '17 05:09 onlyou

If Windows7 sets the theme to a basic theme, it can be resolved

onlyou avatar Sep 26 '17 05:09 onlyou

There are pictures to show the effect snipaste20170928_011306

onlyou avatar Sep 27 '17 17:09 onlyou

@onlyou can you send your sample app? I can't reproduce it

jtg-gg avatar Sep 28 '17 01:09 jtg-gg

The green area can be clicked normally In the red area, if there is a function button, the background layer of the program will be clicked directly I've tried a lot of Windows 7, and that's how it works Close the "package.json" transparently, and then it's normal But the program has no effect

thanks for your help!

666

onlyou avatar Sep 28 '17 02:09 onlyou

@onlyou , I can reproduce it, looks like after certain width or height, then the problem occurs

jtg-gg avatar Sep 28 '17 02:09 jtg-gg

reassign to @jtg-gg since it's in the transparency feature.

rogerwang avatar Sep 30 '17 01:09 rogerwang

@rogerwang I've made a pull request https://github.com/nwjs/chromium.src/pull/96 please also patch nw26

jtg-gg avatar Oct 02 '17 13:10 jtg-gg

This is fixed in git and will be available in the next nightly build.

rogerwang avatar Oct 02 '17 13:10 rogerwang