New issue
Advanced search Search tips

Issue 690845 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Feb 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 2
Type: Bug



Sign in to add a comment

How to handle pages with space only titles?

Project Member Reported by olivierrobin@chromium.org, Feb 10 2017

Issue description

If the page title is empty, we currently show the URL. But if the page title is only whitespace, it is possible to have an empty title in the Reading List View.

I think this is WAI as the page can set title to whitespace.
But this can look like a bug to the user, specially if this white title is a page bug.

e.g.:
https://drive.google.com/file/d/0B-xmXLQhjeKuWmRZenhMZ094RG8/view

In this case, the page title is sometimes empty and is set to the normal title after a delay.

Thanks srikanthg@ for reporting
 
I think we should set the title only if it is not empty after trimming the string.
When adding the entry to the Reading List, it means setting the title to URL.
After distillation, it means not updating the title.
I can reproduce the bug on http://www.faz.net/aktuell/politik/inland/16-punkte-plan-merkel-will-mit-abschiebungen-zur-freiwilligen-ausreise-motivieren-14870494.html only on iPad pro.
The title after distillation starts with a new line, which cause the issue.
I am doing a CL to handle this case, but I think this can be considered as a website bug.
Status: Fixed (was: Started)
This is fixed.
As this is a not blocking edge case, I think it is fine keeping it on M-58.
Status: Verified (was: Fixed)
https://drive.google.com/open?id=0B6GVWQnhaMCleEQyc25oNmlEM1E 
Looks good.
Verified on iPhone 6+ iOS 10.2, iPad Pro iOS 10.1.1 on build 58.0.3019.0 Canary

Sign in to add a comment