Closed
Bug 312896
Opened 19 years ago
Closed 19 years ago
tab strip should not respond to double click in space above and below tabs
Categories
(Firefox :: Tabbed Browser, defect, P3)
Firefox
Tabbed Browser
Tracking
()
RESOLVED
FIXED
Firefox 2 alpha1
People
(Reporter: beltzner, Assigned: Gavin)
References
Details
(Keywords: fixed1.8.1)
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
mconnor
:
review+
mconnor
:
approval1.8.1+
|
Details | Diff | Splinter Review |
There is a small area in the tab strip both above (about 5px) and below (about
2px) tabs which responds to a double-click event by opening a new tab. This can
lead to unexpected behaviour where new (blank) tabs open and steal UI focus:
- user tries to select a tab
- user misses and clicks in area above/below tab
- user tries a second click, opening a new tab
These areas shouldn't respond to the double-click accelerator for creating new tabs.
Assignee | ||
Comment 1•19 years ago
|
||
Quick hack: change (localName != "toolbarbutton") to (localName == "spacer") in
onTabBarDblClick. The double click handler really should just be on the spacer.
Comment 2•19 years ago
|
||
This is pretty much a dup of bug 218701. I'm not marking it as such because
Gavin's fix would fix other bugs (not the same bugs that fixing bug 218701 would
fix).
Reporter | ||
Comment 3•19 years ago
|
||
I think you're being too generous - this seems like a full on dupe to me! But
I'll take your word for it.
Updated•19 years ago
|
Assignee: nobody → gavin.sharp
Version: 1.5 Branch → Trunk
Assignee | ||
Updated•19 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P3
Assignee | ||
Comment 4•19 years ago
|
||
This seems to work, but it makes tabbrowser depend on a certain implementation of tabbox... which I don't think is a good idea.
Comment 5•19 years ago
|
||
I'm not sure why we need interchangeable tabbox bindings, really. I'm pretty sure that we make plenty of assumptions about the nature of the tabbox we're using.
Assignee | ||
Comment 6•19 years ago
|
||
Attachment #201390 -
Attachment is obsolete: true
Attachment #201471 -
Flags: review?
Assignee | ||
Updated•19 years ago
|
Attachment #201471 -
Flags: review? → review?(mconnor)
Assignee | ||
Updated•19 years ago
|
Whiteboard: [patch-r?]
Comment 7•19 years ago
|
||
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/experimental/tabs/
http://weblogs.mozillazine.org/ben/archives/009210.html 11/3/05
doesn't even allow for "doubleclick on tab bar=new tab" anymore...
but it's not an official build though
Updated•19 years ago
|
Attachment #201471 -
Flags: review?(mconnor) → review+
Assignee | ||
Comment 8•19 years ago
|
||
Checked in on the trunk.
mozilla/toolkit/content/widgets/tabbrowser.xml; new revision: 1.125;
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Flags: blocking-aviary2?
Resolution: --- → FIXED
Whiteboard: [patch-r?]
Target Milestone: --- → Firefox1.6-
Assignee | ||
Updated•19 years ago
|
Attachment #201471 -
Flags: approval1.8.1?
Updated•19 years ago
|
Attachment #201471 -
Flags: approval1.8.1? → approval1.8.1+
Updated•19 years ago
|
Flags: blocking-firefox2? → blocking-firefox2+
Assignee | ||
Comment 9•19 years ago
|
||
Checked in on the 1.8 branch for Firefox 2.
mozilla/toolkit/content/widgets/tabbrowser.xml; new revision: 1.103.2.15;
Assignee | ||
Updated•19 years ago
|
Keywords: fixed1.8.1
Assignee | ||
Updated•19 years ago
|
Target Milestone: Firefox 2 → Firefox 2 alpha1
You need to log in
before you can comment on or make changes to this bug.
Description
•