Closed Bug 1883337 Opened 1 year ago Closed 1 year ago

Firefox View websites in window cannot be browsed anymore after following specific steps

Categories

(Firefox :: Firefox View, defect, P1)

Firefox 124
Desktop
All
defect

Tracking

()

VERIFIED FIXED
125 Branch
Tracking Status
firefox124 --- wontfix
firefox125 --- verified

People

(Reporter: csasca, Assigned: kcochrane)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-firefox-view])

Attachments

(3 files)

Attached video media indicator.webm

Found in

  • Firefox 124.0b6

Affected versions

  • Firefox 124.0b6
  • Firefox 125.0a1

Tested platforms

  • Affected platforms: Ubuntu 22.04, macOS 13.6.4, Windows 10

Precondition

  • Have multiple windows with ongoing media from Youtube

Steps to reproduce

  1. Restart Firefox after setting up the precondition
  2. Access Open Tabs in Firefox View
  3. Tab through the websites in the Window list
  4. Select a media indicator and press space/enter

Expected result

  • The media icon mutes/unmutes (depends on the case)

Actual result

  • The media icon disappears, focus is lost and the websites on that respective window cannot be browsed anymore by keyboard

Additional notes

  • The issue can be seen in the attachment
  • Autoplay is blocking the websites from starting after a restart, so maybe there shouldn't be any media indicator in these cases? (some Youtube sessions will retain the indicator and some don't, as seen in the attachment too).
Summary: Firefox View websites lists are sometimes not rendered after page refreshes → Firefox View websites in window cannot be browsed anymore after following specific steps
Assignee: nobody → kcochrane
Status: NEW → ASSIGNED
Priority: -- → P1
Pushed by kcochrane@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c23d6a5f066e Ensure focus is moved when mute/unmute button is removed in Fx View r=fxview-reviewers,nsharpley,jsudiaman

Comment on attachment 9389155 [details]
Bug 1883337 - Ensure focus is moved when mute/unmute button is removed in Fx View

Beta/Release Uplift Approval Request

  • User impact if declined: Focus will be lost on Open Tabs in Fx View if they mute/unmute a tab using the keyboard
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: * Mute a tab that does NOT have sound playing. It can be anything really as long as sound is not playing.
  • Unmute the tab using the keyboard by tabbing to the list, then using arrow keys to select the Unmute button and hit Enter or Space
  • Once the mute/unmute button is removed from the row, ensure that focus has been moved to the right (secondary/more button) unless using RTL
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Modifies one method in fxview-tab-list.mjs and adds a test to prevent this issue from reoccurring
  • String changes made/needed: N/A
  • Is Android affected?: No
Attachment #9389155 - Flags: approval-mozilla-beta?
Flags: qe-verify+

Backed out for causing bc failures on browser_opentabs_pinned_tabs.js

Backout link

Push with failures

Failure log

Flags: needinfo?(kcochrane)
Pushed by kcochrane@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/adf17fc47c84 Ensure focus is moved when mute/unmute button is removed in Fx View r=fxview-reviewers,nsharpley,jsudiaman
Flags: needinfo?(kcochrane)
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
QA Whiteboard: [qa-triaged]

:kochrane this doesn't graft cleanly to beta because some of these tests (browser_tab_list_keyboard_navigation.js, browser_opentabs_pinned_tabs.js) don't exist in beta yet. They seem to have been added by bug 1857298 and bug 1849175 for fx125.
When was this regressed? given that it is an S4, this might be better to ride the trains with 125... thoughts?

Flags: needinfo?(kcochrane)

We were about to verify the fix for this but it seems that a regression was introduced in 125.0a1 (2024-03-06) on all platforms, in which only by tabbing through an ongoing media website in Open tabs will automatically mute/unmute the tab. see attachment

Comment on attachment 9389155 [details]
Bug 1883337 - Ensure focus is moved when mute/unmute button is removed in Fx View

This looks like it might not be affecting 124 based on QA comment

Attachment #9389155 - Flags: approval-mozilla-beta? → approval-mozilla-beta-

Comment on attachment 9389155 [details]
Bug 1883337 - Ensure focus is moved when mute/unmute button is removed in Fx View

Yeah let's go ahead and cancel the uplift request for 124 please. Confirmed with :sclements.

:csasca, Could we write up this new issue/regression as a new bug when you get the chance, since this one has already had stuff land to central, and this bug was resolved as fixed? We can mark it as a regression of this bug. Thanks!

Flags: needinfo?(kcochrane)
Flags: needinfo?(dsmith)
Flags: needinfo?(csasca)

its cancelled. ill leave the NI for :csasca to follow up on the regression

Flags: needinfo?(dsmith)

I believe 124 is still affected by this original bug, but since severity was set to S4, we agreed we can just let it ride the trains with 125.

Logged Bug 1884322 for the regression. Thanks!

Flags: needinfo?(csasca)

We looked over verifying the fix for the initial issue but it seems it does still reproduce on latest Nightly (see attachment). Window 2 will still let me browse between the websites, but Window 1 will not, as soon as the media icon disappears.

Flags: needinfo?(kcochrane)

Hi, :csasca, I'm not able to reproduce with Nightly version 125.0a1 (2024-03-08). Was it possible you weren't updated to the latest version?

Flags: needinfo?(kcochrane) → needinfo?(csasca)

Yep, just tried on Firefox 125.0a1 (2024-03-10) after Bug 1884322 was fixed and it seems that the issue is no longer reproducing. Tests were performed on macOS 13.6.5, Windows 11 and Ubuntu 23.10. Thanks Kelly!

Status: RESOLVED → VERIFIED
Flags: qe-verify+
Flags: needinfo?(csasca)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: