Closed Bug 299764 Opened 19 years ago Closed 19 years ago

Superfluous Colon at End of Title

Categories

(SeaMonkey :: Page Info, defect)

x86
Windows 98
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: david, Assigned: db48x)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.8) Gecko/20050511
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.8) Gecko/20050511

Go to cited Web page.  On the menu bar, select [View > Page Info].  On the
General tab, the first line displays the page title.  The display always ends in
a colon, which should not be there unless the title itself ends in a colon.  

Selecting the title and copying it into a document results in the colon being
copied.  In many cases, this is not immediately noticed (because a colon is
merely two tiny dots) but can cause problems in the destination document.  

Reproducible: Always

Steps to Reproduce:
I don't view this as extraneous at all: it's simply meant to draw attention to
the fact that all subsequent information is related to what preceded it above.

This is judicious usage of the colon, as far as I'm concerned, but Daniel's the
owner, so he has ultimate choice.
In the General tab on the Page Info window under Windows, if I double-click on a
word within the title, that word is highlighted for copying.  If I triple-click,
the entire line is highlighted.  For any other line, triple-clicking a value
causes the entire value to be highlighted, but not the value's label.  

For example, with this bug report displayed, I selected [View > Page Info].  If
I triple-click on the title line, the colon at the end of the line is included
in what is highlighted.  But if I triple-click on the URL line, the label "URL:"
is not highlighted; only the URL itself is highlighted.  If I triple-click on
the Encloding line, the label "Encoding:" is not highlighted; only the
"ISO-8859-1" is highlighted.  

If this is possible for the lines below the title, why is it not possible for
the title line?  That is, why cannot the colon at the end of the line be
excluded from being highlighted?  
David: that's because the line that shows you the title is different from the
rest of the information. The headings ('URL:', 'Encoding:', etc) are seperate
labels that aren't selectable, whereas the title is a selectable textbox whose
value I've set to be the title of the page plus a colon.

Unfortunately, because of the way xul works there isn't a way to put the colon
into a seperate label and have it still properly show up at the end of the title
- it has a simpler model that gives everything a fixed width based on how large
it's parent is. At best the colon would end up all the way over on the
right-hand edge of the window.

Now, I suppose I could theoretically try to mess with the code that copies the
value of the textbox to the clipboard, so that in the case of this one textbox
it copies everything except the final colon, but I don't think it'll be worth
the effort.

Marking WONTFIX.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.