poohsen / thunderlink

Link to your Thunderbird emails!
Mozilla Public License 2.0
19 stars 4 forks source link

Can't click thunderlink in MLO #20

Open JoelAzaria opened 10 years ago

JoelAzaria commented 10 years ago

On TB 31.0, Win 7 64 - Followed instructions to install both FF plugin and registry entries.
Pasting a Thunderlink into a note field in MLO does not show up as a clickable link and not sure why.

In troubleshooting verified: Thunderlinks open when pasted in FF bar Thunderlinks do not work correctly when called from a command line if TL is surrounded by single quote (as per the examples) - throws error dialog "Couldn't find an email message for Thunderlink" Thunderlinks DO work from cli if wrapped with double quote or no quotes at all.

How to proceed? Thanks.

Below is the conversation thread I had with Cristoph by email for reference.


On 8/28/2014 4:52 PM, Christoph Zwirello wrote:

Hi,

please file an issue at https://github.com/poohsen/thunderlink re the MLO integration. I'll ask Sean to take a look at it and give his input.

Can you also try step 1) with double quotes and with no quotes at all around the thunderlink? I can see the single quotes in your screenshot and I shouldn't be able to.

fyi: I'm on holidays as of now and I won't be answering any more emails until tuesday.

c

Am 28.08.2014 22:04 schrieb Joel Azaria:

Hi Cristoph,

I am absolutely certain that a different email was selected (I was viewing yours and the thunderlink was to something else) I don't remember if I restarted TB immediately after install, but it has been restarted a few times since including one machine restart yesterday.

To be sure, I just uninstalled TL, restarted TB, reinstalled TL, restarted TB. Same results, same error from command line, still works from FF.

So, how to proceed?

Thanks, J.

On 8/28/2014 2:46 PM, Christoph Zwirello wrote:

This is really odd. Normally, if there are issues with the protocol registration, 1) would work but 2) wouldn't. To be sure: are you 100% positive that TB is actually selecting the email? Or was it maybe already selected in your tests? If you select another email, then repeat test 2), can you see TB switch to the email from the thunderlink?

The test in 1) doesn't use the windows protocol registration at all. This is TB/TL only and if it's not working, then sth. is really wrong. Did you restart TB after you installed TL?

c.

Am 28.08.2014 20:38 schrieb Joel Azaria:

Forgot screenshot-----

image

Thanks Cristoph.

Perhaps thunderbird issue, perhaps not. My assumption is that the .reg file should register a handler in windows for the thunderlink:// protocol - is that right? If so, then my guess is that it may not have registered correctly or similar.

Regards your test requests: For 1) - I get an error "couldn't find an email message.." See screenshot

For 2) - it works as intended. When I hit enter I get a dialog asking me to choose the app to open this link with (T-bird already listed and first) and when I click ok it focuses T-bird and focuses the intended email message. So then it appears the FF handler plugin is working right but the Windows handler is not.

My guess is if the Windows handler was working, the MLO should/would recognize the thunderlink:// as a valid linkable/clickable link. Of course if you wouldn't mind checking with the user that has gotten it working, that would also be appreciated.

Thanks, Joel.

On 8/25/2014 8:25 AM, Christoph Zwirello wrote:

Hi Joel,

sounds like an MLO issue, IMO. I can ask another user who I know has managed to get it to work with MLO. To be sure TL is actually working fine, can you:

1) call thunderbird from the command line using the -thunderlink option and a valid thunderlink enclosed in single quotes? If running, TB should select the email, else it should start with just the email window and display the email contents

2) what do you get if you paste the TL into the FF address bar?

c.

Am 25.08.2014 14:04 schrieb Joel Azaria:

Hi Cristoph,

Great idea for an extension. If I can get it to work it will be even better :D

I installed the extension in TB, installed the FF plugin and pasted and ran a .reg as advised (running W7 64). I can successfully copy a link but when I paste it into MyLIfeOrganized, it doesn't 'linkify'. Not sure what I'm doing wrong or how to check. Is there another step I need for MLO or can you please advise how to troubleshoot/proceed?

Thanks, Joel.

poohsen commented 10 years ago

@EnigmaSolved you managed to get TL to work with MLO, right?

EnigmaSolved commented 10 years ago

Yup! It works great! :) You just need to construct your ThunderLinks like follows:

file:thunderlink://messageid=YOUR_MESSAGE_ID

When in doubt with MLO (and these types of things), always try adding file: to the beginning of the string and usually that will tell MLO it is a clickable/executable link.

I like to use the MLO Rapid Task Entry box, so I have my ThunderLinks configured like the following example:

Email: <subject>   -s Tomorrow -*    @ Work;Email; 
file:<thunderlink>

Note that the TL is on the second line. Also, I put extra spaces between some of the items to make it easier for me if I need to tweak something (eg, change the Start Date, or add a MLO Context).

In MLO Rapid Task Entry, if you uncheck Multiple Task Entry (1 task per line...) then pasting the above TL result into the Rapid Task Entry box will produce the following MLO Task:

Task Subject = "Email: EMAIL_SUBJECT"
Start: Tomorrow
Star
Contexts: Work; Email;
Task Note: A clickable ThunderLink, beginning with "file:"

Hope this helps! Let me know you have any questions! ThunderLink and MLO can work great together once you get things setup however you want them. :)

Sean