Closed Bug 1812321 Opened 1 year ago Closed 1 year ago

The name of the device used is clipped instead of wrapped if the text excedes the limit of the microfone/camera site permission panel

Categories

(Firefox :: Menus, defect, P3)

defect

Tracking

()

VERIFIED FIXED
111 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox109 --- unaffected
firefox110 --- verified
firefox111 --- verified

People

(Reporter: bmaris, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Found in

  • Latest Nightly 111.0a1

Affected versions

  • Firefox 110.0b5
  • Latest Nightly 111.0a1

Unaffected versions

  • Firefox 109.0

Tested platforms

  • Affected platforms: Windows 10, macOS 13 and Ubuntu 18.04.
  • Unaffected platforms: none

Preconditions

  • A device (camera or microphone) with a long name is required and connected to the PC/laptop.

Steps to reproduce

  1. Visit a page that requires microphone and camera (eg. https://meet.jit.si/TesthingMicAndCameraForAFirefoxBug)

Expected result

  • The name of the device is wrapped if too long using elipses.

Actual result

  • The name of the device used is clipped

Regression range

Additional notes

  • Not entirely sure if this issue should end up in Site permission component or here in menus. Please change it accordingly if necessary.
  • By clipping the name of the device the little icon showing the type of permission (mic or cam) is removed as well.
  • Not sure if other site permission panels are affected by this, not sure which one could also display a long text inside the dropdown.
Flags: needinfo?(emilio)
Assignee: nobody → emilio
Flags: needinfo?(emilio)

This was mixing old and new flexbox in a way that it happened to work
before my patch, but really should've always needed min-width to work.

Status: NEW → ASSIGNED
Priority: -- → P3
Pushed by ealvarez@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/08f5c59b7ba4
Preserve shrinking behavior of webrtc device selector. r=dao
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch

The patch landed in nightly and beta is affected.
:emilio, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox110 to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(emilio)

Comment on attachment 9314154 [details]
Bug 1812321 - Preserve shrinking behavior of webrtc device selector. r=Itiel,dao,Gijs

Beta/Release Uplift Approval Request

  • User impact if declined: comment 0
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: comment 0
  • List of other uplifts needed: none
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Trivial, targeted css fix.
  • String changes made/needed: none
  • Is Android affected?: No
Flags: needinfo?(emilio)
Attachment #9314154 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Comment on attachment 9314154 [details]
Bug 1812321 - Preserve shrinking behavior of webrtc device selector. r=Itiel,dao,Gijs

Approved for our last 110 beta, thanks.

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

Verified that using latest Nightly 111.0a1 and latest Beta (from treeherder) across platforms (Windows 10, Ubuntu 18.04 and macOS 13) this is now fixed.

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

Attachment

General

Created:
Updated:
Size: