Closed
Bug 590606
Opened 14 years ago
Closed 14 years ago
Switching among groups always selects the first tab of group
Categories
(Firefox Graveyard :: Panorama, defect, P3)
Firefox Graveyard
Panorama
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: Mardak, Assigned: raymondlee)
References
Details
(Whiteboard: [on-panorama-central])
Attachments
(1 file, 3 obsolete files)
8.76 KB,
patch
|
Dolske
:
review+
dietrich
:
approval2.0+
|
Details | Diff | Splinter Review |
Presing ctrl-` won't go back to the previously selected tab of that group. And if you happen to have an app tab, switching to another group and going to the "previous tab" to the left will hit the bug where selecting the app tab switches to the group.
Comment 1•14 years ago
|
||
app tabs problem is bug 578553. let's keep this one solely on restoring group state.
Depends on: 588217
Comment 2•14 years ago
|
||
this doesn't actually depend on the session restore support. just need to keep flag somewhere saying what the last-active-tab for each group is, and make it active when the group is opened.
No longer depends on: 588217
Comment 3•14 years ago
|
||
this works in the current session, but doesn't persist the data across restarts yet.
Assignee: nobody → dietrich
Attachment #470836 -
Flags: feedback?(ian)
Reporter | ||
Comment 4•14 years ago
|
||
Is the active tab an attribute that only makes sense in the context of Panorama or should it be on xul tabs? I suppose it probably won't be useful for css to match [hidden]:not([active]) tabs differently as they're.. hidden ;)
Comment 5•14 years ago
|
||
I don't think it's going to be useful on xul tabs...
Comment 7•14 years ago
|
||
oops, forgot to qrefresh.
Attachment #470836 -
Attachment is obsolete: true
Attachment #470860 -
Flags: feedback?(ian)
Attachment #470836 -
Flags: feedback?(ian)
Updated•14 years ago
|
Attachment #470836 -
Flags: feedback?(ian)
Comment 8•14 years ago
|
||
weird. the feedback flag looked set on the main bug page, but wasn't in the attachment page.
Comment 9•14 years ago
|
||
Comment on attachment 470860 [details] [diff] [review]
v1
looks good to me. I don't know that it needs to save anyway.
Attachment #470860 -
Flags: feedback?(ian) → feedback+
Comment 10•14 years ago
|
||
Comment on attachment 470860 [details] [diff] [review]
v1
Ok, thanks. Asking for review then, so can push it directly m-c (and t-c if you want).
Will file a separate bug for persisting position across sessions.
Attachment #470860 -
Flags: review?(ian)
Comment 11•14 years ago
|
||
filed bug 593283.
Comment 12•14 years ago
|
||
Comment on attachment 470860 [details] [diff] [review]
v1
canceling request, patch needs test.
Attachment #470860 -
Flags: review?(ian)
Updated•14 years ago
|
Priority: -- → P3
Updated•14 years ago
|
Assignee: dietrich → nobody
Assignee | ||
Comment 13•14 years ago
|
||
Going to write a test for this patch.
Assignee: nobody → raymond
Status: NEW → ASSIGNED
Assignee | ||
Comment 14•14 years ago
|
||
With test
Attachment #470860 -
Attachment is obsolete: true
Attachment #477428 -
Flags: feedback?(ian)
Assignee | ||
Comment 15•14 years ago
|
||
(In reply to comment #14)
> Created attachment 477428 [details] [diff] [review]
> v1
>
> With test
Passed try.
Comment 16•14 years ago
|
||
Comment on attachment 477428 [details] [diff] [review]
v1
+ is(gBrowser.selectedTab, groupItemOne.getChild(1).tab,
+ "The currently selected tab should be the first tab in the groupItemTwo");
The string should read "second tab" rather than "first tab".
F+ with that fixed. Assigning review to Dolske (Dietrich wrote the original patch).
Attachment #477428 -
Flags: review?(dolske)
Attachment #477428 -
Flags: feedback?(ian)
Attachment #477428 -
Flags: feedback+
Assignee | ||
Comment 17•14 years ago
|
||
Fixed the comment suggested by Ian
f+=ian
Attachment #477428 -
Attachment is obsolete: true
Attachment #477941 -
Flags: review?(dietrich)
Attachment #477428 -
Flags: review?(dolske)
Assignee | ||
Updated•14 years ago
|
Attachment #477941 -
Flags: review?(dietrich) → review?(dolske)
Updated•14 years ago
|
Attachment #477941 -
Flags: review?(dolske) → review+
Assignee | ||
Updated•14 years ago
|
Attachment #477941 -
Flags: approval2.0?
Updated•14 years ago
|
Attachment #477941 -
Flags: approval2.0? → approval2.0+
Assignee | ||
Comment 18•14 years ago
|
||
Whiteboard: [on-panorama-central]
Updated•14 years ago
|
Attachment #470836 -
Flags: feedback?(ian) → feedback+
Comment 19•14 years ago
|
||
Landed on mozilla-central:
http://hg.mozilla.org/mozilla-central/rev/151d90b45e46
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 20•14 years ago
|
||
verified with recent nightly build of minefield
Status: RESOLVED → VERIFIED
Updated•9 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•