Closed Bug 1552926 Opened 7 years ago Closed 7 years ago

"Button click happened before the window was focused" when clicking OK after installing bootstrapped add-on from file

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: 52qtuqm9, Unassigned)

Details

  1. Open Add-ons tab.
  2. Install bootstrapped add-on from file.
  3. Click Yes when prompted whether to install the add-on.
  4. Click OK under the message confirming that the add-on was added.

After 4 the pop-up should go away, but it doesn't, and you get this error:

PopupNotifications._onButtonEvent: Button click happened before the window was focused

This happens even if you move the mouse of the pop-up window and back into it before clicking OK.

It works if you click a second time.

I'm on Linux with GNOME and focus follows mouse.

PopupNotifications._onButtonEvent: Button click happened before the window was focused

Did you change the pointers position between 3 and 4? That is did the conformation dialog appear in the same location as the previous dialog?

Might have moved mouse slightly to position it over the button, but yes, as I recall, the dialog in step 4 appears in the same place as the dialog in step 3.

This may be an issue with the dialog box itself more than then add-on system, or at least a mix of the way Gnome polls the pointer position and TB's dialog box .

Philipp, what say you? Is this an Add-on issue or more of a Core issue?

Flags: needinfo?(philipp)

I think the notification is on our end. Geoff would know this.

Flags: needinfo?(philipp) → needinfo?(geoff)

I have seen this message before, but only if I'm messing around with the developer tools or some other window. I just installed three bootstrapped extensions on a new profile and had no issues.

Flags: needinfo?(geoff)

Jonathan.

Are you seeing the issue in the latest version of TB? I believe I read in chat that there was some working being done on the addon system, but I don't recall what or if this might have been a carry over.

If you have 60.8 installed maybe you can see if the problem persists?

Flags: needinfo?(jik)

I am no longer able to reproduce this in current Daily build.

Status: NEW → RESOLVED
Closed: 7 years ago
Flags: needinfo?(jik)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.