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

Application not starting, if closed from Fullscreen before #7697

Closed
Silve2611 opened this issue Mar 16, 2021 · 1 comment
Closed

Application not starting, if closed from Fullscreen before #7697

Silve2611 opened this issue Mar 16, 2021 · 1 comment
Assignees

Comments

@Silve2611
Copy link

NWJS Version : v0.52.0
Operating System : macOS Big Sur Version 11.1 -- error also occurs on older Version. It is not a Big Sur only problem.

Expected behavior

The Program should open normally.

Actual behavior

The Program cannot be opened if closed before in Fullscreen. It is closing without an error. You can only see the icon jumping at the bottom.

How to reproduce

  1. Download Latest SDK
  2. create package.json with following input:
    { "name": "helloworld", "main": "index.html", "window": { "id": "fullScreenCloseError1.0.0", "title": "fullScreenCloseError", "width": 500, "height": 500 } }
  3. Create index.html with any input.
  4. Start Application
  5. Expand to fullscreen.
    Bildschirmfoto 2021-03-16 um 17 03 56
  6. Close while in Fullscreen.
    Bildschirmfoto 2021-03-16 um 17 04 33
  7. Try to restart Application. It will not start.

Important

Close while in fullscreen. Do not exit Fullscreen before closing.

Additional Information

It seems that following file is responsible for the error.
/Users/timebro/Library/Application Support/nwjs/Default/Preferences

If the file is deleted the app may start again, if the application is signed. If it is not signed the id in the package.json has to be changed.

The Problem does not occur with older nw.js versions like v0.50.1

@rogerwang
Copy link
Member

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

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

2 participants