New issue
Advanced search Search tips

Issue 831803 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

P2P sharing: Sharing an un-opened offline page to Gmail does not use its title as the subject

Project Member Reported by carlosk@chromium.org, Apr 11 2018

Issue description

What steps will reproduce the problem?
(1) Open downloads home and share an offline page from there (3-dots)
(2) Choose Gmail as the destination
(3) Note the subject line

What is the expected result?
The title of the page should be used for the email subject.

What happens instead?
The email subject is empty.

The same doesn't happen when sharing an offline page that is opened in a tab.
 
Labels: -Pri-3 Pri-2
Owner: petewil@chromium.org
Status: Assigned (was: Untriaged)
Intent generation is different between these two actions.
This could be related to filling out the share intent differently for the Downloads Home case from the Sharing from a Tab case.
Cc: dtrainor@chromium.org
Sharing a file from DH also does not set the subject. 

DownloadUtils.createShareIntent() does not set the title field when creating the share intent, we also see this on other file types such as .jpg.

OfflinePageUtils.sharePage() uses a ShareParams.Builder which sets the title.  We should see if it makes sense to set the title for downloads too.
Labels: offlie-pages-p2p M-68
Status: Started (was: Assigned)
Status: Fixed (was: Started)
We fixed the case where a single file is shared.  If multiple files are shared, the title is still left blank.

Sign in to add a comment