Permission doorhangers appear in the wrong place when dragging the window before showing the popup

NEW
Unassigned

Status

()

P3
normal
a year ago
5 months ago

People

(Reporter: ng, Unassigned)

Tracking

({dupeme})

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

a year ago
Created attachment 8900861 [details]
offset-gum-dialog.png

getUserMediaDialog can appear in the wrong place if you move the window during the time between when getUserMedia is called, and when the dialog appears. This is normally a short period, and it is most easy to reproduce this behavior if you refresh a page that requests getUserMedia, and move the window during the refresh.

Here is an example page with such a behavior: https://jsfiddle.net/jib1/qs830j4j/

Attached is a screen cap of of the dialog appearing to the right and below where it should be (anchored to the camera icon next to the green lock icon).
(Reporter)

Comment 1

a year ago
Note: the camera icon appearing in the wrong place in the tab strip was most likely the unrelated bug 1392792.
I'm sure there's a dupe of this somewhere.
Component: General → Site Identity and Permission Panels
Keywords: dupeme
Priority: -- → P3
Summary: getUserMedia chrome drop down dialog can appear in the wrong place → Permission doorhangers appear in the wrong place when dragging the window before showing the popup
(Reporter)

Comment 4

5 months ago
In the fiddle in comment 3 the popup will appear 3 seconds after the page is loaded. Load the page and move the window until the popup appears.
You need to log in before you can comment on or make changes to this bug.