[Permissions] “Allow” status drop-down button width is too long
Categories
(Core :: Layout, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox105 | --- | wontfix |
firefox106 | --- | verified |
firefox107 | --- | verified |
People
(Reporter: dlucaci, Assigned: emilio)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
948.24 KB,
image/png
|
Details | |
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-release+
|
Details | Review |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15
Steps to reproduce:
- Visit https://permission.site/.
- Click on " Notifications" button.
- Click on "Allow" button in the notification panel.
- Go to about:preferences#privacy.
- Click on the Notification “Settings…” button.
- Observe the “Allow" drop-down button.
Actual results:
The “Allow” drop-down width is too wide.
Expected results:
The “Allow” drop-down width is properly displayed, matching the “status” table head width.
Reporter | ||
Comment 1•2 years ago
|
||
Regression range
-
First bad: 415da4b53bdd9ff553b009404d5fc765db7d6144
-
Last good: 972c119dfc86702a5891f1423d369fc6e4123d46
-
Potentially regressed by: Bug 1784265 - Figure out what to do with flex="" attributes when emulating -moz-box with flexbox.
Comment 2•2 years ago
|
||
Thanks for this issue, I was able to reproduce it on Windows 10 on my end, making this issue as new and setting the affected flags.
Updated•2 years ago
|
I managed to fix it by:
- Adding
display: flex
to this element: https://searchfox.org/mozilla-central/rev/560b7b1b174ed36912b969eee0c1920f3c59bc56/browser/components/preferences/dialogs/sitePermissions.js#354 - Adding
flex: 3
here: https://searchfox.org/mozilla-central/rev/560b7b1b174ed36912b969eee0c1920f3c59bc56/browser/components/preferences/dialogs/sitePermissions.css#5 - Adding
flex: 1
here: https://searchfox.org/mozilla-central/rev/560b7b1b174ed36912b969eee0c1920f3c59bc56/browser/components/preferences/dialogs/sitePermissions.css#21
... However that doesn't seem to be the right fix.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 4•2 years ago
|
||
This fixes a typo in here:
https://hg.mozilla.org/integration/autoland/rev/fcb1a053fbe232205c71a5e72b137675fff5d343#l13.21
Which changed a "3" by a "1", unintendedly. Unify the styling, to have
one source of truth rather than 3.
Updated•2 years ago
|
Updated•2 years ago
|
Comment 6•2 years ago
|
||
bugherder |
Comment 7•2 years ago
|
||
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-firefox106
towontfix
.
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 8•2 years ago
|
||
Comment on attachment 9297095 [details]
Bug 1793558 - Fix a typo introduced in bug 1784265. r=Itiel
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): Typo fix.
- String changes made/needed: none
- Is Android affected?: No
Assignee | ||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 9•2 years ago
|
||
Reproduced the issue with Firefox 107.0a1 (2022-10-04) on Windows 10x64. The dropdown box for Allow or Block permission has a bigger width than the Status area from above.
The issue is verified fixed with Firefox 107.0a1 (20221011160345) on Windows 10x64, macOS 12, and Ubuntu 20.04. The dropdown for Allow or Blocked Status has the correct width for Location, Camera, Microphone, Notifications and Autoplay permissions. Note that bug 1794752 was found during this verification.
Comment 10•2 years ago
|
||
Comment on attachment 9297095 [details]
Bug 1793558 - Fix a typo introduced in bug 1784265. r=Itiel
Approved for 106.0.2, thanks.
Comment 11•2 years ago
|
||
bugherder uplift |
Comment 12•2 years ago
|
||
Verified fixed with Firefox 106.0.2 (20221024211236) from comment 11 on Windows 10x64, macOS 12, and Ubuntu 20.04. The dropdown for Allow or Blocked Status has the correct width for Location, Camera, Microphone, Notifications, Autoplay, and Virtual Reality permissions.
Comment 13•2 years ago
|
||
Verified with Firefox 106.0.2 (20221025065831) official build on Windows 10x64, macOS 12 and Ubuntu 20.04. The dropdown for Allow or Blocked Status has the correct width for Location, Camera, Microphone, Notifications, Autoplay, and Virtual Reality permissions.
Updated•2 years ago
|
Description
•