Closed
Bug 586712
Opened 15 years ago
Closed 15 years ago
Lighten tabOnFocus (and rename it)
Categories
(Firefox Graveyard :: Panorama, defect, P3)
Firefox Graveyard
Panorama
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 4.0b5
People
(Reporter: iangilman, Assigned: raymondlee)
References
Details
(Keywords: perf)
Attachments
(1 file, 2 obsolete files)
5.95 KB,
patch
|
Details | Diff | Splinter Review |
From dolske's review of bug 574217:
> >+ // Called when the user switches from one tab to another outside of the TabView UI.
> >+ tabOnFocus: function(tab) {
>
> This seems like a surprising amount of code to be running on each tab selection
> change... Is there an opportunity for an early return / skipping work when not
> needed (eg, set a dirty bit and handle it later)?
>
> [Nit: call this tabOnSelect, because it really doesn't have anything to do with
> _focus_.]
Some of this work we definitely need to do every time. In particular, the "zoom prep" is the only way we've found to get a smooth zoom out. Some of it can probably be deferred if we're not in the Tab Candy UI.
Comment 1•15 years ago
|
||
Some of this may be helped when we get hardware acceleration. Of course, it also might not.
Updated•15 years ago
|
Whiteboard: b4
Updated•15 years ago
|
Priority: -- → P3
Comment 2•15 years ago
|
||
Mass moving all Tab Candy bugs from Mozilla Labs to Firefox::Tab Candy. Filter the bugmail spam with "tabcandymassmove".
Product: Mozilla Labs → Firefox
Target Milestone: -- → ---
Assignee | ||
Updated•15 years ago
|
Assignee: nobody → raymond
Assignee | ||
Comment 3•15 years ago
|
||
Attachment #466568 -
Flags: review?(dolske)
Attachment #466568 -
Flags: feedback?(ian)
Assignee | ||
Comment 4•15 years ago
|
||
Comment on attachment 466568 [details] [diff] [review]
v1
I found a bug in this patch. Will upload another one later
Attachment #466568 -
Attachment is obsolete: true
Attachment #466568 -
Flags: review?(dolske)
Attachment #466568 -
Flags: feedback?(ian)
Assignee | ||
Comment 5•15 years ago
|
||
I've renamed the method and everything inside the method is necessary. GroupItems.updateActiveGroupItemAndTabBar(newItem) is for setting the active group item and updating the tab bar because zooming into a tab, using key combination, the switch to tab feature in the awesome bar might select a tab in other group. Other code is for setting zoom in preparation.
Attachment #466635 -
Flags: review?(dolske)
Attachment #466635 -
Flags: feedback?(ian)
Reporter | ||
Comment 6•15 years ago
|
||
Comment on attachment 466635 [details] [diff] [review]
v1
Looks good to me.
Attachment #466635 -
Flags: feedback?(ian) → feedback+
Updated•15 years ago
|
Attachment #466635 -
Flags: review?(dolske)
Attachment #466635 -
Flags: review+
Attachment #466635 -
Flags: approval2.0+
Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Assignee | ||
Comment 7•15 years ago
|
||
Check-in needed
Assignee | ||
Updated•15 years ago
|
Attachment #466635 -
Attachment is obsolete: true
Comment 8•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Whiteboard: b4
Target Milestone: --- → Firefox 4.0b5
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
•