Cannot change default app when no default app exists |
||||||||||
Issue descriptionSplit from Issue 810986 . Chrome Version: 66.0.3348.0 Chrome OS Version: Chrome OS Platform: SAMSUNG Chromebook Pro Steps To Reproduce: (1) Install VLC for Android (2) Open a folder containing a .wav file in the Files app. (3) Select the file by a single click on the file name (4) See "Open with..." combo button appears in the action bar. (not "OPEN" button.) (5) Expand the button Expected Result: The menu has "Change default..." item. Actual Result: The menu doesn't have "Change default..." item. Just the candidate apps are listed. How frequently does this problem reproduce? (Always, sometimes, hard to reproduce?) This happened after installing an account to a new device. However it stopped happening after using it for a while and rebooting. (this needs investigate more exact repro steps.)
,
Feb 15 2018
I found this always happen when there is no default app but multiple apps.
FileTasks.prototype.updateOpenComboButton_ assumes that not having defaultTask indicates not having any apps (non-generic handler) installed, but it's no longer true.
// If there exist non generic task (i.e. defaultTask is set), we show
// an item to change default task.
if (this.defaultTask_) {
One may need to do this way for verification, so as to virtually remove the user's choice of the default app:
(1) Install VLC for Android (or any 3rd-party app that can handle .wav).
(2) Change the default app to it.
(3) Uninstall VLC for Anrdoid.
(4) Navigate to the directory containing .wav again, select the file and see the tool bar.
,
Feb 16 2018
,
Feb 16 2018
,
Feb 22 2018
,
Feb 28 2018
,
Feb 28 2018
,
Feb 28 2018
,
Apr 19 2018
,
Oct 23
|
||||||||||
►
Sign in to add a comment |
||||||||||
Comment 1 by yamaguchi@chromium.org
, Feb 15 201835.2 KB
35.2 KB View Download