Closed Bug 1716491 Opened 5 years ago Closed 5 years ago

widget/gtk/nsWindow.cpp:2139:43: error: class nsMenuPopupFrame has no member named GetAnchorRect

Categories

(Core :: Widget: Gtk, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1716842
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

Keywords: regression
Regressed by: 1661516
Has Regression Range: --- → yes

You build with Wayland disabled, right?

Component: Untriaged → Widget: Gtk
Priority: -- → P3
Product: Firefox → Core

Yes. Solaris has no Wayland.

Set release status flags based on info from the regressing bug 1661516

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.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.