Open Bug 1353764 Opened 8 years ago Updated 3 years ago

Tooltip from Firefox stays even after closing tab and switching to another application

Categories

(Core :: XUL, defect)

53 Branch
All
Windows
defect

Tracking

()

Tracking Status
firefox52 --- unaffected
firefox53 --- wontfix
firefox54 --- fix-optional
firefox55 --- wontfix
firefox56 --- wontfix
firefox57 --- wontfix

People

(Reporter: 684sigma, Unassigned)

References

Details

(Keywords: regression)

I have a problem with Firefox Beta 53. It also happens in Nightly 55. Doesn't happen in Beta 52, ESR 45. Sometimes tooltip from Firefox stays visible after switching to another applications. I noticed it when closed tab once. It only happens with pref browser.tabs.animate set to false. 1. Open about:config, set browser.tabs.animate to false 2. Open new window. Open new tab 3. Hover mouse over the right side of the tab, wait until tooltip appears, press Ctrl+W 4. Switch to another maximized application (Alt+Tab) Result: tooltip from Firefox is displayed above another application Expected: tooltip should disappear
Has STR: --- → yes
Keywords: regression
Regression range: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=a3978751f45108ff1ae002ecebdc0fa23fc52b84&tochange=bde3fc40b9b55435d989393d659a60f46b54fd72 a12e66cb7bc2 Neil Deakin — Bug 1327908, on Windows, don't hide tooltips when a key is pressed. On other platforms, allow hiding tooltips when a key is pressed except when modifier keys are pressed alone, r=felipe
Blocks: 1327908
Severity: normal → minor
Status: UNCONFIRMED → NEW
Has Regression Range: --- → yes
Ever confirmed: true
OS: Unspecified → Windows
Hardware: Unspecified → All
There're other scenarios that don't involve browser.tabs.animate, for example: 1. Open new window. 2. Execute this code in console: "onclick = () => {W = window.open(); setTimeout(()=>W.close(),5000);}" 3. Click on the page, hover mouse over the right side of the opened tab, wait until it closes itself (tooltip remains) 4. Switch to another maximized application (Alt+Tab) Result: tooltip from Firefox is displayed above another application Expected: tooltip should disappear It has the same regression range.
Summary: Tooltip from Firefox stays even after closing tab and switching to another application (browser.tabs.animate set to false) → Tooltip from Firefox stays even after closing tab and switching to another application
Neil, want to look at this? I don't know what component it should be in any more than with bug 1327908.
So one issue here here is that the tooltip should close when the tab is closed. We should just allow tooltips to use the features added by bug 1109868, and have the tooltip close when its target disappears. For the other issue of tooltips staying when a maximized window is switched to, I think it would be easiest here to just close any tooltips when the window is deactivated, rather than try to emulate the specific behaviour that Windows uses.
Flags: needinfo?(enndeakin)
Tooltips issues seem to be triaged into Firefox - Tabbed browser component. But since this implies switching to another window, I'm gonna risk and move this to Core - Widget: Win32. Please correct me if I'm wrong.
Component: Untriaged → Widget: Win32
Product: Firefox → Core
Neil, where do you think this belongs? Unless this is in our popup rollup code, it's probably something else, maybe toolkit?
Flags: needinfo?(enndeakin)
Component: Widget: Win32 → XUL
Flags: needinfo?(enndeakin)
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.