Closed
Bug 746394
Opened 13 years ago
Closed 13 years ago
No label for home screen icons when adding page without title
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 14
People
(Reporter: bnicholson, Assigned: Margaret)
Details
Attachments
(1 file, 2 obsolete files)
|
1.95 KB,
patch
|
bnicholson
:
review+
mfinkle
:
approval-mozilla-central+
|
Details | Diff | Splinter Review |
If a page without a title is added to the home screen, the label below the icon is empty. We should use something, such as the page URL, when the title is empty.
| Assignee | ||
Comment 1•13 years ago
|
||
This totally bothered me the other day - I should have filed a bug.
Assignee: nobody → margaret.leibovic
Attachment #616162 -
Flags: review?(bnicholson)
Comment 2•13 years ago
|
||
I hope the OS crops the URL when shown on the homescreen. I think it does.
Comment 3•13 years ago
|
||
Maybe we should strip the http (and www if its there)?
| Assignee | ||
Comment 4•13 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #2)
> I hope the OS crops the URL when shown on the homescreen. I think it does.
It does.
(In reply to Wesley Johnston (:wesj) from comment #3)
> Maybe we should strip the http (and www if its there)?
Yeah, that seems like a good idea, since we don't have much space to work with. I was also thinking about just using the name of the file at the end of the path, since we do something like that for downloads, but that seems less informative than the domain.
| Assignee | ||
Comment 5•13 years ago
|
||
This patch also strips the protocol from the url. This is more complicated, and I'm not sure if it's worth the extra effort.
| Assignee | ||
Comment 6•13 years ago
|
||
This gets rid of the protocol and the "www." if it exists.
I'm trying to think of ways this regex can break, but it seems okay to me. I tested this with:
"http://www.foo.com"
"foo://foo.com"
"http://wwww.foo.com"
"http://ww.foo.com"
Attachment #616162 -
Attachment is obsolete: true
Attachment #616172 -
Attachment is obsolete: true
Attachment #616162 -
Flags: review?(bnicholson)
Attachment #616215 -
Flags: review?(bnicholson)
| Reporter | ||
Updated•13 years ago
|
Attachment #616215 -
Flags: review?(bnicholson) → review+
| Assignee | ||
Comment 7•13 years ago
|
||
Comment on attachment 616215 [details] [diff] [review]
patch using regex
Self-contained change that will only affect adding a title-less page to your home screen. And it's a nice small win to avoid title-less icons on your home screen.
Attachment #616215 -
Flags: approval-mozilla-central?
Comment 8•13 years ago
|
||
Comment on attachment 616215 [details] [diff] [review]
patch using regex
low risk and we hope people start using home screen shortcuts to launch the browser
Attachment #616215 -
Flags: approval-mozilla-central? → approval-mozilla-central+
| Assignee | ||
Comment 9•13 years ago
|
||
Target Milestone: --- → Firefox 14
Comment 10•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 11•13 years ago
|
||
Can the protocol stripping part of this bug be used in any way for bug 729495 ? If yes, maybe it would be nice to add a comment there about this implementation for future reference. Can you do that Margaret?
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•