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

Feature Request: Mirror Taskbar Badge #16

Closed
mshancock opened this issue Mar 16, 2018 · 17 comments
Closed

Feature Request: Mirror Taskbar Badge #16

mshancock opened this issue Mar 16, 2018 · 17 comments

Comments

@mshancock
Copy link

When WhatsApp is not minimized to tray and is not in focus, a red badge appears when there's an unread message on the taskbar icon. It would be great if the system tray icon mirrored this status so you know there's something to read.

@maximang
Copy link

+1

@mvbl
Copy link

mvbl commented Apr 25, 2018

+1

1 similar comment
@nickluijtgaarden
Copy link

+1

@D4koon
Copy link
Owner

D4koon commented May 21, 2018

It turns out that this is a lot harder than i thought because WhatsApp seems to use ITaskbarList3::SetOverlayIcon() to overlay the an icon that shows the number of unread messages and i could not find a way to read out the overlay-icon.
https://stackoverflow.com/questions/50418729/get-the-icon-set-with-itaskbarlist3setoverlayicon
Anyone has an idea how to do that?

@arrmo
Copy link
Contributor

arrmo commented Oct 6, 2018

I'm interested in digging in to this a bit more - but I admit, first step is to get the dang debugger to be able to break on Callbacks. Is there a trick to getting that working? Yep, likely me just being an idiot ... :-).

Thanks!

@D4koon
Copy link
Owner

D4koon commented Oct 6, 2018

I'm interested in digging in to this a bit more - but I admit, first step is to get the dang debugger to be able to break on Callbacks. Is there a trick to getting that working? Yep, likely me just being an idiot ... :-).

Thanks!

Hi as far as i know there is no way to attach the debugger to the loaded dll in the whatsapp process to set breakpoints there. I used a combination of OutputDebugString and DebugView to debug this part.

Good luck :D

@D4koon
Copy link
Owner

D4koon commented Nov 12, 2018

Finaly it its time to release a testversion for this. Feedback would be nice.
TestRelease.zip
The icon is not the final one... just one i created fast to have one.

I just test-downloaded it and windows defender warned me about it. But i can asure you its a false positive...

@nickluijtgaarden
Copy link

Just downloaded it, will test it in the next few days.

@D4koon
Copy link
Owner

D4koon commented Dec 15, 2018

I now added a counter for messges that arrive when minimized. Probably the last test-release before final.
TestReleaseV2.zip

Also pushed the changes into develop

@kosmic0
Copy link

kosmic0 commented Dec 15, 2018

that is awesome for adding counter for messeges now the software is perfect thanx a alottt ,
question will this counter appear in the minimzed to tray icon? or minimized window ?

@D4koon
Copy link
Owner

D4koon commented Dec 15, 2018

question will this counter appear in the minimzed to tray icon? or minimized window ?

The counter will appear in the tray icon

@D4koon D4koon added this to the V1.4.0 milestone Jan 1, 2019
@D4koon
Copy link
Owner

D4koon commented Jan 1, 2019

Will be in the release 1.4.0

@D4koon D4koon closed this as completed Jan 1, 2019
@arrmo
Copy link
Contributor

arrmo commented Jan 8, 2019

Sorry for the slow / late reply! Found I had some email filtering issues, wasn't getting Github notifications ... ;-(.

That aside - is this really showing count, or rather an exclamation mark? And I see the icon change sometimes when no messages have arrived ... anyone else seeing that?

Thanks!

@D4koon
Copy link
Owner

D4koon commented Jan 8, 2019

Yeah you are right it is not 100% correct. Im not sure if it is possible to differentiated between messages and whatever causes the false postives. I open a ticket for that #35.

@kosmic0
Copy link

kosmic0 commented Jan 8, 2019

same here indicates new message recieved though i did not recieve any
thanxxxxxxx

@arrmo
Copy link
Contributor

arrmo commented Jan 8, 2019

Thanks, appreciate it! A couple thoughts added to #35.

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

7 participants