Closed
Bug 371488
Opened 19 years ago
Closed 19 years ago
tab close button hover effect can persist/become locked when closing a tab
Categories
(Camino Graveyard :: Tabbed Browsing, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: alqahira, Assigned: stuart.morgan+bugzilla)
Details
(Keywords: fixed1.8.1.5)
Attachments
(1 file)
|
757 bytes,
patch
|
mikepinkerton
:
superreview+
|
Details | Diff | Splinter Review |
I think this is the odd hover bug I mentioned the other day. At least I hope we only have one of them!
STR:
1. Open 4 tabs
2. Make the leftmost tab active
3. Hover over the close button of tab #3
4. Cmd-W
Actual: Close button of second tab (originally tab #3) has hover effect, even though it is not hovered. Close button of rightmost tab (originally tab #4) also has the hover effect if you haven't moved the mouse (because the pointer *is* actually hovering over that close button at the moment). Also, the hover effect is "stuck" on second tab until you mouse over it or switch windows/apps.
Expected: hover effect only on close button currently under pointer
Comment 1•19 years ago
|
||
Yep, I can repro that on 1.1b1 too. (Works with >4 tabs, too.)
Tracking rects 4, Camino 0?
| Assignee | ||
Comment 2•19 years ago
|
||
That's odd, the code looks like it should handle that case. I'll walk through in a debugger when I have a chance and see if I can figure out where it's getting confused.
| Reporter | ||
Comment 3•19 years ago
|
||
I've got one stuck hover right now that appeared after adding or changing tabs (all overflown tabs), not closing one, so there must be another version of this out there, too :(
| Reporter | ||
Comment 4•19 years ago
|
||
I just had this happen again in the non-tab-closing case, and I think maybe a tooltip (either on the tab, or from content—I was on a wiki, and a number of the topmost links have tooltips) was active or disappearing right around the time the hover became stuck.
| Reporter | ||
Comment 5•19 years ago
|
||
I saw this again last night right about when the Keychain authorisation dialogue popped up, so I wonder if the others I saw were related to tooltips (and this is a sort of "child window grabs focus" issue)?
| Reporter | ||
Comment 6•19 years ago
|
||
Here's a different STR:
Move your mouse (rather quickly) up from content over the close button and on up into the menubar. There's a timing-related bit to it, but with a bit of trial-and-error, I got all 8 close buttons hover-stuck. It's like playing Space Invaders or something.
In the process of playing, it looked like one or two might have gotten stuck on moves that terminated in the toolbar or bookmark bar (before I moved back down in, accidentally unsetting them, since I was using an up-and-down repetition pattern), but I'm pretty tired so I might be seeing things.
| Assignee | ||
Comment 7•19 years ago
|
||
This will fix most, if not all, of the cases that get it stuck. It certainly fixes comment 0, and the similar case that happens with mouse-wheel tab scrolling.
We never want the hover image to stay set when tracking rects disabled, and that was happening sometimes because of the optimizations that removed tracking rects on close buttons in non-hovered tabs.
Assignee: nobody → stuart.morgan
Status: NEW → ASSIGNED
Attachment #265397 -
Flags: superreview?(mikepinkerton)
Comment 8•19 years ago
|
||
Comment on attachment 265397 [details] [diff] [review]
fix
sr=pink
Attachment #265397 -
Flags: superreview?(mikepinkerton) → superreview+
| Assignee | ||
Comment 9•19 years ago
|
||
Landed on trunk and MOZILLA_1_8_BRANCH.
If there are still other ways this happens, lets put them in new bugs.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Keywords: polish → fixed1.8.1.5
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•