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

Tray crash on Linux #4884

Closed
ghostoy opened this issue May 24, 2016 · 3 comments
Closed

Tray crash on Linux #4884

ghostoy opened this issue May 24, 2016 · 3 comments
Assignees

Comments

@ghostoy
Copy link
Member

ghostoy commented May 24, 2016

This code snippet crashes on Linux.

package.json:

{
  "name": "tray-crash",
  "main": "index.html",
}

index.html:

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <title>tray crash</title>
</head>
<body>
  <script>
  new nw.Tray({ title: 'Tray'});
  </script>
</body>
</html>
@ghostoy ghostoy added the nw13 label May 24, 2016
@ghostoy ghostoy self-assigned this May 24, 2016
@ghostoy
Copy link
Member Author

ghostoy commented May 24, 2016

It only crashes when starting NW in ssh with DISPLAY set properly.

ghostoy pushed a commit to ghostoy/nw.js that referenced this issue May 25, 2016
This patch also set the default tray icon to the app's icon.

fixed nwjs#4884
@ghostoy
Copy link
Member Author

ghostoy commented Aug 17, 2016

Only happens in Debug build.

@Christywl
Copy link
Contributor

I can't reproduce this issue on Linux with nwjs-sdk-v0.21.5(start nw app in ssh with DISPLAY=:0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants