Closed Bug 1902254 Opened 3 months ago Closed 3 months ago

The panel glitches when resized to the edge of the screen on Ubuntu22 + wayland window protocol

Categories

(Firefox :: Translations, defect, P2)

Firefox 128
Desktop
Linux
defect

Tracking

()

VERIFIED FIXED
129 Branch
Tracking Status
firefox-esr115 --- disabled
firefox127 --- unaffected
firefox128 --- verified
firefox129 --- verified

People

(Reporter: danibodea, Assigned: nordzilla)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Note

  • When the user triggers the Translations panel with a large paragraph, then grabs the resizer and enlarges the panel to the edge of the screen, he will notice that the panel glitches and the resizing process gets broken.

Found in

  • Beta v128.0b2

Affected versions

  • Nightly v129.0a1
  • Beta v128.0b2

Tested platforms

  • Affected platforms: Ubuntu 22 + wayland
  • Unaffected platforms: Ubuntu22+X11, Windows10, MacOS11

Steps to reproduce

  1. Launch the browser.
  2. Maximize the window.
  3. Ensure Select Translations feature is enabled
    browser.translations.select.enable = true
  4. Load a webpage displayed in a different language than the browser
    https://fr.wikipedia.org/wiki/Wikip%C3%A9dia:Accueil_principal
  5. Right-click, Select All
  6. Right-click, Translate selection to English
  7. Grab the resizer and drag it to the bottom of the screen.

Expected result

  • The resizing works correctly, no glitching observed, resizing is blocked before the edge of the screen.

Actual result

  • The panel glitches and the resizing process becomes broken.
  • If the panel is opened in "flip mode", the panel glitches and moves up.

Regression range

Additional notes

Blocks: 1870363
Severity: -- → S3
Keywords: regression
OS: Unspecified → Linux
Regressed by: 1900127
Hardware: Unspecified → Desktop
See Also: → 1894575, 1894935
Summary: The panel glitches when resized to the edge of the screen on Ubuntu22 → The panel glitches when resized to the edge of the screen on Ubuntu22 + wayland window protocol

:nordzilla, since you are the author of the regressor, bug 1900127, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(enordin)
Flags: needinfo?(enordin)
Priority: -- → P2

Increases the buffer kept between the bottom edge of the
panel and the bottom of the screen or window to be relative
to 1/5 of the panel's starting height upon open, rather than
an arbitrarily set 20 pixels.

Assignee: nobody → enordin
Status: NEW → ASSIGNED
Pushed by enordin@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dea9a93bec2b Increase SelectTranslationsPanel resize buffer r=ohall,translations-reviewers
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch

The patch landed in nightly and beta is affected.
:nordzilla, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox128 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(enordin)

Yes, I will be requesting uplift for this.

Flags: needinfo?(enordin)

Increases the buffer kept between the bottom edge of the
panel and the bottom of the screen or window to be relative
to 1/5 of the panel's starting height upon open, rather than
an arbitrarily set 20 pixels.

Original Revision: https://phabricator.services.mozilla.com/D213589

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

This fix has been verified in Nightly v129.0a1 on Ubuntu 22 + wayland window protocol.
The glitch is not longer reproducing.
The fix will land in beta v128.0b5 and will be verified when available.

This fix has also been verified in Beta v128.0b5 in Ubuntu22 + wayland and a regression test was performed on Ubuntu22+X11 to make sure is works as intended. Thank you.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: