widget/gtk/nsWindow.cpp:2139:43: error: class nsMenuPopupFrame has no member named GetAnchorRect
Categories
(Core :: Widget: Gtk, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr78 | --- | unaffected |
| firefox89 | --- | unaffected |
| firefox90 | --- | unaffected |
| firefox91 | --- | fixed |
People
(Reporter: petr.sumbera, Unassigned)
References
(Regression)
Details
(Keywords: regression)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:89.0) Gecko/20100101 Firefox/89.0
Steps to reproduce:
Solaris build fails with:
18:56.97 /builds/psumbera/mozilla-central-build/widget/gtk/nsWindow.cpp: In member function void nsWindow::WaylandPopupMove(bool):
18:56.97 /builds/psumbera/mozilla-central-build/widget/gtk/nsWindow.cpp:2139:43: error: class nsMenuPopupFrame has no member named GetAnchorRect; did you mean GetAnchor
?
18:56.97 2139 | nsRect anchorRectAppUnits = popupFrame->GetAnchorRect();
18:56.97 | ^~~~~~~~~~~~~
18:56.97 | GetAnchor
18:56.97 /builds/psumbera/mozilla-central-build/widget/gtk/nsWindow.cpp:2192:57: error: class nsMenuPopupFrame has no member named GetPopupAnchor; did you mean int8_t n
sMenuPopupFrame::mPopupAnchor? (not accessible from this context)
18:56.97 2192 | rectAnchor = PopupAlignmentToGdkGravity(popupFrame->GetPopupAnchor());
18:56.97 | ^~~~~~~~~~~~~~
...
The first bad revision is:
changeset: 583029:7b82d177a6b9
user: stransky <stransky@redhat.com>
date: Mon Jun 14 11:01:04 2021 -0700
description:
Bug 1661516 [Wayland] Don't use context menu shift in nsMenuPopupFrame::SetPopupPosition(), r=jhorak
| Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 1•5 years ago
|
||
You build with Wayland disabled, right?
Updated•5 years ago
|
| Reporter | ||
Comment 2•5 years ago
|
||
Yes. Solaris has no Wayland.
Comment 3•5 years ago
|
||
Set release status flags based on info from the regressing bug 1661516
Comment 4•5 years ago
|
||
Had the same problem on my gentoo machine(where prior to this i had no wayland installed).
After being able to build on another linux i later found this bug...
Enabled the wayland useflag and recompiled some stuff...
after that i was able to build firefox again.
Comment 5•5 years ago
|
||
Bug 1716842 has a patch for it.
Updated•5 years ago
|
Description
•