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

Notification badge doesn't update when using in electron on windows. #1202

Open
Nyghts opened this issue Dec 1, 2021 · 1 comment
Open

Comments

@Nyghts
Copy link

Nyghts commented Dec 1, 2021

So when building Glowing Bear for use with electron on windows, the badge on the icon in the task bar doesn't update once all messages are read. It stays permanently on the icon until you restart. I've attached before and after pictures to show what is happening but not really able to prove the process. This all occurs on version 0.10.0 as downloaded using git.

image
image

As a side note, I should mention to apply the application image to the electron program when building to have the glowing bear icon as the icon in the taskbar rather than the generic electron application image, I had to copy the assets folder from the current location in src or build into the main folder containing electron.makefile

@Nyghts
Copy link
Author

Nyghts commented Dec 3, 2021

I ended up making a dirty fix for a good dynamic notification by changing the mainWindow.setOverlayIcon() related stuff in electron-main.js to mainWindow.flashFrame() to simply flash the task bar.

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

2 participants