Last-used Android app is not picked as the default app when no explicit default is chosen |
||||
Issue description
Chrome Version: 65.0.3325.67
Chrome OS Version: 10323.31.0
Steps To Reproduce:
(1) Install 2 or more Android apps that can handle an audio file.
For example, "VLC for Android" and "Play Music".
(2) Open a .wav file in the Files app by double-clicking it.
(3) See the task chooser dialog is shown. (This will no longer appear if you have ran any of the apps. So this needs to be tested with a clean user profile.)
(4) Choose the Play Music app. Close Play Music.
(5) Select the .wav file and "Open with.."
(6) Choose the VLC app. Close the app.
(7) Double-click the .wav file in the Files app.
Expected Result:
The file opens with VLC app.
Actual Result:
The file opens with Play Music.
How frequently does this problem reproduce?
Not sure. May depend on the environment.
What is the impact to the user, and is there a workaround? If so, what is
it?
User can choose the default app with "change default..." menu to explicitly change the default. After that, that choice will always be applied.
Background:
https://bugs.chromium.org/p/chromium/issues/detail?id=751950#c9
When the explicit "default" app has not chosen yet for the file type/ext., it will pick the last-used app among candidates. If no one was used before, it will show the task chooser dialog box.
It seems lastExecutedTime_ passed to FileTasks.getDefaultTask is not sorted by descending order in case of Android apps.
,
Feb 16 2018
Yes, we'll add the audio player and the Office Editing extension to be the default initially, for the file types handled by those. ( Issue 810986 ) However we will need to examine this for other types of files that is not covered by them. I don't have a verified concrete example, but for example, a binary .stl file (surface list data for 3D models) would not be supported by none of built-in apps but there can be multiple Android apps that handles this type.
,
Feb 22 2018
,
Feb 28 2018
,
Mar 15 2018
|
||||
►
Sign in to add a comment |
||||
Comment 1 by weifangsun@chromium.org
, Feb 15 2018