Closed
Bug 403962
Opened 17 years ago
Closed 17 years ago
[FIX]TabSidebar extension and tabbar drag and drop and reordering is broken
Categories
(Core :: XBL, defect, P1)
Core
XBL
Tracking
()
RESOLVED
FIXED
People
(Reporter: Peter6, Assigned: bzbarsky)
References
Details
(Keywords: dogfood, regression)
Attachments
(1 file)
10.92 KB,
patch
|
sicking
:
review+
sicking
:
superreview+
|
Details | Diff | Splinter Review |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2pre) Gecko/2007111510 Minefield/3.0b2pre ID:2007111510 repro: Open FF Install TabSidebar (http://www.oxymoronical.com/web/firefox/TabSidebar/development) open a few tabs try to drag and drop, focus a tabs that's 1/2 in view. result: broken or partially broken. regressionrange: http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=PhoenixTinderbox&branch=HEAD&branchtype=match&filetype=match&whotype=match&sortby=Date&hours=2&date=explicit&mindate=1195141620&maxdate=1195147439&cvsroot=%2Fcvsroot bug 372323 , bug 400794 or bug 401569
Assignee | ||
Comment 1•17 years ago
|
||
I'm not following the steps to reproduce here. What should I be dragging? Where? Should the sidebar be open or closed?
Assignee | ||
Comment 2•17 years ago
|
||
Nevermind. I think I see where the issue might be.
Assignee | ||
Comment 3•17 years ago
|
||
So this should be a regression from bug 372323.
Blocks: 372323
Component: General → XBL
OS: Windows XP → All
QA Contact: general → xbl
Hardware: PC → All
Assignee | ||
Comment 4•17 years ago
|
||
Jonas, the issue here is that the tabstrip binding sorta looks like this: <content> <arrowscrollbox> <children/> </arrowscrollbox> </content> and the arrowscrollbox node has its own binding and its own insertion point. With the patch for bug 372323, we found the arrowscrollbox as the single insertion point for the tabstrip, then proceed to stick the new tabs (which are coming through ContentAppended()) in there instead of digging into the nested insertion point like we used to. This patch just makes us look for a nested single insertion point (that is, makes sure that nesting all the way down through our insertion point chain none of them have bindings with a multiple insertion point). The testcase is just a version of the bug 372323 testcase that has a binding with a single insertion point, but that node has a binding with multiple insertion points attached to it. Without this patch, we get the disappearing-content issue of bug 372323 on this testcase.
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #288964 -
Flags: superreview?(jonas)
Attachment #288964 -
Flags: review?(jonas)
Assignee | ||
Comment 5•17 years ago
|
||
reed says this also fixes mousewheel scrolling in the Firefox tabbar (which is what I was debugging this with anyway, more or less).
Flags: blocking1.9?
Summary: TabSidebar extension drag and drop is broken → [FIX]TabSidebar extension drag and drop is broken
Comment 9•17 years ago
|
||
Tab drag&drop is also broken for the ordinary tab bar, so this broke multiple areas of our tabbing UI.
Severity: normal → major
Priority: -- → P1
Comment 10•17 years ago
|
||
Comment on attachment 288964 [details] [diff] [review] Likely fix Patch also fixes the drag&drop issues with the ordinary tab bar. Tested with local debug build in clean profile.
Reporter | ||
Updated•17 years ago
|
Summary: [FIX]TabSidebar extension drag and drop is broken → [FIX]TabSidebar extension and tabbar drag and drop and reordering is broken
Comment 12•17 years ago
|
||
Per the dupe (bug 404184), this also breaks keyboard navigation of tabs.
Comment 13•17 years ago
|
||
Will this patch also solve the same issue as happens with drag&drop with "Undo Close Tab" that the tab reappears either at position 2 or at the end?
Assignee | ||
Comment 14•17 years ago
|
||
Probably, but if someone wants to test go for it!
Attachment #288964 -
Flags: superreview?(jonas)
Attachment #288964 -
Flags: superreview+
Attachment #288964 -
Flags: review?(jonas)
Attachment #288964 -
Flags: review+
Comment 15•17 years ago
|
||
The patch doesn't fix the tab-switching shortcuts (Cmd+Alt+Left, Cmd+Alt+Right) for me.
Assignee | ||
Comment 16•17 years ago
|
||
Hmm. Ctrl+pgup/pgdown works for me on Linux with and without this patch... Are we sure this bug is the issue with the Mac tab switching?
Comment 17•17 years ago
|
||
I reopened bug 404184, it appears to be unrelated (caused by another patch).
Assignee | ||
Comment 18•17 years ago
|
||
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•17 years ago
|
Flags: in-testsuite+
Reporter | ||
Comment 19•17 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2pre) Gecko/2007112005 Minefield/3.0b2pre ID:2007112005 VERIFIED for TabSidebar/Tabbar as far as I can see
You need to log in
before you can comment on or make changes to this bug.
Description
•