Context menu and other popups open 4px to the right
Categories
(Core :: Widget: Gtk, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox-esr91 | --- | unaffected |
firefox93 | --- | unaffected |
firefox94 | --- | unaffected |
firefox95 | + | verified |
firefox96 | --- | verified |
People
(Reporter: emilio, Assigned: emilio)
References
(Regressed 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(5 files)
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
After bug 1738084, the context menu opens a bit too much to the right, because we don't offset the menupopup position by the box shadow.
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
This doesn't change behavior but I did it while debugging and I think it's
probably worth landing, as it shows the expected values rather than just the
fail message.
Depends on D129817
Assignee | ||
Comment 3•3 years ago
|
||
For tests that actually test margin handling I've just removed the default
margin by adding:
<?xml-stylesheet href="data:text/css,menupopup{margin: 0}" type="text/css"?>
The other tests I've just fixed by accounting for the margins.
Depends on D129865
Assignee | ||
Comment 4•3 years ago
|
||
With the negative margin, some context menus that remain open start
getting events that would otherwise go to the content underneath
(and which the affected tests need to pass).
Close the context menus explicitly in the affected tests (this is
what would usually happen if a user clicked a context menu item
anyways).
Depends on D129866
Updated•3 years ago
|
Comment 5•3 years ago
|
||
Set release status flags based on info from the regressing bug 1738084
Assignee | ||
Updated•3 years ago
|
Comment 7•3 years ago
|
||
bugherder |
Assignee | ||
Comment 8•3 years ago
|
||
Comment 10•3 years ago
|
||
Comment 11•3 years ago
|
||
bugherder |
Assignee | ||
Comment 12•3 years ago
|
||
[Tracking Requested - why for this release]: Popups are off on Linux without this fix. We could also consider backing out bug 1738084, but given we're early on the beta cycle uplifting this would be ideal.
Comment 13•3 years ago
|
||
Comment 14•3 years ago
|
||
Comment 15•3 years ago
|
||
Backed out for causing mochitest failures on test_largemenu.html.
Failure log for c3
Failure log for c1
This happened only on Linux 18.04 x64 WebRender debug.
Comment 16•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Comment 17•3 years ago
|
||
bugherder |
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 18•3 years ago
|
||
bugherder |
Comment 19•3 years ago
|
||
Emilio, do you want to request uplift to beta? Thanks
Assignee | ||
Comment 20•3 years ago
|
||
Comment on attachment 9248499 [details]
Bug 1738265 - Trivially fix other two popup tests that I had missed. r=NeilDeakin,stransky
Beta/Release Uplift Approval Request
- User impact if declined: Popups open too much to the right on Linux
- Is this code covered by automated tests?: Yes
- 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): It's really just one-line CSS fix, but it needed a ton of test changes.
- String changes made/needed: none
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Comment 21•3 years ago
|
||
Comment on attachment 9248499 [details]
Bug 1738265 - Trivially fix other two popup tests that I had missed. r=NeilDeakin,stransky
Approved for 95 beta 3, thanks.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 22•3 years ago
|
||
bugherder uplift |
Comment 23•3 years ago
•
|
||
The first patches had landed on 95 nightly before the merge, I only uplifted the remaining patches that landed in 96 after the merge.
Comment 24•3 years ago
|
||
Verified as fixed on Ubuntu 20.04 x64 on Firefox Nightly 96.0a1 and on Firefox 95.0b2.
Updated•3 years ago
|
Description
•