Virtual Identity 0.4.2 bugfix release
Posted by rene on May 20, 2007 at 06:40 pm | Tagged as: hacking , virtual id
Hi,
after being quiet for a while I just went through all bug-reports and finished a new version of virtual identity.
bugfixes:
- If Smart-Reply found (for instance) an existing identity, sending works ok and what not tampered by the extension. But Thunderbird does not remove the window, it 'recycles' the window. Next time you compose a message, this one shows the same old identity but uses a different one behind the scenes. So I changed Virtual Identity to remove Window completely if message was sended, Window-Recycling is this way disabled (thanks to Charles, john and Henrik for the report).
- repaired Dialog to choose which Virtual Identity to choose, was completely broken (thanks to Mark for the report).
- Connected (and this way limited) usage of newsgroup Identities to the switch Which Enables Virtual Identity for newsgroups (thanks to Dave for the report).
You can download the new version at http://absorb.it/hacked/thunderbird/virtual_identity-0.4.2-tb+sm.xpi
and soon from addons.mozilla.org .




Thanks for that version.
Is there some sort of instruction / guide / manual available for those who do not get it how to use it properly?
eg I am trying to make TB ignore single quotes. Assumed my mail adress is John Doe and some guy writes to 'John Doe' then the address is taken as a Latter new virtual identity.
If I set 'John Doe' as smart filterd in reply tab 2 then the name is * always * filtered and suppressed in other identities.
How can I do what I'm trying?
Hi Ralf,
no real useful guide available, started one but do not have the time to complete it by now. Sorry, might happen later.
And, there is no real way to do name changes with my extension. Sorry, can not help you in this case.
Regards,
Rene
Thanks Rene! That window is the problem-recycling issue I was having but could not reproduce Reliably for the longest time. Now it makes sense. Sorry I was not able to put the pieces together before!
Keith
Thanks for the update. Works beautifully!
Charles
It works again! Thank you!
John
It seems to work for me as well now. Thanks for the update!
Thanks for fixing that issue recycled window. I could not figure out why it was acting unpredictably Sun.
So thanks for the newsgroup fix!
I noticed one little issue though. I have "open a dialog to choose Identity" set and "ask so ..." unset. I'm finding that if my filters reduce the result set so only one address remains, I do not get the popup but it does not set the identity either - it just uses the default identity.
The virtual identity it should have offered does appear in the drop-down list though.
If I set 'ask so ... ", then it will pop up a list with only the one entry and I can choose it and all is good.
I just noticed that if I set "use first found identity without interaction", so it picks the right one. It seems that it's just the popup that fails in this case.
I think this will fix it:
vI_smartIdentity.js, line 328, change to:
else if (all_addresses.number == 1 | vI.preferences.getBoolPref ("smart_reply_autocreate") |) {
Found one minor bug: Using a virtual identity hit, sending. Got the TBird popup for plain text / html / both, hit cancel. Changed subject re-sent. Got a popup warning about the account already existing "should not happen." Seemed to work anyway.
Hi,
I love virtual identity. But I have a bug to report, Which is driving me nuts:
Thunderbird 1.5.0.12
Virtual Identity 0.4.2
One of my "real" identities has a signature on it. The others do not. Sometimes, when I hit "reply" on an email, VID picks the proper email for "smart reply" but does not get rid of the signature.
So I end up sending emails with my full (business) signature.
Please fix this, and I will love you!
Hi,
I have a question: my profile / Mail folder contains many sub-folders named 'Virtual Identity', 'Virtual Identity 1' to 'Virtual Identity 49'. Are any of these useful or can I simply delete them all on a regular basis?
Else, I've had trouble with the smart reply feature: my Thunderbird is configured to automatically agent send me my own e-mails (in fact, it uses the embedded feature "when sending a message, Bcc this address"). But when I replied to emails sent to one of my virtual identities, the BCC field automatically disappeared! Which is quite annoying for me, as I do not store messages sent my own, but only receive them in my inbox ... so I lost several emails this way! Could you please fix that? ... In the meantime, I turnt off this feature ...
Thanks for all of your work!
Virginia
Wow. This extension is non-f ***** g-lievable, almost worth a Ph.D. in itself - and incredibly useful if you have multiple identities. Works like a charm even if all mail (even incoming * and * outgoing mail of all identitites!) Are contained in one single mail folder.
Thank you very much and keep up the great work.
Oh, and here only a small idea)
The option to "ignore the name" could perhaps be amended to provide that the option could mean future "ignore name if not found a suitable name!"
At the moment, namely, with the option "ignore names" such identities (of course) not found, the same e-mail address, but have a different name - even if the original message, including name was properly addressed. Therefore, the automatically chosen identity will be manually corrected sometimes, if another sender name is desired in this case.
With the option "ignore the name, if no matching name is found" would be identical with different names or addresses differ, and therefore identified as the correct virtual identity. Only when really neither e-mail address nor name would fit, creates a virtual identity.
On the other hand, would avoid that for every (slightly) different name like a new virtual identity is created, which is actually an "almost" perfect present unique ID that can be selected instead.
With the option "ignore the name, if no matching name is found" would be used instead, one of the existing identities with the appropriate e-mail address (which you could potentially still set in another program option) - rather like a virtual identity to generate, although actually a (relatively) right identity is present.
Hopefully that was understandable ...
Thanks and regards,
David.P
Link for new comments at top of thread seems to be broken, so posting here.
I have been unable to get virtual id to work on any version of TB. Right now, using 2.0.0.4. I absolutely love and depend on it. . . hope you have some suggestions to try.
I have turned on debug - I get this comment:
collected no address found stored, continuing
Thanks for any help!
Hi all,
thanks for all the responses, I recently had the time to went through all of them so this is a 'all at once' reply.
@ Dave: thanks for your hints with the popup window, the real problem was that the description was misleading in the options dialog. I changed this in 0.4.3pre, to use the (first, only, whatever) identity without interaction you have to activate the button "use first found identity without interaction", so if you wish to use a dialog to choose if there is more than one.
@ Alan: yes, it's not really nice but there is no way for me to see if the message sending process was aborted in a way like this. The same thing happens (sometimes) if you try to send an email without a subject, the Virtual Identity is created and than if you do not fill in the subject and hit cancel, created the identity stays there. If you in the meantime (between the two sending attempts) changed the virtual identity, the new values are not being used. So I changed this in 0.4.3pre. Now removing any old virtual identity account before trying to create a new one, this should work.
@ Alex: you have to love me now
Wasn'ta bug, the extension did not fiddled around with the signatures. If your underlaying base identity had a signature, the new virtual one had one too. But it was a nice suggestion for a new feature, so implemented to dynamically enable / disable a signature in 0.3.4. It's simply done by a call to a function from the 'Switch Identity' extension (thanks to the author), so you'll need this one to use the feature.
@ Virginia: Yes, you can simply remove those folders, they are not needed. And never tested the extension with the bcc option, but you might have problem-occurred if you had a bcc address which was the same like the virtual identity created. Was this the case? Changed the extension to prevent from this problem in 0.3.4, but if this bcc address is 'stable' for a longer time why did not you used a permanent identity instead of a virtual one? Or did I got it wrong?
@ David.P: Your suggestion is good, but the problem is the selection of a proper identity is not really saved, what will make this extension. I know, by the smart-reply I am a bit risky in that direction, but the selection of the appropriate (based) identity should be the responsibility of Thunderbird and I rely simply on a reasonable selection. To change this pre-selection, there are of course extensions, such as Cell Identity.
@ Roberto: can not reproduce any problems with this. The debug message you posted just shows that non of the collected addresses (found in the headers) is the same as a stored account identity, # in which case the stored one would have been chosen automatically. So no problem with this, can you be more specific with the problems you have?
Again, thanks for all you comments, please try the new version Which is available (in a few minutes) in another entry in this blog.
Regards,
Rene