Sidebar switcher popup misaligned with the switcher button
Categories
(Toolkit :: UI Widgets, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox110 | --- | wontfix |
firefox111 | --- | verified |
firefox112 | --- | verified |
People
(Reporter: itiel_yn8, Assigned: emilio)
References
(Regression)
Details
(Keywords: regression)
Attachments
(2 files)
13.54 KB,
image/png
|
Details | |
48 bytes,
text/x-phabricator-request
|
dmeehan
:
approval-mozilla-beta+
|
Details | Review |
STR (on Windows, at least):
- Open the sidebar
- Click the switcher button
- Observe the popup alignment with the switcher
This is a 2-step regression: in bug 1788273 is was regressed so that the popup is misaligned only horizontally, and after bug 1789278 the popoup is misaligned both horizontally and vertically, in a way that its top side starts "inside" the button. See attached.
Assignee | ||
Comment 1•1 year ago
|
||
The panel is intentionally aligned to the icon here, so behavior seems intentional. But we could replace this._icon
by this._switcherTarget
to get the "aligned to button" behavior.
(In reply to Emilio Cobos Álvarez (:emilio) from comment #1)
The panel is intentionally aligned to the icon here, so behavior seems intentional. But we could replace
this._icon
bythis._switcherTarget
to get the "aligned to button" behavior.
Looking at https://bugzilla.mozilla.org/show_bug.cgi?id=1355324#c9, I think the intention was to align the arrow to the icon. But now that we're not using arrows anymore there's no need in diverging from the usual standard.
Assignee | ||
Comment 3•1 year ago
|
||
Updated•1 year ago
|
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1fe1f235ba1a Tweak sidebar popup alignment. r=aminomancer
Pushed by emilio@crisal.io: https://hg.mozilla.org/integration/autoland/rev/55f6654e50f6 Remove now-dead declaration.
Comment 6•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1fe1f235ba1a
https://hg.mozilla.org/mozilla-central/rev/55f6654e50f6
Updated•1 year ago
|
Comment 7•1 year 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-firefox111
towontfix
.
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 8•1 year ago
|
||
Comment on attachment 9318630 [details]
Bug 1817669 - Tweak sidebar popup alignment. r=Itiel,aminomancer,dao
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): Very targeted fix, though also we've shipped this already so not sure if worth uplifting.
- String changes made/needed: none
- Is Android affected?: No
Assignee | ||
Updated•1 year ago
|
Comment 9•1 year ago
|
||
Comment on attachment 9318630 [details]
Bug 1817669 - Tweak sidebar popup alignment. r=Itiel,aminomancer,dao
Approved for 111.0b5
Comment 10•1 year ago
|
||
bugherder uplift |
Updated•1 year ago
|
Comment 11•1 year ago
|
||
Reproduced the misalignment on Firefox 112.0a1 (2023-02-19) on macOS 13.2.1 by following the STR from Comment 0.
The sidebar popup is aligned as expected on Firefox 112.0a1 (2023-02-22) and Firefox 111.0b5 (treeherder build). Tests were performed on macOS 13.2.1, Windows 11 and Ubuntu 22.04.
Updated•1 year ago
|
Description
•