Closed
Bug 648086
Opened 12 years ago
Closed 12 years ago
Prefwindow title change from 'Preferences for x profile' to pane title when selecting pane
Categories
(SeaMonkey :: Preferences, defect)
Tracking
(blocking-seamonkey2.1 final+)
RESOLVED
FIXED
seamonkey2.1final
Tracking | Status | |
---|---|---|
blocking-seamonkey2.1 | --- | final+ |
People
(Reporter: stefanh, Assigned: stefanh)
References
(Blocks 1 open bug)
Details
(Keywords: regression)
Attachments
(2 files)
3.03 KB,
patch
|
Details | Diff | Splinter Review | |
2.41 KB,
patch
|
Callek
:
review+
|
Details | Diff | Splinter Review |
STR: 1) Open Preferences 2) Prefwindow opens, with "Browser" pane selected 3) Prefwindow title says "Preferences for x profile" 4) Select the Advanced pane 5) Prefwindow title says "Advanced" On mac, we base the prefwindow's title on the pane label toolkit/content/widgets/preferences.xml 787 #ifdef XP_MACOSX 788 var paneTitle = aPaneElement.label; 789 if (paneTitle != "") 790 document.title = paneTitle; 791 #endif We also don't show any pane header labels. We could probably live with not updating the prefwindow title (just show the "Preferences for ..." all the time... or maybe we could append the pane header after the "new" Prefwindow title (could get a bit long, though).
Assignee | ||
Comment 1•12 years ago
|
||
I think this should block 2.1. I don't think the value added by fixing bug 39113 outweights this regression.
blocking-seamonkey2.1: --- → ?
Comment 2•12 years ago
|
||
(In reply to comment #0) > We could probably live with not updating the prefwindow title (just show the > "Preferences for ..." all the time... or maybe we could append the pane header > after the "new" Prefwindow title (could get a bit long, though). Or we could revert to the old behavior for Mac. Basically, what we first need is consensus, i.e. what needs to be done, before starting implementation. I suggest you discuss this with Karsten or maybe FF Mac guys since I doubt anyone else on the SM team can tell. Then it should be simple for anyone of us to make the change (a hint regarding how to reliably detect Mac from JS would be helpful, though).
![]() |
||
Comment 3•12 years ago
|
||
> (a hint regarding how to reliably
> detect Mac from JS would be helpful, though)
/^Mac/.test(navigator.platform) is how we do it in the rest of our js code.
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to comment #2) > Basically, what we first need is consensus, i.e. what needs to be done, before > starting implementation. I suggest you discuss this with Karsten or maybe FF > Mac guys since I doubt anyone else on the SM team can tell. Well, the SM prefwindow is very much non-mac anyway, so there's no "How it should be" here. I think if we really want to expose the profile name in prefs, we should be consistent across the different platforms. Iotw, we should expose it for mac as well. That said, I don't think it adds any value exposing the profile name (but that's another discussion).
Assignee | ||
Comment 5•12 years ago
|
||
The most reasonable thing to do here is probably to stop using the pane labels to set the prefwindow title.
Comment 6•12 years ago
|
||
(In reply to comment #1) > I think this should block 2.1. I don't think the value added by fixing bug > 39113 outweights this regression. Agreed. If this is the last blocker for 2.1 we should just back out the offending patch. But I don't want to ship with this bug!
blocking-seamonkey2.1: ? → final+
Assignee | ||
Comment 7•12 years ago
|
||
Here's a 2.0-backout that leaves the string changes in. I'd suggest to back this out on trunk as well - I don't really know any good solution to this and not backing it out on trunk will most likely mean that people forget about this.
Assignee | ||
Comment 8•12 years ago
|
||
Comment on attachment 530655 [details] [diff] [review] 2.0 backout (no .dtd changes) Review of attachment 530655 [details] [diff] [review]: -----------------------------------------------------------------
Attachment #530655 -
Flags: review?(bugspam.Callek)
Assignee | ||
Comment 9•12 years ago
|
||
Callek, in case you need this landed while I'm not around: Here's a changeset patch with user info/commit message.
Updated•12 years ago
|
Attachment #530655 -
Flags: review?(bugspam.Callek)
Comment 10•12 years ago
|
||
Comment on attachment 530699 [details] [diff] [review] Checkin-friendly version of attachment #530655 [details] [diff] [review] rs+ on backout, based on your word. Also rs+ for a trunk backout, provided you also backout the l10n changes there. Once the backout(s) are done, resolve this bug and reopen the other.
Attachment #530699 -
Flags: review+
Assignee | ||
Comment 11•12 years ago
|
||
http://hg.mozilla.org/comm-central/rev/813c489a99d0 http://hg.mozilla.org/releases/comm-2.0/rev/ef507802e7e9
Assignee: nobody → stefanh
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.1final
Updated•12 years ago
|
Flags: in-testsuite-
You need to log in
before you can comment on or make changes to this bug.
Description
•