Open Bug 1964393 Opened 14 days ago Updated 8 hours ago

Cannot install add-ons - install cancelled because of missing user gesture activation

Categories

(Thunderbird :: Add-Ons: General, defect)

Thunderbird 138
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: mail, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36 OPR/118.0.0.0

Steps to reproduce:

I access the Add-ons Manager from the Tools menu. I then enter a search term in the add-ons browser ("chatGPT") and get the results page. I click on the Install link to the right for the add-on "ThunderAI".

Note: this is only an example, I get this result with every single add-on, I can't install any of them.

Actual results:

Absolutely nothing. Nothing is downloaded, installed, updated or anything. It's as if the clickable link is simply a dummy button. There are no error messages either.

Expected results:

The add-on should have installed or I should be getting an error message.

If I check the Error Log from Tools, I see this:
"Addon install has failed. Error: Install failed: onInstallCancelled"

If I try to install from a file I get this:

[Exception... "file:///C:/Users/[USER]/Downloads/thunderai_chatgpt_gemini_ollama_in_your_emails-3.3.5-tb%20(1).xpi install cancelled because of missing user gesture activation" nsresult: "0x0 (NS_OK)" location: "JS frame :: resource://gre/modules/amContentHandler.sys.mjs :: handleContent :: line 48" data: no]

Component: Untriaged → Add-Ons: General
Summary: Cannot install add-ons → Cannot install add-ons - install cancelled because of missing user gesture activation

I have not yet been able to reproduce this issue. However, ongoing work in this area might have fixed this for you. I am currently porting patches for the popup mechanism from upstream, and the patch for Bug 1966848 might do the trick. There is try run, which allows you to download the patched build:

https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/CfxEo8fNRI2SLpaI_HJa9A/runs/0/artifacts/public/build/target.tar.xz

Execute:

tar xf target.tar.xz
cd thunderbird
./thunderbird

Can you confirm the issue being fixed?

I would like to get this solved. Could you follow-up on these questions?

  • Is your issue fixed by the listed patch? It is for Linux, but I can provide it for a different System, if needed.
  • What OS are you on?
  • Can you reproduce this in a fresh profile?

Hi John,
Sorry for the delay in getting back to you, I wasn't sure your comment was for me as I am on Windows. If you have a fix for Windows (11) that would be great, if no trouble.
Thank you!

Thanks for your response, Mika.

This is for Windows 10 64 Bit:
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/fQALwiwZR52EXiendu6JMQ/runs/0/artifacts/public/build/target.zip

Unzip it somewhere. It includes a thunderbird folder which contains thunderbird.exe. Make sure to not double-click it, but run it using a console, so that you can append the -p parameter:

thunderbird.exe -p

This ensures that it opens the profile manager, so that you can create a test profile for it. Otherwise, it may open your production profile and upgrade it to Thunderbird 140, and you will not be able to run your production profile in your current TB138.

Thanks!

You need to log in before you can comment on or make changes to this bug.