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

Select which servers to check for the unread count (thunderbird) #105

Open
GoogleCodeExporter opened this issue Apr 6, 2015 · 37 comments
Open

Comments

@GoogleCodeExporter
Copy link

When you use Thunderbird with several mail accounts, and maybe RSS feed
account ou newsletter account, you may do not want to see the total of
unread mails in all these accounts.

For example, I receive new RSS feeds every 10 minutes. Counting these as
unread mails in firetray icon is just polluting the unread counter.

The solution would be to select which account to take into account for
unread counter in addon preferences.

I added this feature in attached file. Different accounts appears in
perference box, you can check/uncheck each of these accounts. The list of
accounts to check is stored in thunderbird preferences.

I started from the 0.2.3 version. The modified files are:
 - chrome/content/core.js
 - chrome/content/options.js
 - chrome/content/options.xul
 - defaults/preferences/prefs.js
 - chrome/locale/*/options.dtd

The remaining work:
 - test with different configurations
 - translate the new option locale (firetray.mailaccounts_settings)

Original issue reported on code.google.com by jreybert on 22 Mar 2010 at 10:49

Attachments:

@GoogleCodeExporter
Copy link
Author

I quickly tried this out on my TB 3.0.4 Ubuntu running FireTray 0.2.5 dev. You 
didn't
provide any instructions so what I did was to more the current GUID directory 
aside
and to untar this to my extensions directory. When restarting TB it started, in 
the
tray as configured, but I could not get it to normalize out of the tray so I 
reverted
back. 

I hope to see this functionality to make it to the released version someday.

Original comment by adefa...@gmail.com on 22 Mar 2010 at 3:02

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Instructions to install and test this modified firetray:

 - untar firetray.tgz You obtain a directory named
{9533f794-00b4-4354-aa15-c2bbda6989f8}
 - go to your extensions folder (something like
~/.thunderbird/[random_string].default/extensions/ )
 - delete the old {9533f794-00b4-4354-aa15-c2bbda6989f8} directory and copy new one here.
 - restart thunderbird, and go to firetray preferences to choose the mail folders you
want to check.

It should work. If not, let me know.

Original comment by jreybert on 22 Mar 2010 at 9:40

@GoogleCodeExporter
Copy link
Author

Issue 65 has been merged into this issue.

Original comment by fsoltr...@gmail.com on 29 Apr 2010 at 1:51

@GoogleCodeExporter
Copy link
Author

It would be useful to have the option, for each account:

- to restrict the check on a separate subset of folders (no selection could mean
either to check only inbox or, alternatively, to check all folders)
- to exclude a subset of folders from the check.

these two options would make this extension perfect.



Original comment by kowloo...@gmail.com on 7 May 2010 at 12:35

@GoogleCodeExporter
Copy link
Author

Sorry I didn't see your installation instructions. Didn't really change my 
statement however. I have it said to start TB minimized and I cannot get it out 
of the tray! I can create a new message but if I select Restore all or double 
click the tray icon it does not normalize the main window.

Playing around with this by turning off the minimize on start I have 
experienced where sometimes the main window will normalize in another 
workspace, or apparently not at all. Often it kills my window manager (compiz), 
one time it locked up my system! 

I'd love this fix but it is too unreliable for me to use.

Suggestion: I have 5 accounts (2 mail and 3 news). Listing all 5 makes the 
options dialog box fairly tall. You might want to try a different approach.

Original comment by adefa...@gmail.com on 10 Jun 2010 at 3:30

@GoogleCodeExporter
Copy link
Author

I think a more sane behavior is to specify unread mail per account when 
hovering the mouse over the systray icon.

If this behavior is appreciated, I may try to provide a patch.

Original comment by hicham.h...@gmail.com on 20 Jul 2010 at 6:41

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

I think the best approach would be a mix of the one proposed by jreybert and 
the one suggested by kowloon12. That's the way I would like to implement this 
feature. 
I agree with hicham.haouari about the tray tooltip, which could be used for 
displaying more information about the unread messages (maybe with an option to 
show the number of messages for each account or for each containing folder)

Original comment by fsoltr...@gmail.com on 20 Jul 2010 at 9:24

@GoogleCodeExporter
Copy link
Author

Hi again,

I needed to update my tweaked firetray since the v2.3 does not work with 
Thunderbird 3.1. I added again my features, ie. select which folder in unread 
count, in the svn trunk version. Like in the previous version, you can select 
the folders in the option pane.

You can find it in attachment.

Original comment by jreybert on 29 Jul 2010 at 10:29

Attachments:

@GoogleCodeExporter
Copy link
Author

jreybert, your tweak doesn't work on my Linux F12 x86-64 TB3.1.
fsoltrash, is there a chance to see the feature integrated into the mainline ?

Original comment by foudil.n...@bigfoot.com on 18 Aug 2010 at 2:47

@GoogleCodeExporter
Copy link
Author

foudfou, when you say it does not work, what is the problem?

Original comment by jreybert on 25 Aug 2010 at 8:33

@GoogleCodeExporter
Copy link
Author

jreybert, I followed your installation indications above (except that I renamed 
trunk/ into {9533f794-00b4-4354-aa15-c2bbda6989f8}/). Then launch TB, which 
starts starts well, but seems to be half broken: can't get to display the 
message pane, lightning doesn't show up, when trying to access the extension 
tool nothing happens, no Help menu available, no tray... It doesn't seem like a 
conflict with other extensions: I've tried with a fresh new account 
(-ProfileManager) and only your extension installed, but still the same 
problems occurred.
BTW I'm now using TB 3.1.2.

Original comment by foudil.n...@bigfoot.com on 25 Aug 2010 at 4:16

@GoogleCodeExporter
Copy link
Author

i like that people care about his :)

but i have the same problem as foudfou :(

let me know if i can help

Original comment by floschro...@gmail.com on 7 Sep 2010 at 7:38

@GoogleCodeExporter
Copy link
Author

Hi again,

firetray is not a classical addon, as it uses dynamic library files. You must 
build the source, a simple copy from the sources is not enough.

I provide two solutions:
1) the firetray_folders.xpi file. You just need to select and install from the 
addon manager.
2) the firetray_folders.tgz file. It contains the svn trunk directory, with my 
changes. You have to run the 'build.sh' script. It need some dependances, like 
libgtk2.0-dev (with Debian, install them with apt-get install libgtk2.0-dev) 
and others.

Let me know if it works.

Original comment by jreybert on 8 Sep 2010 at 10:13

Attachments:

@GoogleCodeExporter
Copy link
Author

jreybert, it works perfectly ! I tried with the .tgz and build.sh. thank you 
very much !

Original comment by foudil.n...@bigfoot.com on 8 Sep 2010 at 7:12

@GoogleCodeExporter
Copy link
Author

i just tried the XPI and it works (Thank you!), but i still have the same 
problem as before:
i use googlemail with IMAP and it has the "Archives"-Folder. so when a mail 
arrives it is counted twice - one time in the Inbox and one time in the 
Archives.

please include an option just to count the Inbox :)

Original comment by floschro...@gmail.com on 10 Sep 2010 at 8:41

@GoogleCodeExporter
Copy link
Author

it seems that the messages are counted 3 times with your modifications :\
i have 2 new messages in my inbox and it counts 6...

Original comment by floschro...@gmail.com on 12 Sep 2010 at 11:54

@GoogleCodeExporter
Copy link
Author

Hm, sometimes there is a problem for the first use. Go into the firetray 
options, chek all the accounts, uncheck all then check ones you want.

Original comment by jreybert on 13 Sep 2010 at 8:03

@GoogleCodeExporter
Copy link
Author

today, after waking up the PC from hibernation, i got a mail about your post 
and it was only counted twice "as usual". i didn't change anything, maybe it 
was only a glitch

Original comment by floschro...@gmail.com on 13 Sep 2010 at 4:17

@GoogleCodeExporter
Copy link
Author

The .xpi worked for me using Thunderbird 3.1 on Ubuntu 10.04.  Thanks for doing 
this!  My question is since this is a custom .xpi, will you be providing 
updates or will the add-on manager update it based off of the common firetray 
stream?

Original comment by plac...@gmail.com on 5 Oct 2010 at 7:26

@GoogleCodeExporter
Copy link
Author

@placson

Glad it works.

I did not disabled updates on this custom xpi. If an update occurs, it will be 
an offical update: if tweaks are not included in the offical code, you will 
loose them.

My improvement, in a line code adding count, is not much. I don't know if a 
fork is appropriate in this case. I will see next time this addon needs an 
update because it is not compatible with thunderbird anymore.

Original comment by jreybert on 6 Oct 2010 at 8:01

@GoogleCodeExporter
Copy link
Author

I guess a patch against latest trunk would have been more appropriate.

Original comment by hicham.h...@gmail.com on 6 Oct 2010 at 1:06

@GoogleCodeExporter
Copy link
Author

Jrebert work has been merged in the latest svn rev. I changed the option to 
"select accounts to exclude" instead of "select accounts to check" so by 
default all accounts are enabled.
I'm also thinking of saving some kind of unique id of the selected account to 
prevent problems when accounts are deleted

Original comment by fsoltr...@gmail.com on 7 Oct 2010 at 8:43

@GoogleCodeExporter
Copy link
Author

@Jrebert I just upgraded to Ubuntu 10.10 and no longer works using the 
firetray_folders.xpi


Original comment by plac...@gmail.com on 25 Oct 2010 at 6:11

@GoogleCodeExporter
Copy link
Author

I'm running ubuntu 10.10 as well, i had no problems

Original comment by floschro...@gmail.com on 25 Oct 2010 at 6:13

@GoogleCodeExporter
Copy link
Author

@floschro on 32-bit or 64-bit?  I'm on 64-bit.

Original comment by plac...@gmail.com on 25 Oct 2010 at 6:17

@GoogleCodeExporter
Copy link
Author

32 Bit

Original comment by floschro...@gmail.com on 25 Oct 2010 at 6:41

@GoogleCodeExporter
Copy link
Author

@placson: you should no longer use my own xpi.  fsoltrash has merged my work 
into the svn. You should use the svn version (which is up to date).

Original comment by jreybert on 26 Oct 2010 at 8:53

@GoogleCodeExporter
Copy link
Author

@jreybert,

How do I get to the svn and build the xpi?

Original comment by plac...@gmail.com on 4 Nov 2010 at 7:22

@GoogleCodeExporter
Copy link
Author

http://code.google.com/p/firetray/source/checkout

Resolve all the dependance issues.

./build.sh

Original comment by jreybert on 8 Nov 2010 at 9:13

@GoogleCodeExporter
Copy link
Author

finally the message count is correct, thank you so much!

firetray-0.3.0-svn-r112.xpi built without hassles

Original comment by floschro...@gmail.com on 8 Nov 2010 at 10:30

@GoogleCodeExporter
Copy link
Author

here is the download link for the lazy ones :)
https://rapidshare.com/files/429679885/firetray-0.3.0-svn-r112.xpi

Original comment by floschro...@gmail.com on 8 Nov 2010 at 10:33

@GoogleCodeExporter
Copy link
Author

The rapid share XPI doesn't work.  The icon doesn't display on the panel.  I'll 
try to resolve the build dependencies on Ubuntu 10.10 64-bit. 

Original comment by plac...@gmail.com on 12 Nov 2010 at 8:25

@GoogleCodeExporter
Copy link
Author

Here you can find a testing release: 
http://code.google.com/p/firetray/wiki/firetray030svn117 feedback (expecially 
regarding this issue) is appreciated.

Original comment by fsoltr...@gmail.com on 1 Apr 2011 at 9:09

@GoogleCodeExporter
Copy link
Author

This is a very cool feature, thanks!

Could you please make FireTray list the actual folders though, which would 
then, if selected, be included in the count? My situation is that I'm 
subscribed to mailing lists that I don't always have time to read right away 
and messages from those lists are sorted into folders (I think that many people 
do that).

Thanks. :-)
WJ

Original comment by waclawja...@gmail.com on 20 May 2011 at 6:32

@GoogleCodeExporter
Copy link
Author

Nice patch. But it's pretty useless when you have a number of mailing lists on 
your main mail account, as comment 36 describes. Per folder (instead of per 
account) notification is absolutely necessary. Thanks!

Original comment by carlosjo...@gmail.com on 28 Jun 2011 at 7:32

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

1 participant