Closed
Bug 22871
Opened 25 years ago
Closed 23 years ago
Use an em-dash rather than a hyphen as the Navigator window title seperator character
Categories
(SeaMonkey :: UI Design, defect, P2)
SeaMonkey
UI Design
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: karl, Assigned: bugmail)
References
(Depends on 1 open bug)
Details
(Whiteboard: Works on Mac and Windows; awaiting Unix)
Attachments
(1 file, 1 obsolete file)
Sorry if this is the wrong component. The title seperator ' - ' (which are used to seperate a page or e-mail title and "Mozilla" in the titlebar) should be ' – '. Currently it's set to 'space hyphen-minus space', but it should be 'space en-dash space'. The en-dash is U+2013. A en dash is typographically correct, wheras a hypen is not! This could be fixed by changing all 'titleSeperator.label' (and similar) entities to ' – '.
Updated•25 years ago
|
Assignee: trudelle → don
Comment 1•25 years ago
|
||
Hey Don, doesn't Ben Goodger own this?
BULK MOVE: Changing component from XUL to XP Toolkit/Widgets: XUL. XUL component will be deleted.
Component: XUL → XP Toolkit/Widgets: XUL
Comment 4•25 years ago
|
||
*IGNORE* - more massive spam, changing open XPToolkit bug's QA contact to jrgm@netscape.com
QA Contact: paulmac → jrgm
Comment 6•24 years ago
|
||
[--> XP Apps: GUI]
Severity: normal → trivial
Component: XP Toolkit/Widgets: XUL → XP Apps: GUI Features
Comment 7•24 years ago
|
||
Since Don has left, Vishy is taking his bugs in bulk, pending reassignment. thanks, Vishy
Assignee: don → vishy
Updated•24 years ago
|
Summary: Title seperator should be en dash → Title separator should be en dash
Comment 8•24 years ago
|
||
There are three of these, in Editor, Navigator and Messenger. /editor/ui/composer/locale/en-US/editor.dtd, line 26 /xpfe/browser/resources/locale/en-US/navigator.dtd, line 11 /mailnews/base/resources/locale/en-US/messenger.dtd, line 23 Can anyone tell me how to represent this character in a DTD? Are they UTF-8? Gerv
Reporter | ||
Comment 9•24 years ago
|
||
> Can anyone tell me how to represent this character
> in a DTD? Are they UTF-8?
Yes, but you can use numerical character references. – or –
Comment 10•24 years ago
|
||
It doesn't like: <!ENTITY titleSeperator.label " – "> or <!ENTITY titleSeperator.label " – "> at all :-( "XML Parsing error: error in processing external entity reference" :-( Gerv
Reporter | ||
Comment 11•24 years ago
|
||
> It doesn't like:
> <!ENTITY titleSeperator.label " – ">
You forgot the ;. It should be –
Comment 12•24 years ago
|
||
Ah. Doh! That works, but on Windows at least, it looks exactly the same. Is that to be expected? Gerv
Comment 13•24 years ago
|
||
http://www.google.com/search?q=cache:www.w3.org/TR/REC-html40/sgml/entities.htm l+en+dash+entity&hl=en <!ENTITY ndash CDATA "–" -- en dash, U+2013 ISOpub --> why aren't we using – ?
Reporter | ||
Comment 14•24 years ago
|
||
> <!ENTITY ndash CDATA "–" -- en dash, U+2013 ISOpub -->
> why aren't we using – ?
Because – is only an *HTML* (and DocBook) named entity. XML has only
*four* named entities. We have to create others ourselves, and that's exactly
what we're doing with:
<!ENTITY titleSeperator.label " – ">
Regarding it being displayed as an ordinary dash, I think this may have
something to do with glyph substitution. If the font doesn't contain an en-dash
glyph, a dash is used instead.
Comment 15•24 years ago
|
||
Does that mean we shouldn't bother? Or will there be cases in the future where the titlebar font does have the right glyph? Gerv
Reporter | ||
Comment 16•24 years ago
|
||
> Or will there be cases in the future where
> the titlebar font does have the right glyph?
Probably yes. Doesn't Windows 2000 use the Tahoma font? (Which *does* include
an en-dash.)
Comment 17•24 years ago
|
||
i'd prefer for us to define ndash and use it. <!ENTITY ndash CDATA "–" -- en dash, U+2013 ISOpub --> <!ENTITY titleSeperator.label " – "> does anyone have an objection to this?
Comment 18•24 years ago
|
||
Is there some global file we can declare it in, or do we have to declare it three times? It just seems like a bit of a waste of effort; we could just add a comment saying which entity it was. Gerv
Reporter | ||
Comment 19•24 years ago
|
||
> i'd prefer for us to define ndash and use it.
> <!ENTITY ndash CDATA "–" -- en dash, U+2013 ISOpub -->
> <!ENTITY titleSeperator.label " – ">
Excuse me for asking, but *why*?
(I have no objection, but I'm wondering why you want to define it this way.)
Comment 20•24 years ago
|
||
clarity and future use. wrt better candidates for placing that entity: i dunno.
Comment 21•24 years ago
|
||
Updated•24 years ago
|
Comment 22•24 years ago
|
||
OK, so it's not a major issue - so we should be able to check it in and get on with life. r=? sr=? The current patches use lines of the form: <!ENTITY editorWindow.titlemodifiermenuseparator " – "> <!-- en-dash --> which seems like a reasonable compromise. If ever we find there's a central place for defining entities, we'll shift it out there. Gerv
Assignee: vishy → dr
Severity: trivial → normal
Component: XP Apps: GUI Features → XP Miscellany
OS: other → All
Priority: P3 → P2
Hardware: Other → All
Target Milestone: --- → Future
Comment 23•23 years ago
|
||
Gerv: I'm taking this. Your patch is more or less fine, but it won't work at all on linux due to bug 74753. And I don't want to fix 74172 either until 74753 is fixed, for obvious reasons :(
Status: NEW → ASSIGNED
Summary: Title separator should be en dash → window title separator should be en-dash (–)
Assignee | ||
Comment 24•23 years ago
|
||
Actually, this bug is not quite right. The three dashes have well-defined and standard usages in text. The shortest, the hyphen, is used to signal adjectives or substantives composed of several words or to separate a word across two successive lines of text. The n-dash is used to indicate a duration or an extend between two limits. A small space should be present before and after the n-dash. The m-dash, largest of the dashes, is reserved for the isolation of portion of clauses: it is pratically equivalent to parenthesis. There are no spaces before or after the m-dash in English texts. Thus it should be plain that the separator character between the document TITLE and the Mozilla/Build ID blurb must be the m-dash.
Assignee | ||
Comment 25•23 years ago
|
||
Actually, this bug is not quite right. The three dashes have well-defined and standard usages in text. The shortest, the hyphen, is used to signal adjectives or substantives composed of several words or to separate a word across two successive lines of text. The n-dash is used to indicate a duration or an extend between two limits. A small space should be present before and after the n-dash. The m-dash, largest of the dashes, is reserved for the isolation of portion of clauses: it is pratically equivalent to parenthesis. There are no spaces before or after the m-dash in English texts. Thus it should be plain that the separator character between the document TITLE and the Mozilla/Build ID blurb must be the m-dash.
Assignee | ||
Comment 27•23 years ago
|
||
I see this bug is now assigned to me. I'm not sure how this happened...it's possible I accepted it by mistake, but who konws. Should I edit the attached patch and replace the n-dash entities with m-dashes?
Assignee | ||
Comment 28•23 years ago
|
||
Assignee | ||
Comment 29•23 years ago
|
||
Changed patch to use em-dashes rather than en-dashes. Although not technically correct, I left the padding whitespace on either side in case some platform resolves it to a hyphen.
Status: NEW → ASSIGNED
Comment 30•23 years ago
|
||
Dan Rosen (dr@netscape.com) reassigned it to you for whatever reason. :)
Attachment #29037 -
Attachment is obsolete: true
Summary: window title separator should be en-dash (–) → Use an em-dash rather than a hyphen as the Navigator window title seperator character
Comment 31•23 years ago
|
||
Invalid. All other Windows apps use a hyphen, including 4.x, and being inconsistent with them wouldn't improve usability at all (in fact it would decrease usability by a couple of pixels:-).
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 32•23 years ago
|
||
Although the idea of closing XP bugs because of Windows standards is itself invalid, in fact it's entirely inappropriate to have the application name in text in Mac OS title bar text, anyway. Thus, bug 107695.
Component: XP Miscellany → XP Apps: GUI Features
Product: Core → Mozilla Application Suite
Target Milestone: Future → ---
Comment 33•18 years ago
|
||
I think this bug should be reopen. Now Linux vs. titlebar bug is fixed, and it '-' should be replaced with en-dash or em-dash. Yes, Windows is using '-' everywhere, but i want to have my Firefox in Linux typographical right and nevermind that Microsoft id*ots.
You need to log in
before you can comment on or make changes to this bug.
Description
•