Closed Bug 1800286 Opened 3 years ago Closed 2 years ago

Switch select in selectAudioOutput() prompt to multi-line

Categories

(Firefox :: Site Permissions, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
117 Branch
Tracking Status
firefox109 --- wontfix
firefox117 --- fixed

People

(Reporter: karlt, Assigned: karlt)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

Attachments

(4 files)

As suggested in bug 1712892 comment 3.

Perhaps this could stay single line if there is a matching deviceId passed to selectAudioOutput() (and the permission has been revoked).

Priority: -- → P2
See Also: → 1800580
Blocks: 1809745

With a dark theme, the selected item in the richlistbox is identified by subtle background color changes, but bug 1809745 will make the selected speaker stand out.

Blocks: 1838574
No longer blocks: 1498512
Assignee: nobody → karlt
Status: NEW → ASSIGNED

This will permit sharing code for a RichListBox.appendItem() call in a
subsequent patch.

Depends on D182316

Setting the selectedItem of a richlistbox to null is a no-op and leaves
previous state remaining, so the selectedIndex is explicitly set instead of
depending on connectedCallback() to do so.

Depends on D182317

Pushed by ktomlinson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b1b5300ef409 move some repeated prompt set-up to listDevices() r=pbz https://hg.mozilla.org/integration/autoland/rev/b1640784291e use MozMenuList.appendItem() r=pbz https://hg.mozilla.org/integration/autoland/rev/f877f5be86e7 use a richlistbox for speaker selection r=pbz,desktop-theme-reviewers,dao
Blocks: 1842962
Regressions: 1842972
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: