Closed Bug 1770151 Opened 3 years ago Closed 3 years ago

[Wayland] Resize loop with select element bigger than the screen.

Categories

(Core :: Widget: Gtk, defect)

defect

Tracking

()

VERIFIED FIXED
102 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox100 --- unaffected
firefox101 --- verified
firefox102 --- verified

People

(Reporter: emilio, Assigned: emilio)

References

(Depends on 1 open bug, Blocks 2 open bugs, Regression)

Details

(Keywords: regression)

Attachments

(2 files)

STR:

  • Open bug 1770132's test-case.
  • Hover over the select menu when open.

ER:

  • Stable layout

AR: Flickering.

Constraining only the pref size is almost fine. We also need to
constrain the anchor size when we're sized to the popup.

Comment on attachment 9277296 [details]
Bug 1770151 - Constrain size for Wayland on SetPopupPosition if needed. r=stransky

Beta/Release Uplift Approval Request

  • User impact if declined: Flickering on some linux configurations.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • 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): Wayland-specific, truncates in two places instead of one, only when the popup is too big.
  • String changes made/needed: none
  • Is Android affected?: No
Attachment #9277296 - Flags: approval-mozilla-beta?
Flags: qe-verify+

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

Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9e7c26a560dc Constrain size for Wayland on SetPopupPosition if needed. r=stransky
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
QA Whiteboard: [qa-triaged]
Has Regression Range: --- → yes

Comment on attachment 9277296 [details]
Bug 1770151 - Constrain size for Wayland on SetPopupPosition if needed. r=stransky

Approved for 101.0rc1.

Attachment #9277296 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Hello,

Unfortunately we could not find any flickering on the testcase.
We have tested the scenario on Ubuntu 20 with Wayland, on all themes and combinations (Light, Standard, Dark with and without High Contrast).

Could you please help us with more information about the configuration about the environment?

Please observe the attached video.

You need to open Firefox with Wayland backend (MOZ_ENABLE_WAYLAND=1).
The first button is a dropdown, you need to open it. The dropdown was the thing that flickered.
It doesn't flicker anymore for me.

The dropdown stretches across the whole screen in Nightly, but only across the window in Chromium. Is that expected?

Yes.

Status: RESOLVED → VERIFIED

Verified on Nightly 102 from 23 May 2022 and on 101.0 Firefox.

Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: