Closed
Bug 345260
Opened 18 years ago
Closed 18 years ago
handle dynamic changes to tab title, tab icon and busy (loading) state in all tabs menu
Categories
(Firefox :: Tabbed Browser, defect, P2)
Firefox
Tabbed Browser
Tracking
()
RESOLVED
FIXED
Firefox 2 beta2
People
(Reporter: moco, Assigned: asaf)
References
Details
(Keywords: fixed1.8.1)
Attachments
(1 file)
7.69 KB,
patch
|
moco
:
review+
mconnor
:
superreview+
beltzner
:
approval1.8.1+
|
Details | Diff | Splinter Review |
handle dynamic changes to uri, image/favicon, title in all tabs menu this can happen if changes occur after the menupopup is built. from tabbrowser.xml + // XXX todo + // what if uri, image/favicon, title change + // while this popup is open? + // mano warns: "be careful of leaks when addressing this." + menuItem.setAttribute("label", curTab.label); + menuItem.setAttribute("image", curTab.getAttribute("image")); + var URI = curTab.linkedBrowser.currentURI.spec;
Assignee | ||
Updated•18 years ago
|
Flags: blocking-firefox2?
OS: Windows XP → All
Hardware: PC → All
Target Milestone: --- → Firefox 2 beta2
Updated•18 years ago
|
Flags: blocking-firefox2? → blocking-firefox2+
Reporter | ||
Comment 1•18 years ago
|
||
I don't think this is blocker worthy for 2.0. it would be nice to have, but I think we could ship without fixing this. what do others think?
Comment 2•18 years ago
|
||
(In reply to comment #1) > I don't think this is blocker worthy for 2.0. I'm inclined to say it's a blocker. If the URI/title/favicon change and the menu shows you the old one, not only is that totally useless, but it's actively showing you *wrong* information that it clearly has correct elsewhere (in the actual tab itself). I'd probably agree if it were just dynamic favicon changes, but the other two feel more serious to me. I would certainly classify this below the "handle dynamic tab addition/removal properly" bug though, if only one could get fixed.
Assignee | ||
Updated•18 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•18 years ago
|
||
We don't need to keep the uri (which is stored in the statusbartext attribute only) in sync since the statusbar stuff isn't implemented yet.
Summary: handle dynamic changes to uri, image/favicon, title in all tabs menu → handle dynamic changes to tab title, tab icon and busy (loading) state in all tabs menu
Assignee | ||
Comment 5•18 years ago
|
||
This: 1. Adds support for showing the busy (loading) indicator in the menu. 2. Makes sure we crop the menuitem label in the same way we crop the tab label (i.e. we crop it in the middle if the tab label is the page URL). 3. Keeps the attributes of the menuitems (label, image, crop, busy) in sync with their corresponding tabs.
Attachment #230217 -
Flags: superreview?(mconnor)
Attachment #230217 -
Flags: review?(sspitzer)
Reporter | ||
Comment 6•18 years ago
|
||
asaf, how much work would it be to keep the status text in sync, too?
(In reply to comment #6) > asaf, how much work would it be to keep the status text in sync, too? Please, let's not go back to unsync'd status bars "messages". ~B
Updated•18 years ago
|
Attachment #230217 -
Flags: superreview?(mconnor) → superreview+
Assignee | ||
Comment 8•18 years ago
|
||
(In reply to comment #6) > asaf, how much work would it be to keep the status text in sync, too? > Not much, but I don't want to do this before you're implementing the statusbar stuff (Really, if we're not going to use the menubar code as is, we don't need this attribute).
Assignee | ||
Updated•18 years ago
|
Whiteboard: needs review sspitzer
Reporter | ||
Comment 9•18 years ago
|
||
Comment on attachment 230217 [details] [diff] [review] patch r=sspitzer, sorry for the delay.
Attachment #230217 -
Flags: review?(sspitzer) → review+
Assignee | ||
Comment 10•18 years ago
|
||
trunk: mozilla/toolkit/content/widgets/tabbrowser.xml 1.174 mozilla/toolkit/themes/winstripe/global/browser.css 1.16 mozilla/toolkit/themes/pinstripe/global/browser.css 1.12
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: needs review sspitzer
Assignee | ||
Updated•18 years ago
|
Attachment #230217 -
Flags: approval1.8.1?
Comment 11•18 years ago
|
||
Comment on attachment 230217 [details] [diff] [review] patch a=drivers. Please land on the MOZILLA_1_8_BRANCH.
Attachment #230217 -
Flags: approval1.8.1? → approval1.8.1+
Assignee | ||
Comment 12•18 years ago
|
||
1.8 branch: mozilla/toolkit/content/widgets/tabbrowser.xml 1.103.2.62 mozilla/toolkit/themes/pinstripe/global/browser.css 1.7.4.5 mozilla/toolkit/themes/winstripe/global/browser.css 1.9.4.9
Keywords: fixed1.8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•