Closed Bug 1611689 Opened 4 years ago Closed 4 years ago

Text in Search Bar are deleted after exit DOM FullScreen

Categories

(Firefox :: Toolbars and Customization, defect, P1)

71 Branch
Desktop
All
defect
Points:
1

Tracking

()

VERIFIED FIXED
Firefox 74
Iteration:
74.2 - Jan 20 - Feb 09
Tracking Status
firefox-esr68 --- unaffected
firefox72 --- wontfix
firefox73 --- verified
firefox74 --- verified

People

(Reporter: alice0775, Assigned: dao)

References

(Blocks 2 open bugs, Regression)

Details

(Keywords: nightly-community, regression)

Attachments

(1 file)

Reproducible: always

Steps to reproduce:

  1. Enable Search Bar
  2. Type something in the Search Bar
  3. Open any video
  4. Enter DOM FullScreen and exit DOM FullScreen

Actual Results:
Text in Search Bar are deleted

Expected Results:
The text should be retained

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=ac5fc1e491a2bb5481d47247bea3c2b22318001c&tochange=517c9efa9592ad0c103ec2542e4bc7fcaf06c505

No longer regressed by: 1176233
Has Regression Range: --- → yes

Dão, why do we even end up moving things into the overflow when we enter dom fullscreen? Seems like if we avoid that, we could fix bug 1601706 and bug 1607810 for now (though the symptoms there may be fixable otherwise, too).

Flags: needinfo?(dao+bmo)
Component: Untriaged → Search

(In reply to :Gijs (he/him) from comment #1)

Dão, why do we even end up moving things into the overflow when we enter dom fullscreen?

We get a resize event and then we get bogus overflow info (because this._toolbar.clientWidth is 0 I think).

Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Iteration: --- → 74.2 - Jan 20 - Feb 09
Points: --- → 1
Component: Search → Toolbars and Customization
Flags: needinfo?(dao+bmo)
OS: Windows 10 → All
Priority: -- → P1
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/59c7ac9564d8
Make OverflowableToolbar::_checkOverflow return early in DOM fullscreen mode. r=Gijs
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 74

Reproduced with Nightly74.0a1 (20200128092639) Windows10.
And the issue is verified fixed with Nightly74.0a1 (20200128214036) Windows10.

Status: RESOLVED → VERIFIED
Blocks: 1612065

Could you please nominate this for Beta to fix this bug, bug 1601706 and bug 1607810?

Flags: needinfo?(dao+bmo)

Comment on attachment 9123322 [details]
Bug 1611689 - Make OverflowableToolbar::_checkOverflow return early in DOM fullscreen mode. r=gijs

Beta/Release Uplift Approval Request

  • User impact if declined: see comment 0
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: see 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): Quite simple fix
  • String changes made/needed:
Flags: needinfo?(dao+bmo)
Attachment #9123322 - Flags: approval-mozilla-beta?
Flags: qe-verify+
QA Whiteboard: [qa-triaged]

Comment on attachment 9123322 [details]
Bug 1611689 - Make OverflowableToolbar::_checkOverflow return early in DOM fullscreen mode. r=gijs

Fixes some regressions with DOM fullscreen mode. Approved for 73.0RC1.

Attachment #9123322 - Flags: approval-mozilla-beta? → approval-mozilla-release+

I can confirm this issue is fixed, I verified using Firefox 73.0 on Win 8.1 x64, macOS 10.14 and Ubuntu 18.04 x64.

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

Attachment

General

Created:
Updated:
Size: