Multi-account-containers: Confirm and Deny buttons on "Open this site in your assigned container" view is faulty

Created on 26 Sep 2019  路  7Comments  路  Source: mozilla/multi-account-containers

When a domain is assigned to a container, the next time a page from that domain is opened in a different container, the open in {container name} container button (see image below) is faulty.

image

Actual behavior

The open in {container name} button requires multiple clicks to respond. This number of clicks required is inconsistent, but it will work _eventually_.

Expected behavior

Pressing this button once should suffice.

Steps to reproduce

  1. Open any webpage in a named container
  2. Press the MAC icon in the top bar
  3. Select Always open in {container name} from the add-on panel
  4. Open any webpage from the same domain in a different container
  5. When asked "open this site in your assigned container?" click open in {container name} container

Notes

  • I'm using Firefox 69.0.1 (64-bit) on OSX 10.14.6 (18G87)
  • May duplicate #1331

Most helpful comment

This seems to be fixed now, it's working properly on my Firefox :)

The changelog for the most recent release (v 6.1.1) mentions

3ae1803 Bug 1539507 - Fix targeting of button click when button element isn't clicked.

Bug 1539507 on Mozilla's Bugzilla

All 7 comments

I can reproduce this on 70.0b9 (64-bit) (Firefox dev edition, mostly default settings) on Win10. I thought it was my container naming at first (something like "one/two three")

I have played with this a bit more and have an update.

  • Clicking on the confirm button background works as expected
  • Clicking on the confirm button text works fine
  • _But_ clicking container name on the confirm button gives no response.

I had a look at the code and see the container name is wrapped in .

<dfn class="container-name">Reading</dfn>

I tried again and noticed the exact same issue with both the confirm and deny buttons: in both cases, the dfn tag that breaks the

I can reproduce this exactly like you describe, clicking on the container name on either button does not trigger any actions

The issue is in confirm-page.js and it is fixed in master in this commit: https://github.com/mozilla/multi-account-containers/commit/3ae1803420aeb3c0ea2ef8c642bad4172484c084

I assume that the next release will have this fixed.

Duplicate of #1447

This seems to be fixed now, it's working properly on my Firefox :)

The changelog for the most recent release (v 6.1.1) mentions

3ae1803 Bug 1539507 - Fix targeting of button click when button element isn't clicked.

Bug 1539507 on Mozilla's Bugzilla

@chk1 Thanks!

Was this page helpful?
0 / 5 - 0 ratings