Closed Bug 1519648 Opened 5 years ago Closed 5 years ago

screen share selection misaligned; preview and checkbox overlap buttons

Categories

(Firefox :: Site Permissions, defect, P2)

64 Branch
defect

Tracking

()

VERIFIED FIXED
Firefox 72
Tracking Status
firefox-esr68 --- wontfix
firefox70 --- wontfix
firefox71 --- verified
firefox72 --- verified

People

(Reporter: db48x, Assigned: pbz)

Details

(Keywords: regression)

Attachments

(5 files)

This must be a relatively recent regression; I've used this option in months past and it didn't have this problem. It does appear to be caused by the dual-monitor configuration; a quick test on a laptop where it's easier to plug in external displays confirms that the appearance is correct with only one active display.

However, more testing shows that it's actually related to the aspect ratio of the whole group of displays, rather than the number of displays. If I arrange three monitors in an L shape, then the overall aspect ratio is closer to square (well, 16:9 actually) and the selection window is fine. However, if all three monitors are in a horizontal row, then the aspect ratio is very large and the selection window has the most overlap between elements.

I suspect this bug will happen on all platforms.

Attachment #9036143 - Attachment description: Screenshot from 2019-01-12 09-17-34.png → two screens side by side: wide aspect ratio and an annoying overlap
Attachment #9036144 - Attachment description: Screenshot from 2019-01-12 09-30-15.png → three monitors in an L-shape: normal 16:9 aspect ratio, no overlap
Attachment #9036145 - Attachment description: Screenshot from 2019-01-12 09-31-43.png → three monitors in a horizontal layout: even wider, even more overlap

Thanks Daniel! Yes I agree this points perhaps to a simple aspect assumption in the preview pane. Johann, can you confirm?

Marking as regression based on comment 0. To prioritize this it would help to have a regression range.

Rank: 18
Flags: needinfo?(jhofmann)
Priority: -- → P2
Component: WebRTC: Audio/Video → Device Permissions
Product: Core → Firefox

Please note that on builds older than 2017-01-28 there was no preview for the share screen option.

Has Regression Range: --- → yes

Reproducible on latest Nightly build 70.0a1 (2019-08-27) using Ubuntu 18.04.

70 is already in beta. While I could still potentially take a patch it isn't critical for 70.
Can you help find an owner for this issue?
I'm not sure in this case the regression range from comment 5 helps, or not.

Flags: needinfo?(jib)

Assigning to Johann who owns the permission prompt code.

I'm not seeing anything stand out in the regression range, but it appears to be a simple layout bug from unexpected (uncommon) dimensions of the preview pane.

Assignee: nobody → jhofmann
Flags: needinfo?(jib)

Not something I have the capacity to investigate right now. I'll put it on our backlog.

Assignee: jhofmann → nobody
Flags: needinfo?(jhofmann)

Paul, could you find an owner for this bug? Thanks

Flags: needinfo?(pbz)

Thanks Pascal, I'll look into this.

Assignee: nobody → pbz
Status: NEW → ASSIGNED
Flags: needinfo?(pbz)
Pushed by pzuhlcke@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6158e5023ad4
Fixed screen share preview permission prompt layout bug. r=nhnt11
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 72

That looks like a good candidate for an uplift to beta, Paul can you request it? Thanks

Flags: needinfo?(pbz)

Comment on attachment 9106132 [details]
Bug 1519648 - Fixed screen share preview permission prompt layout bug. r=nhnt11

Beta/Release Uplift Approval Request

  • User impact if declined: Screen share permission prompt can break on wide aspect ratio and multi monitor setups or when selecting wide aspect ratio windows. If it breaks user can no longer use "remember" checkbox.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: Open a window and scale so it has wide aspect ratio (small height, large with). Open https://permission.site, select "Screen Share" and select the wide aspect ratio window. The checkbox and allow /deny buttons should not overflow other elements in the prompt.
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Low risk, very small CSS fix.
  • String changes made/needed:
Flags: needinfo?(pbz)
Attachment #9106132 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Reproduced the initial issue using an old Nightly build 70.0a1 (2019-08-27).
Verified - fixed on latest Nightly 72.0a1 (2019-11-05) (Build id: 20191105095755) on Ubuntu 18.04 and Windows 10.

Comment on attachment 9106132 [details]
Bug 1519648 - Fixed screen share preview permission prompt layout bug. r=nhnt11

Low risk css fix, verified by QA on nightly, uplift approved for 71 beta 8, thanks.

Attachment #9106132 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

Verified - fixed on latest Beta 71.0b8 (Build id: 20191107101713) on Ubuntu 18.04 and Windows 10.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triaged]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: