Virtual Identity bugfix release 0.4.2
Posted by rene on 20 Mai 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 was not tampered by the extension. But Thunderbird doesn’t 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 don’t get it how to use it properly?
e.g. I am trying to make TB ignore single quotes. Assumed my mailadress is John Doe and some guy writes to ‚John Doe‘ then the latter address is taken as a new virtual identity.
If I set ‚John Doe‘ as filterd in smart 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 don’t have the time by now to complete it. Sorry, might happen later.
And, there is no real way to do name changes with my extension. Sorry, can’t help you in this case.
Regards,
Rene
Thanks Rene! That window recycling problem is the issue I was having but couldn’t reliably reproduce for the longest time. Now it makes sense. Sorry I wasn’t 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 recycled window issue. I couldn’t figure out why it was acting so unpredictably.
Thanks also for the newsgroup fix!
I noticed one little issue though. I have „open a dialog to choose identity“ set and „ask also…“ 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 doesn’t 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 also…“, 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“, it also 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 send. Got the TBird popup for plain text/html/both, hit cancel. Changed subject, re-sent. Got a popup warning about the account already existing „shouldn’t 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 doesn’t 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 ‚VirtualIdentity‘, ‚VirtualIdentity-1‘ to ‚VirtualIdentity-49‘. Are any of these useful or can I simply delete them all on a regular basis?
Else, I’ve had trouble with the intelligent reply feature: my Thunderbird agent is configured to automatically 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 my own sent messages, but only receive them in my Inbox… so I lost several emails this way! Could you please fix that?… In the meantime, I turnt this feature off…
Thanks for all of your work ! 😀
Virginie
Wow. This extension is unbe-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.
Achso, hier nur eine kleine Idee ,)
Die Option „ignoriere Namen“ könnte vielleicht noch dahingehend geändert werden, dass die Option zukünftig heißen könnte „ignoriere Namen, wenn kein passender Name gefunden“!
Im Moment werden nämlich mit der Option „ignoriere Namen“ solche Identitäten (natürlich) nicht gefunden, die dieselbe E-Mail-Adresse, aber einen unterschiedlichen Namen aufweisen — selbst dann, wenn die Originalnachricht einschließlich Name richtig adressiert war. Daher muss die automatisch gewählte Identität in diesem Fall manchmal manuell korrigiert werden, falls ein anderer Absendername gewünscht wird.
Mit der Option „ignoriere Namen, wenn kein passender Name gefunden“ würden identische Adressen mit unterschiedlichen Namen noch unterschieden, und daher als korrekte virtuelle Identität identifiziert. Erst wenn wirklich weder E-Mail-Adresse noch Name passen, würde eine virtuelle Identität erzeugt.
Auf der anderen Seite würde vermieden, dass für jeden (geringfügig) abweichenden Namen gleich eine neue virtuelle Identität erzeugt wird, wo eigentlich eine „fast“ passende eigene ID vorhanden ist, die stattdessen ausgewählt werden kann.
Mit der Option „ignoriere Namen, wenn kein passender Name gefunden“ würde somit stattdessen eine der vorhandenen Identitäten mit der passenden E-Mail-Adresse verwendet (die man möglicherweise noch in einer weiteren Programmoption einstellen könnte) — anstelle gleich eine virtuelle Identität zu erzeugen, obwohl eigentlich eine (einigermaßen) passende Identität vorhanden ist.
Hoffentlich war das verständlich… 😉
Besten Dank und Grüße,
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:
no collected 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 in the options dialog was misleading. 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”, also 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 don’t fill in the subject and hit cancel, the created 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’t a bug, the extension didn’t 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.
@Virginie: Yes, you can simply remove those folders, they are not needed. And never tested the extension with the bcc-option, but you problem might have occurred if you had a bcc-address which was the same like the created virtual identity. 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 you didn’t used a permanent identity instead of a virtual one? Or did I got it wrong?
@David.P: Dein Vorschlag ist gut, allerdings ist das Problem der Auswahl einer richtigen gespeicherten Identität nicht wirklich, was diese Erweiterung leisten will. Ich weiss, durch das smart-reply hab ich mich schon etwas in diese Richtung gewagt, aber die Auswahl der passenden (Basis)Identität sollte Sache von Thunderbird sein und ich verlasse mich einfach auf eine sinnvolle Vorauswahl. Um diese Vorauswahl zu verändern, gibt es selbstverständlich auch Erweiterungen, zum Beispiel Correct Identity.
@roberto: can’t reproduce any problems with this. The debug message you posted just shows that non of the collected addresses (found in 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