Closed
Bug 50682
Opened 24 years ago
Closed 24 years ago
Cannot change the title of a window
Categories
(Core :: XUL, defect, P2)
Tracking
()
VERIFIED
FIXED
People
(Reporter: ji, Assigned: adamlock)
References
Details
(Keywords: platform-parity, regression, Whiteboard: [nsbeta3-][PDTP2][rtm++])
Attachments
(1 file)
***obseverd with linux 2000082906 build ***** On the Mail's main window, when a mail is selected, the subject of the mail will show as part of the window title. But now the window only has "Mail" as the window title. It used to be working even with yesterday's build. (2000082811 linux) Steps to reproduce: 1. Launch Mail. 2. Select any mail. You'll see the mail window title does't reflect the subject of the mail.
A compose window doesn't get the subject as window title, either.
Keywords: nsbeta3,
regression
QA Contact: lchiang → laurel
Comment 2•24 years ago
|
||
Same problem with Mac & Windows. Seems to be a generic problem, you cannot change anymore the title of a window dynamically. window.title = xxxx doesn't work anymore. Reassign to xptoolkit
Assignee: putterman → waterson
Component: Mail Window Front End → XP Miscellany
OS: Linux → All
Product: MailNews → Browser
QA Contact: laurel → brendan
Hardware: PC → All
Updated•24 years ago
|
Summary: Mail subject doesn't show as the mail window title → Cannot change the title of a window
Comment 3•24 years ago
|
||
cc'ing adamlock (who's been working with window.title lately) and danm ('the window guy')
Component: XP Miscellany → XP Toolkit/Widgets
QA Contact: brendan → jrgm
Comment 5•24 years ago
|
||
->danm, cc pav (who fixed related bug 41786 last week). Is this even our bug? It seems like if you can set the title at all (e.g., "Mail"), then the toolkit is working. Browser has no trouble setting title today.
Assignee: trudelle → danm
Note to pdt if they read this: mail would like this fixed - otherwise, if a window is minimized or under the tasks menu, it will be hard to distinguish between various open mail windows.
Keywords: mailtrack
I have a question here - is "window.title" meant to set and get the contained document title? It's unclear to me from looking at the interface or the implementation if this is the intent. Bug 41984 is complaining that window.title does not return the document title, so I have submitted a patch that maps the global window's SetTitle/GetTitle implementations onto the primary content docshell's SetTitle/GetTitle. Is this right? What happens if there is no primary content document, or if you want to set the title on the window but not the document.
Comment 9•24 years ago
|
||
Fixed on 8/30/2000.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 10•24 years ago
|
||
Thanks
Comment 11•24 years ago
|
||
*** Bug 50820 has been marked as a duplicate of this bug. ***
Comment 12•24 years ago
|
||
*** Bug 50802 has been marked as a duplicate of this bug. ***
Comment 13•24 years ago
|
||
to QA: pls verify the duplicate bugs also, if possible. Thanks.
Comment 14•24 years ago
|
||
Reopening this bug since problems are back again based on verification for 09-01-08-M18 commercial builds for all the platforms
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 15•24 years ago
|
||
*** Bug 51573 has been marked as a duplicate of this bug. ***
Comment 16•24 years ago
|
||
Pls triage this soon. This is pretty visible in mail and really hinders usability when there are a lot of windows open (i.e. windows minimized so that there is no distinguishing items to tell them apart)
Severity: normal → major
Assignee | ||
Comment 17•24 years ago
|
||
In the absence of any feedback to my previous questions on this bug, I put the checkin for bug 41984. I changed window.title so it maps onto the primary content document's title property. Perhaps the mail window has no primary content document? The old mechanism although broken may have worked in such circumstances since it incorrectly mapped the title property onto the topmost chrome document so that once the title was set to something, you could get that value back again. Perhaps when the nsGlobalWindow class cannot get a primary content document it should set and get its title from a private member string?
Comment 18•24 years ago
|
||
This affects AIM in NS6 as well , in both IM compose session windows, and the buddy list itself. You can't see who you're having an IM session with (for IM compose) or who you're currently logged in as (on standalone IM Buddy List)
Comment 19•24 years ago
|
||
window.title is not a DOM Level 0 or 1 property, so its semantics are completely up to the toolkit guys. I've done my part to make sure that GlobalWindowImpl::SetTitle is called - I don't own the implementation. Adam, since you touched the implementation last, you're it.
Assignee: vidur → adamlock
Status: REOPENED → NEW
Assignee | ||
Comment 20•24 years ago
|
||
Okay, how about this: If there is a primary content document then window.title maps onto that. If there is no primary content document, then window.title sets and gets a private member variable in nsGlobalWindow. This should ensure that window.title will return whatever it was set to *and* fix it's behaviour with drag and drop shortcuts.
Comment 21•24 years ago
|
||
*** Bug 52687 has been marked as a duplicate of this bug. ***
Comment 22•24 years ago
|
||
adding the dependency on our security bug because window titles stopped showing up in the password dialog recently.
Comment 23•24 years ago
|
||
dependent bug is nsbeta3+ (but P3). mscott- should the other bug be a higher priority?
Comment 25•24 years ago
|
||
Mail, New Folder window is also affected.
Comment 26•24 years ago
|
||
Jud, can we get an nsbeta3+, P2 on this based on the blocked bug's priority?
Comment 28•24 years ago
|
||
Jud, did you mean to agree with selmer's P2 assessment of this bug? If so, pls mark P2.
Updated•24 years ago
|
Priority: P3 → P2
Comment 29•24 years ago
|
||
PDT agrees P2, but mainly because it's a regression on something which used to work. Otherwise, it would probably be P3.
Whiteboard: [nsbeta3+] → [nsbeta3+][PDTP2]
Assignee | ||
Comment 30•24 years ago
|
||
Comment 31•24 years ago
|
||
adam, these changes appear to drop docshell walking from the picture. Can you please provide some explaination as to why that's desirable?
Assignee | ||
Comment 32•24 years ago
|
||
Jud, the old behaviour (the one I checked in last) mapped window.title onto document.title. This is not what is required so the patch I provided today, stores the title in a member variable. When someone set's the title, the code stores the new title and locates the nsIBaseWindow representing the frame and calls SetTitle on that. There is no longer any connection between the window title and the document title.
Comment 33•24 years ago
|
||
nsbeta3++ on the strength of the mail server password spoofing bug (dependent bug 51631). Otherwise, it could probably wait for RTM. Please go quickly into the branch since time is short.
Whiteboard: [nsbeta3+][PDTP2] → [nsbeta3++][PDTP2]
Comment 34•24 years ago
|
||
Talked this over with jar and we think we can live without this in PR3 (it's just a beta, and our password-spoofing vulnerability is similar to 4.x). Marking nsbeta3- but adding rtm nomination. We still think this is important to fix for RTM.
Whiteboard: [nsbeta3++][PDTP2] → [nsbeta3-][PDTP2]
Comment 36•24 years ago
|
||
Adding my vote for rtm++. Adam can you get your manager to mark this one rtm+ so it will show up on the PDT radar?
Assignee | ||
Comment 37•24 years ago
|
||
Jud, can you mark this rtm+ ?
Assignee | ||
Comment 38•24 years ago
|
||
*** Bug 52616 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 39•24 years ago
|
||
*** Bug 53536 has been marked as a duplicate of this bug. ***
Updated•24 years ago
|
Whiteboard: [nsbeta3-][PDTP2] → [nsbeta3-][PDTP2][rtm+]
Comment 40•24 years ago
|
||
Is the patch from 9-21 still current? Has this been super reviewed?
Assignee | ||
Comment 41•24 years ago
|
||
The patch is current. It was super-reviewed and approved by Scott MacGregor
Status: NEW → ASSIGNED
Comment 42•24 years ago
|
||
PDT marking [rtm++]
Whiteboard: [nsbeta3-][PDTP2][rtm+] → [nsbeta3-][PDTP2][rtm++]
Assignee | ||
Comment 43•24 years ago
|
||
The fix is now checked into the beta 3 branch and the trunk.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
Comment 44•24 years ago
|
||
Does jst have a similar bug?
Comment 45•24 years ago
|
||
Yup, I have a similar bug, I'll dupe that bug once I run into it again...
Comment 46•24 years ago
|
||
*** Bug 51449 has been marked as a duplicate of this bug. ***
Comment 47•24 years ago
|
||
I still see this on the Linux branch 2000-10-04-09MN6 (fixed on win32 2000-010-04-09MN6 and Mac 2000-10-04-11MN6) Reopening and setting keyword for platform parity.
Status: REOPENED → RESOLVED
Closed: 24 years ago → 24 years ago
Resolution: --- → FIXED
Comment 48•24 years ago
|
||
I checked this in todays Linux branch also 2000-10-05-09MN6 and it looks ok...resolving and verifying. Sorry for the spam!
You need to log in
before you can comment on or make changes to this bug.
Description
•