! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
mail watcher applet does not changes its state after left-clicking
Status:
RESOLVED: MOVED
Product:
Xfce4-mailwatch-plugin
Component:
General

Comments

Description charlie-tca 2011-01-15 18:09:31 CET
Whenever I receive a new mail, the mail watcher applet displays the correct icon for new mails. Left-clicking opens my mail client (Thunderbird), which downloads my mails.

What I've expected was, that when I left-click on the applets icon, it will displays the icon used for "no new mails", because in normal case you would use this feature to open your mail client which will download all these mails. What happens is, that the icon does not change until the next refresh, which is very irritating in my humble opinion.
Comment 1 Ján Sučan editbugs 2013-12-05 16:10:45 CET
Thanks for the idea. It seems useful. Mainly for the configurations where there is only one mailbox watched. I think it could be implemented quite easily.
Comment 2 Landry Breuil editbugs 2014-11-23 21:42:11 CET
Mass-reassign all bugs from florian@ to goodies-dev@, thanks for the maintenance work! (and sorry for the bugmail spam..)
Comment 3 lki 2018-04-25 15:42:38 CEST
Anybody still thinking about this? The current applet is almost useless in setups which check the mailstate in very long intervalls only. Yes, there are sometimes good reasons to do so.

Even better if there was a way to trigger a re-check from the shell, so one could call some user provided script from left-click which calls the mail program and then forces to re-check after it closes.

Currently I use  
pkill -f libmailwatch  
in such a script to kill and restart the applet and thus force a rescan, but that's kind of ugly.

Maybe catching the less deadly SIGHUP or SIGINT for this purpose could be very easy implemented without messing with the gui and translation issues. So instant rechecks after network connect events could also be realized.
Comment 4 lki 2018-04-25 18:37:54 CEST
Sorry, checking the source code I found that my suggestion is already implemented:
SIGUSR2 forces a check immediately, you can use the command 

pkill -SIGUSR2 -f libmailwatch

It just seems to be not  documented anywhere outside the code?
Comment 5 Rocik 2018-08-17 13:44:00 CEST
(In reply to lki from comment #4)
> Sorry, checking the source code I found that my suggestion is already
> implemented:
> SIGUSR2 forces a check immediately, you can use the command 
> 
> pkill -SIGUSR2 -f libmailwatch
> 
> It just seems to be not  documented anywhere outside the code?

Thanks for pointing that out.
Since the new Thunderbird version deprecated XUL add-ins, this plugin proved a good replacement for tray icon add-ins.
This is really significant feature from my point of view.
I think this should be mentioned on the project page.
Comment 6 Git Bot editbugs 2020-05-24 00:42:14 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/panel-plugins/xfce4-mailwatch-plugin/-/issues/21.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #7099

Reported by:
charlie-tca
Reported on: 2011-01-15
Last modified on: 2020-05-24

People

Assignee:
Xfce-Goodies Maintainers
CC List:
4 users

Version

Version:
1.1.0 or older

Attachments

Additional information