Open Bug 1774560 Opened 2 years ago Updated 5 months ago

[Windows] Hovering on any taskbar items triggers visibilitychange

Categories

(Core :: Widget: Win32, defect, P3)

Firefox 101
defect

Tracking

()

Tracking Status
firefox-esr91 --- unaffected
firefox-esr102 --- wontfix
firefox102 --- wontfix
firefox103 --- wontfix
firefox104 --- wontfix

People

(Reporter: peacech, Unassigned)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Steps to reproduce:

  1. Run firefox
  2. Open developer tools console in a popup window
  3. Paste window.addEventListener('visibilitychange', () => console.log(document.visibilityState));
  4. Switch to another application which have maximized window to make the firefox window hidden (but not minimized).
  5. Hover on any icons in the taskbar
  6. The console will log hidden/visible even though the visiblity of the firefox windows does not change

This only happens if widget.windows.window_occlusion_tracking.enabled = true.
This does not happen if firefox window is minimized.

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:101.0) Gecko/20100101 Firefox/101.0

Actual results:

Hovering on any taskbar items when the firefox window is hidden but not minimized triggers visiblitychange.

Expected results:

visiblitychange should not be triggered when hoving on taskbar items while firefox window is hidden.

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Win32' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Win32
Product: Firefox → Core

Presumably regressed by bug 1732736.

Severity: -- → S3
Priority: -- → P3
Regressed by: 1732736

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

:sotaro, since you are the author of the regressor, bug 1732736, could you take a look?
For more information, please visit auto_nag documentation.

Flags: needinfo?(sotaro.ikeda.g)

The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.

Status: UNCONFIRMED → NEW
Ever confirmed: true

I confirmed the problem during hovering on the occluding window's icon in the taskbar. The same thing happened also with chrome browser.

Flags: needinfo?(sotaro.ikeda.g)
Blocks: 1688997

:sotaro to clarify, are there any actionable item left here or any next steps?

Flags: needinfo?(sotaro.ikeda.g)
You need to log in before you can comment on or make changes to this bug.