Closed cofi89 closed 7 years ago
Totally makes sense. Good idea!
I forgot:
--- /tmp/thunderbird.js
+++ /home/filip/.thunderbird/tc416zhu.default/extensions/jid1-OoNOA6XBjznvLQ@jetpack/lib/thunderbird.js
@@ -295,6 +295,7 @@
win.gFolderDisplay.selectMessage(message);
}
+ bufferedMessages.length = 0
focusWindow(false);
return;
}
This solves another issue causing the aggregated notifications to always show messages from the first batch. Eg, launch TB --> messages arive --> notification shows as:
10 new messages Johney: MSG1 Github Feed: MSG2 ...
Then, new batch arives but instad of showing the actuall new messages like:
3 new messages Mike: MSG1 Jack: MSG2 ...
it shows the summary from the first batch ( though count is correct ).
Enhancement you requested is in latest (pre) XPI. There is new option "Click action for multiple messages notification" with possible 3 values: "Open first message", "Open last message" and "None".
Thank you for the patch you prepared and your all involvement!
Awesome! :+1:
All that's left now is to get the "mouse" people to implement "on notification click" actions in xfce4-notifyd. :smile:
But regardless of that, for me, Gnotifier is now 100% feature complete! Again, thank you for that!
Cheers!
Hi @mkiol:
With 1.9.9pre8 and aggregated notification, clicking on "Open" just presents TB window instead of opening the message. It would be better if this was configurable so that either of "Present Window", "Display first or last msg received" can be user set.
Now, I've been messing with Gnotifier & JS latelly, and actually managed to produce a working patch for the functionality mentioned, however I didn't get to expose it to preferences ( "first message received" is the hardcoded default ) and "Present Window" is missing.
All in all, it should really be done by someone who actually knows JS ( unlike me ), thus I'll just drop the diff here in hope it will be somewhat usefull.
Also patch is against 1.9.9pre7 since it would have taken me a while to figure out the changes in pre8!
Cheers! :smiley: