Home Forums Wiki Doc Install Extras Screenshots Source Code Projects Blog Users Groups Register
Glx-Dock / Cairo-Dock List of forums Applets | Applets One small bug in the mail applet (v1.0.11) cairo 3.0.1
The latest stable release is the *3.4.0* : How to install it here.
Note: We just switched from BZR to Git on Github! (only to host the code and your future pull requests)
Applets | Applets

Subjects Author Language Messages Last message
[Locked] One small bug in the mail applet (v1.0.11) cairo 3.0.1 [Bug #284]
Guest English 11 matttbe [Read]
18 June 2012 à 13:49

Guest, Monday 04 June 2012 à 02:27

not important, but since I think this is easy to fix, here it is:

When you load the computer the mail will show "..." until it can connect and check your mail, once it has done so the sign should change to the number of emails it finds, and it does as long as there are emails, if there isn't any it remains "..." instead of desapearing of changing to "0".

Thanks!

matttbe, Monday 04 June 2012 à 09:43


Subscription date : 24 January 2009
Messages : 12573
Hello and thank you for this bug report!

if there isn't any it remains "..." instead of desapearing of changing to "0".
Strange, I'm not able to reproduce it. Can you check if this option is enable (in the config panel of Mail applet): Show '0' if there is no mail
Which type of account are you using (Imap, Pop3, GMail, etc.)?
Can you also launch the dock with this command and post the output messages?
cairo-dock -l debug --colors | sed -n "/mail\// {N;p;}"

fabounet, Tuesday 12 June 2012 à 13:29


Subscription date : 30 November 2007
Messages : 17118
maybe it doesn't connect ? does it work if you have at least 1 unread mail ?

Guest, Thursday 14 June 2012 à 20:18

I can confirm the same issue. 3.0.0 mail 1.0.10

brianw, Thursday 14 June 2012 à 23:31


Subscription date : 25 April 2012
Messages : 270
I have a couple of yahoo accounts, a gmail and a hotmail account. When I tested the mail applet they all worked except the one account (can't remember which one now will need to test again but I would get the ... as well). Thunderbird also worked fine for the 3 but could not connect regularly to the one. I think I seen a message in thunderbird (or maybe it was in the console on cairo-dock can't remember for sure) that there were too many requests for that account.

What is the mail account that you are trying to check, that way others can test the interface (unless it is your ISP account we can check yahoo, hotmail, gmail, mail.com, etc...)

brianw, Friday 15 June 2012 à 05:04


Subscription date : 25 April 2012
Messages : 270
To add to my previous post. The mail account that gives me the most trouble is hotmail. Most of the time it won't read the account.

Even without the hotmail account though if I have no emails the main mail icon shows ... when I log in while the subdock shows 0 on the icons for the 3 email accounts I have showing. When I middle click to have the email accounts read the subdock icons show the ... while reading then show 0 again but the main icon always shows ... until after mail is recieved then it will show 0 after the mail has been read.

When I middle click to Refresh All I get random dock restarts. Sometimes the dock will shut down and restart and sometimes it works fine. With the hotmail account I added it and tried removing it a couple of times and each time the dock freezes and I need to either log out and back in again or kill the process. When I log back in the account has been removed from the mail applet.

The error thunderbird has for the hotmail account is pop3.live.mail reports too many tries in a 15 minute period (testing it too much I guess).

I do not use the mail applet normally so my experience is limited to the one time I tried it before and this testing now. By the way the icon still shows ... for me and I have been logged in for about 15 minutes this time testing.

I sent an email from one account to another and middle clicked the icon and the icon updated to show 1 email. I read the email and middle clicked again and the icon went to 0.

Also to note, I have not had any dock restarts during this testing. But as soon as I added the hotmail account back in I tried middle clicking and got a restart. Tried another middle click and got a restart. Tried quiting the dock so I could open in a terminal and it froze.

The ... in the mail icon and the restarts are separate issues I am sure. But I can confirm that when there are no emails and the dock is first opened the ... appear in the icon and do not go away until an email is received.

I don't have time right now to do any more testing but I can so some testing maybe tomorrow using the debug flag and pipe the output to a file.

brianw, Friday 15 June 2012 à 17:21


Subscription date : 25 April 2012
Messages : 270
I tried on my other system here today (xubuntu 11.04 cairo-dock 3.0.1):

The ... in the mail icon:

With 1 email account (a yahoo account) the main icon showed 0 when I logged in because there were no unread emails (there are no subdock icons at this point as there is only one mail account). When I add another yahoo account and log in the main icon shows ... instead of 0 but the two icons in the subdock show 0. So when there is one email account it shows 0 on startup (no subdock icons) and when there is more than one it shows ... if there are no unread emails in all acounts (shows 0 on the subdock icons).

the restarts and freezing:

when I add the hotmail account I got restarts (but not as many as my other system, I have noticed that every once in a while on my other system I will get a restart when I click the logout button so I need to investigate that but I did get a couple of restarts with the hotmail account added in even on this system) and the system would always freeze if I quite the dock, detached the mail applet, sent the mail applet back to the dock, removed the hotmail account, basically whenever the hotmail account had to terminate for any reason it would freeze.

fabounet, Saturday 16 June 2012 à 23:58


Subscription date : 30 November 2007
Messages : 17118
well, we had lots of problems with libetpan (the library used to handle mails), so I'm not really surprised
still, that's a bit disappointing.
maybe it's possible to catch the crash with gdb ? ("gdb cairo-dock", and then type "run", and then type "bt" when it crashed) => ddd

about the count of unread messages, I think it's a bug in the applet.

I wonder if we can't find another library that can read mails, not in C but in Python this time (this would prevent any crash of the dock).

brianw, Monday 18 June 2012 à 01:56


Subscription date : 25 April 2012
Messages : 270
fabounet, unless others are having the crash problem I think maybe the main concern might be the unread message issue. As for the crashing it seems to be the hotmail account that causes the crashing and I am not surprised given that even thunderbird has issues with it (not drastic issues, like crashing and stuff, but out of all the accounts it is the only one t-bird has any issues with).

I can test but it might take some time since I am somewhat busy this week and if I am the only one experiencing the crashing then it is a low priority. I only check that account once in a while and I just log in to the browser to do it (the other accounts seem to be fine, I have been using the applet for a couple of days now with no issues but I don't have the hotmail account added). That account is just a left over for some testing (I don't use Microsoft stuff normally) I did some time ago and I only maintain it because I have it now but I don't really use it.

Unless others start reporting the crashing I will wait until I get some extra time (unless you want it faster then I would do it as soon as I could).

matttbe, Monday 18 June 2012 à 12:21


Subscription date : 24 January 2009
Messages : 12573
(Message added on the task #284)
Task: main icon: "..." instead of 0 with multiple accounts

Hello,

Should be fixed on rev 2430

Can someone confirm this?

Also, it seems I'm no longer able to have messages' content (when I scroll on an icon and if the corresponding option is enabled: Show new messages' content?).
Can someone check that too? If possible by launching the dock from a shell with this command and post output messages here:
cairo-dock -l debug --colors | sed -n "/mail\// {N;p;}"

brianw, Monday 18 June 2012 à 13:31


Subscription date : 25 April 2012
Messages : 270
fabounet :
maybe it's possible to catch the crash with gdb ? ("gdb cairo-dock", and then type "run", and then type "bt" when it crashed) => ddd

Sent via launchpad.

matttbe :
cairo-dock -l debug --colors | sed -n "/mail\// {N;p;}"

Sent via launchpad. Also the Show content is check in the configuration and so is the display 0 when no mail.

matttbe, Monday 18 June 2012 à 13:49


Subscription date : 24 January 2009
Messages : 12573
Here is your debug info (without accounts details )
cairo_dock_instanciate_module (~/.config/cairo-dock/current_theme/plug-ins/mail/mail.conf)
message : (/build/buildd/cairo-dock-3.0.1/src/gldit/cairo-dock-packages.c:cairo_dock_get_package_path:766)
cairo_dock_get_package_path (/usr/share/cairo-dock/plug-ins/mail/themes, ~/.config/cairo-dock/extras/mail, mail)
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-config.c:_get_mail_accounts:92)
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-config.c:_get_mail_accounts:96)
+ on recupere le compte 'Test1'
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-config.c:_get_mail_accounts:118)
mail type : 6
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-config.c:_get_mail_accounts:96)
+ on recupere le compte 'Test2'
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-config.c:_get_mail_accounts:118)
mail type : 6
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-config.c:_get_mail_accounts:96)
+ on recupere le compte 'Test3'
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-config.c:_get_mail_accounts:118)
mail type : 5
message : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-init.c:init:198)
init (~/.config/cairo-dock/current_theme/plug-ins/mail/mail.conf)
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-init.c:_load_theme:139)
Mail theme item: /usr/share/cairo-dock/plug-ins/mail/themes/Default/new_mail_sound.wav
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-init.c:_load_theme:139)
Mail theme item: /usr/share/cairo-dock/plug-ins/mail/themes/Default/no_mail.svg
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-init.c:_load_theme:139)
Mail theme item: /usr/share/cairo-dock/plug-ins/mail/themes/Default/has_mail.svg
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-accounts.c:cd_mail_init_accounts:660)
cd_mail_init_accounts (3 comptes)
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-etpan.c:cd_mail_get_folder_data:74)
mail : 1/0/0
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-etpan.c:cd_mail_get_folder_data:254)
result_messages = 1, result_recent = 0, result_unseen = 0
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-etpan.c:cd_mail_get_folder_data:74)
mail : 3/0/1
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-etpan.c:cd_mail_get_folder_data:83)
getting 1 message body...
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-etpan.c:cd_mail_get_folder_data:123)
Fetching message number 0...
warning : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-etpan.c:cd_mail_get_folder_data:138)
couldn't get the message flags
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-etpan.c:cd_mail_get_folder_data:176)
-> '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
warning : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-etpan.c:cd_mail_get_folder_data:182)
couldn't fetch the headers
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-etpan.c:cd_mail_get_folder_data:254)
result_messages = 3, result_recent = 0, result_unseen = 1
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-etpan.c:cd_mail_draw_main_icon:390)
cd_mail_draw_main_icon ()
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-etpan.c:cd_mail_get_folder_data:74)
mail : 14/0/0
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-etpan.c:cd_mail_get_folder_data:254)
result_messages = 14, result_recent = 0, result_unseen = 0
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages
debug : (/build/buildd/cairo-dock-plug-ins-3.0.1/mail/src/cd-mail-applet-notifications.c:action_on_scroll:340)
Displaying messages cairo_dock_deactivate_module (mail, /usr/share/cairo-dock/plug-ins/mail/mail.conf)
message : (/build/buildd/cairo-dock-3.0.1/src/gldit/cairo-dock-task.c:cairo_dock_stop_task:169)
It seems you also have a problem with mailmessage_fetch_flags
It's a bit annoying but I guess it's a problem with libetpan...

Applets | Applets

Subjects Author Language Messages Last message
[Locked] One small bug in the mail applet (v1.0.11) cairo 3.0.1 [Bug #284]
Guest English 11 matttbe [Read]
18 June 2012 à 13:49


Glx-Dock / Cairo-Dock List of forums Applets | Applets One small bug in the mail applet (v1.0.11) cairo 3.0.1 Top

Online users :

Powered by ElementSpeak © 2007 Adrien Pilleboue, 2009-2013 Matthieu Baerts.
Dock based on CSS Dock Menu (Ndesign) with jQuery. Icons by zgegball
Cairo-Dock is a free software under GNU-GPL3 licence. First stable version created by Fabounet.
Many thanks to TuxFamily for the web Hosting and Mav for the domain name.