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

Issue 714416 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 787472
Owner:
Last visit > 30 days ago
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

All unrecognized file extensions open with Chrome Canary in ARC, but that app has no defaults set

Project Member Reported by michae...@chromium.org, Apr 22 2017

Issue description

Google Chrome	58.0.3029.68 (Official Build) beta (64-bit)
Platform	9334.42.0 (Official Build) beta-channel samus
ARC	3900769

1. Install Chrome Canary through the Play Store app.
2. Create a local file with an unusual extension, like test.asdf (attached).
3. In Files app, double tap the file to open.

Expected: A dialog asking what to open the file with
Actual: Chrome Canary ARC app opens

The Files app context menu for the file lists "Chrome Canary" and "More actions...". Choosing "More actions..." doesn't even include Chrome in the list, only Android apps. I have to drag the file into a tab to view its contents (as plain text).

Choosing a different app (like Text) keeps Chrome Canary as the default.

This happens with every extension I've tested, aside from extensions that normally open in a browser window or a text editor. So .gn, .cpp, .asdf, whatever, they always launch in Chrome Canary.

Note that my Android Apps settings show that Canary has no defaults set, so I can't "clear defaults". I haven't even accepted Canary's initial usage dialog, so the file doesn't open; I just close the app.
 
test.asdf
11 bytes Download

Comment 1 by uekawa@google.com, Apr 24 2017

Cc: nya@chromium.org yusukes@chromium.org djacobo@chromium.org
Owner: kuscher@chromium.org
It seems to me that Chrome Canary ARC app claiming to be able to open everything is an issue ? That would be annoying on Android also if it can't do anything about it.

Some parts of UI sounds wrong, +yusukes, +djacobo

+kuscher: Blocking Chrome from installing would also be an option if the behavior is too unintuitive but if you're shooting your own foot by trying out canary. (does this happen on beta too?)



Cc: kinaba@chromium.org
+kinaba for the Files.app part.

Comment 3 by kinaba@chromium.org, Apr 24 2017

Whether ARC is involved or not, Chrome OS file manager's behavior has been to open
"some" app that declares to open the file, when there's no default is set. When a default
is explicitly set, it opens the default app.

It may be a nice thing to propose to file manager team on inserting a resolver dialog here.



> It seems to me that Chrome Canary ARC app claiming to be able to open everything is an issue ?

I guess what it claims is that it handles "text/plain" MIME type.
Since the unknown extension file (e.g., the attached "test.asdf" looks like a text file,
probably it's mime type is guessed as text/plain in Chrome OS file manager and Chrome ARC app is responding to it.
Owner: mitsuji@chromium.org
Status: Assigned (was: Untriaged)
Assuming that comment#3 is true, blocking Clank doesn't seem like a real solution here. Other browser apps may still do the same.
Mergedinto: 787472
Status: Duplicate (was: Assigned)
Merging this issue into the broader to FR to handle unknown file types.

Sign in to add a comment