New issue
Advanced search Search tips

Issue 725199 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

Deleting Gmail while Gmail is the default mailto: handler should auto-deselect Gmail

Project Member Reported by pkl@chromium.org, May 22 2017

Issue description

App Version (from "Chrome Settings > About Chrome"): ToT
iOS Version: iOS 10.3.2 
Device: iPhone 5S

Steps to reproduce: 
- Install Gmail.
- In Tools > Settings > Content Settings > Compose Email, set Gmail as the default.
- Quit Chrome
- Delete Gmail app
- Launch Chrome

Observed behavior: 
- In Tools > Settings > Content Settings > Compose Email, see that Gmail is still set as the default even though the app is no longer installed.

Expected behavior: 
- Default should change to system-provided Mail client app.

Frequency: 
<number of times you were able to reproduce> 

Additional comments: 
If you tap on a mailto:// link, Chrome opens the system-provided Mail client app.

 

Comment 1 by pkl@chromium.org, May 22 2017

Labels: -Restrict-View-Google

Comment 2 by pkl@chromium.org, May 23 2017

Status: Started (was: Assigned)
Project Member

Comment 3 by bugdroid1@chromium.org, May 24 2017

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

commit eec3be70d963ed697890c612db35332d84bbbfb5
Author: pkl <pkl@chromium.org>
Date: Wed May 24 16:10:53 2017

Revert to system Mail app if current default Mail app is no longer there

If NSUserDefaults refers to a Mail client app that is no longer
installed, report the system Mail client app as the default Mail client.

BUG= 725199 
TEST=Have Gmail installed and set it as the default. Then delete Gmail app and verify that system Mail app is now reported as the default.

Review-Url: https://codereview.chromium.org/2904663003
Cr-Commit-Position: refs/heads/master@{#474314}

[modify] https://crrev.com/eec3be70d963ed697890c612db35332d84bbbfb5/ios/chrome/browser/web/mailto_url_rewriter.h
[modify] https://crrev.com/eec3be70d963ed697890c612db35332d84bbbfb5/ios/chrome/browser/web/mailto_url_rewriter.mm
[modify] https://crrev.com/eec3be70d963ed697890c612db35332d84bbbfb5/ios/chrome/browser/web/mailto_url_rewriter_unittest.mm

Comment 4 by pkl@chromium.org, May 25 2017

Status: Fixed (was: Started)

Comment 5 by pkl@chromium.org, May 25 2017

Labels: M-60
Status: Verified (was: Fixed)
verified the issue on the canary 60.0.3112.7 canary tested on iPhone5S(iOS 10).
Default mail app is selected in content settings on deleting gmail app,works fine

Sign in to add a comment