Context menu won't show up after disconnecting an external display
Categories
(Core :: Widget: Gtk, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox-esr128 | --- | unaffected |
firefox139 | --- | unaffected |
firefox140 | + | fixed |
firefox141 | + | verified |
People
(Reporter: 674Y3r, Assigned: stransky)
References
(Regression)
Details
(Keywords: regression)
Crash Data
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
dmeehan
:
approval-mozilla-beta+
|
Details | Review |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0
Steps to reproduce:
Running Firefox Nightly on Void Linux with KDE Wayland (kwin-6.3.3).
Using only an external monitor (built-in one is disabled), then launching firefox and disconnecting the display (so that the built-in one is used instead and screen geometry changes, but works in both ways) breaks context/hamburger/extension menus making them impossible to use, unless firefox is restarted (if opened, new windows are also affected).
mozregression result:
33:29.15 INFO: Last good revision: 9a4078347e9ac9d673f78833fe247dd08ef2ee02
33:29.15 INFO: First bad revision: ad1382e084fc2ac35ee38f8f1fdfe3d5f218dc06
33:29.15 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=9a4078347e9ac9d673f78833fe247dd08ef2ee02&tochange=ad1382e084fc2ac35ee38f8f1fdfe3d5f218dc06
Steps to reproduce:
- launch firefox,
- having only one display in use, disable an enabled one, so that the pc switches to the second one,
- open context/hamburger/extension menu.
Actual results:
Context menu doesn't show up after using rmb, hamburger/extension menu doesn't show up after clicking a button.
Expected results:
Context menu shows up after using rmb, hamburger/extension menu shows up after clicking a button.
Comment 1•3 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•3 months ago
|
||
Setting Regressed by
field after analyzing regression range found by mozregression in comment #0.
Comment 3•3 months ago
|
||
:stransky, since you are the author of the regressor, bug 1959368, could you take a look?
For more information, please visit BugBot documentation.
Updated•3 months ago
|
Comment 4•3 months ago
|
||
The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.
Assignee | ||
Comment 6•3 months ago
|
||
Can you please test latest nightly?
Thanks.
The issue is still here.
(latest build id: 20250603213222)
Comment 8•3 months ago
|
||
I don't think we can ship 140 with this bug, Martin would it be safe to back out the regressor? Thanks
Assignee | ||
Comment 9•3 months ago
|
||
I'll look at it today. It's enough to just remove IsHDRMonitor() call from screen getter.
Assignee | ||
Comment 10•3 months ago
|
||
Updated•3 months ago
|
Assignee | ||
Comment 11•3 months ago
|
||
This one uses the HDR info from Wayland protocol as before and it's suitable for uplift to beta.
Assignee | ||
Comment 12•3 months ago
|
||
It may also fix Bug 1968308.
Comment 13•3 months ago
|
||
![]() |
||
Comment 14•3 months ago
|
||
bugherder |
https://github.com/mozilla-firefox/firefox/commit/b588667c41bd314c1d0c3b6abfbdaad39aa5a14f
https://hg.mozilla.org/mozilla-central/rev/0c10d3a38763
Comment 15•3 months ago
|
||
I confirm that this is fixed in nightly 20250608202551
Assignee | ||
Comment 16•3 months ago
|
||
Comment on attachment 9493207 [details]
Bug 1968598 [Wayland] Don't get HDR info from particular monitors r?emilio
Beta/Release Uplift Approval Request
- User impact if declined/Reason for urgency: Crashes/missing menu in Wayland with more than one monitor attached.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Removed Wayland specific HDR monitor sweep. returned to old protocol check.
- String changes made/needed:
- Is Android affected?: No
Comment 17•3 months ago
|
||
Comment on attachment 9493207 [details]
Bug 1968598 [Wayland] Don't get HDR info from particular monitors r?emilio
Approved for 140.0b8
Comment 18•3 months ago
|
||
uplift |
Updated•3 months ago
|
Comment 20•3 months ago
|
||
Copying crash signatures from duplicate bugs.
Description
•