Closed Bug 1734232 Opened 3 years ago Closed 3 years ago

Permission popup not aligned with button

Categories

(Firefox :: Site Permissions, defect)

Firefox 93
defect

Tracking

()

RESOLVED DUPLICATE of bug 1708751
Tracking Status
firefox93 --- affected
firefox94 --- affected
firefox95 --- affected

People

(Reporter: jx99zz, Unassigned)

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:93.0) Gecko/20100101 Firefox/93.0

Steps to reproduce:

Open the permission popup on a website.

Actual results:

Everything works fine, but the popup opens a couple pixels to the left of the button. This is very minor, but is inconsistent with Firefox's other popups, and slightly annoying.

Expected results:

I'd expect that popup would appear aligned with the button. Deleting the line '#permission-popup[type="arrow"][side="top"], #permission-popup[type="arrow"][side="bottom"] {
margin-inline: calc(-20px - 2 * var(--urlbar-container-padding));
}' from panel.css (line 1106) seems to fix this inconsistency without any complications.

The Bugbug bot thinks this bug should belong to the 'Firefox::Address Bar' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → Address Bar

Hi Andrew!
Could you add a screenshot to show us what the issue is?
Also, could you please try to reproduce it on latest Nightly and tell us if it happens the same? You can download it from here: https://nightly.mozilla.org/
Thanks!

Flags: needinfo?(jx99zz)
Attached image Screenshot (2).png
Flags: needinfo?(jx99zz)

Hi Marcela!

I uploaded the screenshot, and can confirm that this issue is present in Nightly.
Also, I just noticed that this issue is not present when there are two icons in the permissions box. With one icon, the popup is aligned too far left (see screenshot), and with more than two icons, it appears too far right. That means my 'fix' won't work, but still, it's quite odd.

Cheers!

Hi Andrew! I was unable to reproduce this issue on latest Nightly version 95.0a1 (2021-10-07)(64-bit) on Windows 10. I'll attach a file with evidence.
Could you please share with us the URL where do you are experiencing this issue?. If the issue is related to some private development, could you add a test case?
Also, please attach the about:support data (Hamburger > Help > More troubleshooting information > click "copy raw data to clipboard" button)
Thanks!

Flags: needinfo?(jx99zz)

Hi Marcela!

Looking at your screenshot, in your case it seems that the permissions box has two icons. As I mentioned, this issue is only present with either one or more than three icons. Try opening a website that asks for multiple permissions, or one that uses cross-site cookies.

Cheers!

Flags: needinfo?(jx99zz)

Thanks for the reply, Andrew!
I was able to reproduce it on latest Nightly version 95.0a1 (2021-10-13)(64-bit) on Windows 10. I'll attach a file with evidence and I'll change flags accordingly.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Component: Address Bar → Site Permissions
Ever confirmed: true
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: