bayleedev/electron-notifications

Show blank notifications in windows 10

Opened this issue · 11 comments

When i excute its show box of notifaction with blank content
this's the screenshot
doesn show

Do you have any other information about your computer? Specifically your graphics specs.

PC use windows10 and grapic NVIDIA. I think the problem not in my computer.

@rahmatkruniawan if you repackage this module and change the window options to enable/disable transparency, does it make any difference? You'll have to rebuild after

If not what you can do is enable the developer tools for the new window it creates, then rebuild and see what errors it produces.

I am getting this on Windows 7 also fyi

@buddythumbs You shouldn't be since @blainesch disabled transparency. I remember it used to be an issue when the display would go to sleep and come back, but since transparency was removed this issue went away for me 100%.

Can you provide any additional details?

ue commented

I have same problem. I`m using windows 10

This solution (#35 (comment)) helped me solve this issue using w10.

I think that this is to do with https://stackoverflow.com/a/55908510

As of version 5, the default for nodeIntegration changed from true to false.

This means that require throws an error in app.js. Quick fix is to add nodeIntegration: true to the notify method in notifier.js. If I get time I'll do a pull-request for it.

Created #39

This issue is far, far older than Electron 5. No nodeIntegration will cause this, so #39 is right, but it's not related to this ticket.

Hey, when I tried this solution but it didn't work, on the other hand, I realized, did-finish-load which is in notifier.js is worked too late. A while, the notification looks like empty until did-finish-load is worked. So Can you please help me with finding the solution?