Closed Bug 1577589 Opened 6 years ago Closed 4 years ago

[wayland] popover arrow is positioned incorrectly when library button is placed on left side of address bar

Categories

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

67 Branch
Unspecified
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: yoasif, Assigned: stransky)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Steps to reproduce:

  1. Enter customize view and drag the library button to left side of address bar
  2. Click library button

What happens:

The popover arrow is positioned to the right of the button.

Expected result:

The popover arrow should appear directly below the button clicked, not to the left or right of it.

5:51.96 INFO: No more inbound revisions, bisection finished.
5:51.96 INFO: Last good revision: e8b8985aa697ef4dad6ed72957186c658669bc1d
5:51.96 INFO: First bad revision: 7d383b757d50494cb68ba7b1129d6457765a3314
5:51.96 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=e8b8985aa697ef4dad6ed72957186c658669bc1d&tochange=7d383b757d50494cb68ba7b1129d6457765a3314

Blocks: wayland
Has Regression Range: --- → yes
Has STR: --- → yes
Regressed by: 1546374

Jan, can you look at it? We should respect the left/right popup placement here. Thanks.

Assignee: nobody → jhorak
Flags: needinfo?(jhorak)
Priority: -- → P2
Blocks: wayland-popup
No longer blocks: wayland

I'm having this issue.

Ubuntu 20.10. Gnome 3.38.3. FF 86.0 (64-bit).

Sliding arrow is not moved under wayland: https://searchfox.org/mozilla-central/source/layout/xul/nsMenuPopupFrame.cpp#1601 We could revisit the code to look for opportunities how to reintroduce the code in wayland.

Flags: needinfo?(jhorak)

Can you please test latest nightly under Wayland? A new popup handling code landed there.
Thanks.

Please re-test with new nightly as it gets another popup fixes.
Thanks.

Technically, with the new design, there is no popover arrow. But, the menus still seem to be offset too much. 91.0a1 (2021-06-16) (64-bit).

(In reply to Ari from comment #6)

Technically, with the new design, there is no popover arrow. But, the menus still seem to be offset too much. 91.0a1 (2021-06-16) (64-bit).

Can you attach a screenshot of it?
Thanks.

Flags: needinfo?(ari.birnbaum)

Sure thing, here is a screenshot.

Screenshot

Please keep me posted if you need anything else.

Flags: needinfo?(ari.birnbaum)

I see. I think we use wrong (too big) anchor here.

No longer blocks: wayland-popup
Assignee: jhorak → stransky
Blocks: wayland-popup
No longer blocks: wayland-nightly

With proton theme the anchor arrow are not painted any more so we can close it.

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

Attachment

General

Creator:
Created:
Updated:
Size: