NWJS Version :0.26.2
Operating System :
Windows7 32
The main page is not displayed in Windows7 system
It can only be displayed in the toolbar
It can be shown in 0.26.0 before the upgrade
It might be related to the bug I've been offering to fix, the code is #6217
->

My package. Json has no problem,
The program main screen in Windows10 shows normal
I try a simple test on Windows 7 x64 with nwjs-sdk-v0.26.2. It works fine. The transparent window displays.
package.json:
{
"name": "test",
"main": "index.html",
"window": {
"toolbar": true,
"frame": false,
"show":true,
"transparent": true,
"resizable": false,
"show_in_taskbar":true
}
}
I also try ExamManager.zip you provided in https://github.com/nwjs/nw.js/issues/6217#issuecomment-338101369, the screenshot is:

I used the same file, and in Windows 7's 32-bit operating system, the main page was not displayed

The SDK I used was ‘nwjs-sdk-v0.26.2-win-ia32.zip’
@onlyou does it run on other 32 bit win7 system ? you might want to clean the nwjs appdata folder
I can't reproduce on 64bit win7, I don't have 32bit win7
@jtg-gg I've cleaned up the appdata folder, it's not working
@jtg-gg
0.26.0 including previous versions can start the main interface

@onlyou can you test on win7 64bit using nwjs 32bit ?
@jtg-gg
I use 64bit Windows7, too. I don't know why there is no problem with the version with 0.26.0
@jtg-gg
I tested a problem with the packag.json setting
When I set this value "transparent": false, I can display the main page
I think this might be related to the 2 questions I submitted earlier
The code is: #6217 and #6176
@onlyou run with this arguments "--enable-logging --v=1"
send me the chrome_debug.log in the appdata folder
@jtg-gg
I'm going to take the log of that path:AppData\Localnwjs\User Data
chrome_debug.zip
hmm nothing in the log, are you sending the correct one ?
the appdata for your sample app should be "iDH_ExamManager"
@jtg-gg
I'm sorry I rerun the order
Two different log files are generated
Now I'll resubmit it to you
chromeDebug.zip
@onlyou I've just read the log, not much information in there regarding the window
I can't fix if I can't reproduce the bug on my machine
might be some GPU / Windows theme configuration / setting
@jtg-gg
Is there any way to capture some useful information
I can try my best
@onlyou that enable logging is already the best, I'll need to debug on the machine to fix it
unless you can find the machine / windows setting that causing the bug that reproduce-able on any machine
@jtg-gg
Thank you. I'm trying to find a few different Windows7 systems to try
If there is any new discovery, I will submit it to you in time
@jtg-gg
I've switched to a different computer and I tried it, and the log looks like it's almost there, but you can see it again
But I found that it was related to the Windows7 theme,
If I set the Windows7 theme to basic, then "transparent": true, the main page can also be started
This is the equivalent of code #6176 and there is no real solution
Debug.log.zip
@onlyou hmm you can try "--disable-gpu-compositing --force-cpu-draw" might work
but still I can't explain the same code works on my win7 and doesn't on yours
@jtg-gg
After the two parameters of "-- disable-gpu-compositing -- force-cpu-draw",
Pancake. Json setting parameter "transparent": true,Windows7 theme is non-basic theme
It's working properly
chrome_debug.log
@onlyou another uses is reporting similar thing (https://github.com/nwjs/nw.js/issues/6275)
this issue caused by WS_EX_COMPOSITED style that I enable to fix https://github.com/nwjs/nw.js/issues/6217, so I guess I'll need to revert WS_EX_COMPOSITED style
so you'll have issue https://github.com/nwjs/nw.js/issues/6217 back
@onlyou I manage to reproduce this on my other win 10 machine
but in my case, I can display the transparent window after I minimize then restore the window
can you try this work-around ?
@onlyou can you try my sample app here:
https://github.com/nwjs/nw.js/files/1456203/transparency-5989.zip
the sample app, runs as "show": false
then after the html doc is loaded, it will minimize / show, this workaround works on my "other 2 win10 machine"
@jtg-gg
I'm trying to run this demo
There is no problem with my Windows10 system
But it still doesn't show up on Windows7
@onlyou I've made a pull request https://github.com/nwjs/chromium.src/pull/100
but https://github.com/nwjs/nw.js/issues/6217 will be back, I can workaround this, by hiding the app, then show it after the html body is loaded
@rogerwang please accept it, and please also patch nw27
This is fixed in git and will be available in the next nightly build.
Most helpful comment
@onlyou does it run on other 32 bit win7 system ? you might want to clean the nwjs appdata folder
I can't reproduce on 64bit win7, I don't have 32bit win7