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

The main page is not displayed in Windows7 system

Open onlyou opened this issue 9 years ago • 28 comments

NWJS Version :0.26.2 Operating System : Windows7 32

Expected behavior

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

The main page is not displayed in Windows7 system It can only be displayed in the toolbar

Actual behavior

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

<!- 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 Nov 01 '17 07:11 onlyou

qq 20171101145948

onlyou avatar Nov 01 '17 07:11 onlyou

My package. Json has no problem, The program main screen in Windows10 shows normal

onlyou avatar Nov 01 '17 07:11 onlyou

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: 6265

Christywl avatar Nov 01 '17 08:11 Christywl

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

onlyou avatar Nov 01 '17 09:11 onlyou

The SDK I used was ‘nwjs-sdk-v0.26.2-win-ia32.zip’

onlyou avatar Nov 01 '17 09:11 onlyou

@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 avatar Nov 01 '17 09:11 jtg-gg

@jtg-gg I've cleaned up the appdata folder, it's not working

onlyou avatar Nov 01 '17 10:11 onlyou

@jtg-gg 0.26.0 including previous versions can start the main interface

snipaste20171102_112417

onlyou avatar Nov 02 '17 03:11 onlyou

@onlyou can you test on win7 64bit using nwjs 32bit ?

jtg-gg avatar Nov 02 '17 04:11 jtg-gg

@jtg-gg I use 64bit Windows7, too. I don't know why there is no problem with the version with 0.26.0

onlyou avatar Nov 02 '17 05:11 onlyou

@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 avatar Nov 02 '17 05:11 onlyou

@onlyou run with this arguments "--enable-logging --v=1" send me the chrome_debug.log in the appdata folder

jtg-gg avatar Nov 02 '17 05:11 jtg-gg

@jtg-gg I'm going to take the log of that path:AppData\Local\nwjs\User Data chrome_debug.zip

onlyou avatar Nov 02 '17 05:11 onlyou

hmm nothing in the log, are you sending the correct one ? the appdata for your sample app should be "iDH_ExamManager"

jtg-gg avatar Nov 02 '17 10:11 jtg-gg

@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 avatar Nov 02 '17 13:11 onlyou

@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 avatar Nov 03 '17 03:11 jtg-gg

@jtg-gg Is there any way to capture some useful information I can try my best

onlyou avatar Nov 03 '17 03:11 onlyou

@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 avatar Nov 03 '17 03:11 jtg-gg

@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

onlyou avatar Nov 03 '17 03:11 onlyou

@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 avatar Nov 03 '17 06:11 onlyou