Open Bug 1908666 Opened 1 year ago Updated 1 year ago

Tab hover preview still visible with context menu opened in certain conditions

Categories

(Firefox :: Tabbed Browser, defect, P3)

Desktop
All
defect

Tracking

()

REOPENED
130 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- disabled
firefox128 --- disabled
firefox129 --- wontfix
firefox130 --- affected

People

(Reporter: bmaris, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Attachments

(3 files)

Attached image Gif showing the issue

Found in

  • Latest Nightly 130.0a1

Affected versions

  • Latest Nightly 130.0a1

Tested platforms

  • Affected platforms: Windows 11 and Ubuntu 22.04
  • Unaffected platforms: MacOS 13.6

Preconditions

  • Set browser.tabs.hoverPreview.enabled as true if not already set.

Steps to reproduce

  1. Open a few tabs
  2. Restart the browser
  3. Right click on the pocket button and hover over the tabs

Expected result

  • The preview is not shown when context menu is opened

Actual result

  • The tab hover preview is shown

Regression range

  • Not sure yet if this is a regression or not, will check ASAP.

Additional notes

  • I noticed that this only happens only once after the browser starts/restarts, I was not able to reproduce it in the same session more than once.
Assignee: nobody → jswinarton
Pushed by jswinarton@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b5403dec7aed Prevent THP from opening when other panel is animating r=dwalker,tabbrowser-reviewers

Jeremy says we don't need to uplift to Beta 129.

Priority: -- → P1
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
Attached image Gif showing the issue 2

This is still reproducible, now it's a bit worse since the hover will still be on even after navigating to any tabs.
The panel will be dismissed after clicking on a tab 2 times.
Build used: https://treeherder.mozilla.org/jobs?repo=mozilla-central&revision=ef22d470bb62b9898059a38214c0b95923d74e7c

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Interesting, this seems to only affect context menus (as opposed to panels) on Windows, because the attribute we check for on panel instantiation is absent on Windows for some reason. I opened bug1909694 to track this.

We only rely on checking for this attribute on the first load of THP (which is lazy-loaded) -- after initialization we can listen for events on other panels and context menus. This is the reason why this can only happen the first time that a tab is hovered over in a session.

Given that this is only possible to invoke in a very small corner case, is it necessary to track this as a P1? This feel more like P3 territory imo.

Flags: needinfo?(bmaris)
Depends on: 1909694

We as QA don't set priorities to bugs, we only set the severity (which on its own is debatable, in this case S4 since it's kind of an edge case), engineering sets the priority of the bugs. But I agree that this is a corner case since its happening only once at the start of a session.

Flags: needinfo?(bmaris)
Assignee: jswinarton → nobody
Priority: P1 → P3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: