New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 824148 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Bug



Sign in to add a comment

Untitled title is displayed for newtab on opening a download url link in newtab

Project Member Reported by pmadalla@chromium.org, Mar 21 2018

Issue description

App Version:  67.0.3376.0 Canary
iOS Version: 10.3.3, 11.2.6 
Device : iPad Air 2, iPad Mini2
URL: https://developer.apple.com/fonts/
https://www.barebones.com/products/bbedit/download.html

Steps to reproduce:
1. Launch chrome in Normal Mode.
2. Goto https://developer.apple.com/fonts/
3. Long Tap on Download button.
4. Tap on Open in Newtab in context menu.
5. Tap on Tab Switcher and navigate to newtab.
6. Tap on tabswithcer in newly opened tab

Observed results:
Tab name is displayed as Untitled

Expected results:
Url should be displayed for tab name

Number of times you were able to reproduce: 5/5
Bug reproducible after clean install: Yes
Bug reproducible after clearing cache and cookies: Yes
Bug reproducible on Chrome Mobile on Android: NA
Bug reproducible on Dolphin/Safari/Firefox: Safari : NA
Bug reproducible on current stable build (App Version, iOS Version): No on M65 [New Download UI from M67]
Bug reproducible on the current beta channel build (App Version, iOS Version): No on M66 [New Download UI from M67]

Video :
New UI :
https://drive.google.com/file/d/1XVoODZpTydWpflxN6WVvDZkoseVA49s-/view?usp=sharing

Old Ui :
https://drive.google.com/file/d/12dPcRkAmtWjm_sNJwoddhdVtl6H16GGg/view?usp=sharing

 
Labels: ReleaseBlock-Stable M-67
Owner: eugene...@chromium.org
Status: Assigned (was: Untriaged)
Labels: -ReleaseBlock-Stable
This is a minor bug, which should not block the release.
Cc: ghendel@chromium.org khalilcader@chromium.org
Labels: -Pri-2 Pri-3
Tab tile represent the title of currently displayed web page.

In the old Download Manager, download UI was a web page, so we displayed the URL as a title.

In the new download manager, the download UI is decoupled from the web page. So page title has nothing to do with download URL. The blank page has default title, which is Untitled. So I think this is WAI. 

Khalil, Gabe what do you think?
Status: WontFix (was: Assigned)
Closing as WAI. Please reopen if you disagree.

Comment 5 by ghendel@google.com, Apr 5 2018

Status: Assigned (was: WontFix)
I tried this in the new tab switcher UI that's in Canary. It looks odder there since the tab doesn't say "Untitled." It just has not title at all (see screenshot attached). 

I'm wondering whether this can instead be given a generic title like "Download" that reminds the user of the context of this tab.

Either way, I agree this is a minor bug and isn't a blocker for the release.
unnamed_1.png
199 KB View Download
Cc: -khalilcader@chromium.org eugene...@chromium.org
Owner: khalilcader@chromium.org
Khalil, WDYT about Gabe's proposal?
Agreed. Let's show "Untitled".

Comment 8 by ghendel@google.com, Apr 6 2018

Cc: khalilcader@chromium.org
Owner: eugene...@chromium.org
Khalil just agreed offline that "Download" is more indicative than "Untitled"
Ok, it should be possible to use "Download" if web page does not have any navigation items and Download UI is displayed.
Project Member

Comment 10 by bugdroid1@chromium.org, Apr 11 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d3a6034a65b11598d1dfa714b88449dc36ba3641

commit d3a6034a65b11598d1dfa714b88449dc36ba3641
Author: Eugene But <eugenebut@google.com>
Date: Wed Apr 11 17:17:04 2018

Discard download pending items and stop the load.

Omnibox should display the URL for the currently rendered
page (about:blank), not download URL. Also added StopLoading
call to hide the progress indicator.

Bug:  831334 ,  824148 
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: I47eddd9ef7a46480383a60a1425f2c69513cf129
Reviewed-on: https://chromium-review.googlesource.com/1005893
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Eugene But <eugenebut@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549916}
[modify] https://crrev.com/d3a6034a65b11598d1dfa714b88449dc36ba3641/ios/web/web_state/navigation_and_load_callbacks_inttest.mm
[modify] https://crrev.com/d3a6034a65b11598d1dfa714b88449dc36ba3641/ios/web/web_state/ui/crw_web_controller.mm

Project Member

Comment 11 by bugdroid1@chromium.org, Apr 11 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/077e0bc0e138b80bfc79d1a0afaa017469b1761c

commit 077e0bc0e138b80bfc79d1a0afaa017469b1761c
Author: Eugene But <eugenebut@google.com>
Date: Wed Apr 11 22:35:26 2018

Use 'Download' title for empty Download Tabs.

Tabs which don't have any navigation items and display Download Manager
UI will be special cased to show 'Download' title, instead of 'Untitled'

Bug:  824148 
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
Change-Id: If781b5b1aadfaa6ee7eb2181d0f3222bfb812705
Reviewed-on: https://chromium-review.googlesource.com/1006036
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Eugene But <eugenebut@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549958}
[modify] https://crrev.com/077e0bc0e138b80bfc79d1a0afaa017469b1761c/components/new_or_sad_tab_strings.grdp
[modify] https://crrev.com/077e0bc0e138b80bfc79d1a0afaa017469b1761c/ios/chrome/browser/download/download_manager_tab_helper.h
[modify] https://crrev.com/077e0bc0e138b80bfc79d1a0afaa017469b1761c/ios/chrome/browser/download/download_manager_tab_helper_unittest.mm
[modify] https://crrev.com/077e0bc0e138b80bfc79d1a0afaa017469b1761c/ios/chrome/browser/tabs/BUILD.gn
[modify] https://crrev.com/077e0bc0e138b80bfc79d1a0afaa017469b1761c/ios/chrome/browser/tabs/tab.mm

Status: Fixed (was: Assigned)
Status: Verified (was: Fixed)
Verified in:

App Version: 68.0.3398.0 canary
Devices: iPhone 7, iPhone X, iPad Air
iOS Versions: 10.3.3, 11.4 beta 1

'Download' title is displayed for tabs with Download Manager UI.
Downloadmanager_TabTitle.PNG
1.2 MB View Download

Sign in to add a comment