Open Bug 1723644 Opened 3 years ago Updated 1 year ago

Middle mouse scroll state (scroll icon) is retained across tabs when a tab closes

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P3)

Firefox 90
Desktop
Unspecified
defect

Tracking

()

UNCONFIRMED

People

(Reporter: a1234686809, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36

Steps to reproduce:

  • press the middle mouse button (when there is a scrollbar)
  • the scroll icon will apear (IT SHOULD NOT! IT SHOULD ONLY APPEAR WHEN THE MOUSE MOVES)
  • (Optional step: release middle mouse - mouseup. Mouseup does not cancel the state if the next step happens!)
  • close the tab/window programmatically eg. window.close() triggered on mousedown or mouseup
  • The middle mouse scroll state and icon is retained on the new window

Actual results:

  • The middle mouse scroll state and icon is retained on the new tab/window and will block a mouse button event on that window.

Expected results:

  • The middle mouse scroll state should have been reset/cancelled. The scroll state of a tab/window should not ever affect another tab/window!
Hardware: Unspecified → Desktop

The Bugbug bot thinks this bug should belong to the 'Core::DOM: UI Events & Focus Handling' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → DOM: UI Events & Focus Handling
Product: Firefox → Core

See this is why we use Chrome. No bugs.
This is just going to be ignored.

When autoscroll is enabled, the icon should be shown when middle-clicking.

But yes, the icon should be hidden if window is closed.

Severity: -- → S3
Priority: -- → P3
See Also: → 1190126
You need to log in before you can comment on or make changes to this bug.