Closed
Bug 986920
Opened 12 years ago
Closed 12 years ago
[Windows Classic] New tab button stealing focus from unselected tabs
Categories
(Firefox :: Theme, defect)
Tracking
()
VERIFIED
FIXED
Firefox 31
People
(Reporter: thalesplsantos, Assigned: mconley)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Whiteboard: [Australis:P3])
Attachments
(1 file, 1 obsolete file)
|
1.40 KB,
patch
|
Gijs
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:31.0) Gecko/20100101 Firefox/31.0 (Beta/Release)
Build ID: 20140322030204
Steps to reproduce:
Using Windows Classic theme, when you hover over the rightmost unselected tab (next to the new tab button), new tab button takes focus when the cursor is still over the unselected tab's close button.
Bug 978752 - "Tab strip gradient is broken in customization mode on Windows XP in classic mode" introduced some z-index layering to tabs and new tab button, and I think that's the origin of the problem. I used
main-window[tabsintitlebar]:not([sizemode=fullscreen]) .tabbrowser-tab:not([selected=true]) {
z-index: 2 !important;
}
#main-window[tabsintitlebar]:not([sizemode=fullscreen]) .tabbrowser-tab[selected=true] {
z-index: 3 !important;
}
to set the tabs on higher layers, and it seems to fix the issue.
Updated•12 years ago
|
Blocks: 978752, australis-cust
Status: UNCONFIRMED → NEW
Ever confirmed: true
Whiteboard: [Australis:P3]
Updated•12 years ago
|
Summary: New tab button stealing focus from unselected tabs → [Windows Classic] New tab button stealing focus from unselected tabs
Updated•12 years ago
|
Component: Untriaged → Theme
| Assignee | ||
Comment 1•12 years ago
|
||
Naive patch. Should I put some space between these z-index's for add-ons?
Assignee: nobody → mconley
Status: NEW → ASSIGNED
Attachment #8396490 -
Flags: review?(gijskruitbosch+bugs)
| Assignee | ||
Comment 2•12 years ago
|
||
Comment on attachment 8396490 [details] [diff] [review]
Patch v1
Nope nope nope - this overlaps the selected tab.
Attachment #8396490 -
Flags: review?(gijskruitbosch+bugs)
| Assignee | ||
Comment 3•12 years ago
|
||
So, this appears to be better. Layering seems to be right. Kept my eye on things like the separators and the overflow arrow buttons, and didn't see anything hairy.
As before, I wonder if I should space out the indexes a little bit for add-ons to jam things in between. Open to suggestions there.
Attachment #8396490 -
Attachment is obsolete: true
Attachment #8396602 -
Flags: review?(gijskruitbosch+bugs)
Comment 4•12 years ago
|
||
Comment on attachment 8396602 [details] [diff] [review]
Patch v2
Review of attachment 8396602 [details] [diff] [review]:
-----------------------------------------------------------------
WFM.
Attachment #8396602 -
Flags: review?(gijskruitbosch+bugs) → review+
| Assignee | ||
Comment 5•12 years ago
|
||
Thanks!
remote: https://hg.mozilla.org/integration/fx-team/rev/eefdd02dd206
Whiteboard: [Australis:P3] → [Australis:P3][fixed-in-fx-team]
Comment 6•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P3][fixed-in-fx-team] → [Australis:P3]
Target Milestone: --- → Firefox 31
Comment 7•12 years ago
|
||
Comment on attachment 8396602 [details] [diff] [review]
Patch v2
[Approval Request Comment]
Bug caused by (feature/regressing bug #): Australis! But also, bug 978752
User impact if declined: weird overlap between tabs and new tab button
Testing completed (on m-c, etc.): on m-c
Risk to taking this patch (and alternatives if risky): relatively low, just changes z-indices of the tabs
String or IDL/UUID changes made by this patch: none
Attachment #8396602 -
Flags: approval-mozilla-beta?
Attachment #8396602 -
Flags: approval-mozilla-aurora?
Updated•12 years ago
|
Attachment #8396602 -
Flags: approval-mozilla-beta?
Attachment #8396602 -
Flags: approval-mozilla-beta+
Attachment #8396602 -
Flags: approval-mozilla-aurora?
Attachment #8396602 -
Flags: approval-mozilla-aurora+
Comment 8•12 years ago
|
||
This code needs some documentation. It's not even obvious why .tabs-newtab-button has z-index:1 in the first place, let alone that this is what made you give .tabbrowser-tab a z-index too.
Comment 9•12 years ago
|
||
| Assignee | ||
Comment 10•12 years ago
|
||
(In reply to Dão Gottwald [:dao] from comment #8)
> This code needs some documentation. It's not even obvious why
> .tabs-newtab-button has z-index:1 in the first place, let alone that this is
> what made you give .tabbrowser-tab a z-index too.
Sure, I can add that documentation. Would you mind filing a bug and assigning it to me?
Comment 11•12 years ago
|
||
| not-the-right-rev see-comment-13 | ||
Comment 12•12 years ago
|
||
Reproduced the initial issue on nightly build from 2014-03-23, verified fixed on Windows XP 32bit, Windows 7 32bit/64bit using Firefox 29 beta 4, latest Aurora and latest Nightly.
Status: RESOLVED → VERIFIED
Keywords: verifyme
Comment 13•12 years ago
|
||
It looks like this should be the patch for beta (rather than e24101b952ad):
https://hg.mozilla.org/releases/mozilla-beta/rev/126e650100c6
| Assignee | ||
Comment 14•12 years ago
|
||
Yes, that's correct - thanks mcdavis941.
| Assignee | ||
Comment 15•12 years ago
|
||
Backed out of mozilla-central as https://hg.mozilla.org/integration/fx-team/rev/6a5529e2150d
We landed a better solution in Bug 989761. Back-outs for mozilla-aurora and mozilla-beta will follow once bug 989761 gets uplift approval.
| Assignee | ||
Comment 16•12 years ago
|
||
Ugh - I should have said backed out of fx-team, not mozilla-central. Of course this will get backed out of mozilla-central after merge.
| Assignee | ||
Comment 17•12 years ago
|
||
Backouts:
mozilla-central: https://hg.mozilla.org/mozilla-central/rev/6a5529e2150d
Aurora: https://hg.mozilla.org/releases/mozilla-aurora/rev/a9b6b1a08970
Beta: https://hg.mozilla.org/releases/mozilla-beta/rev/a90a4219b520
This problem was fixed with a different solution in bug 989761.
You need to log in
before you can comment on or make changes to this bug.
Description
•