New issue
Advanced search Search tips

Issue 812490 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Cannot change default app when no default app exists

Project Member Reported by yamaguchi@chromium.org, Feb 15 2018

Issue description

Split 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.)
 
openwith_nodefault.png
35.2 KB View Download
Status: Started (was: Unconfirmed)
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.
Owner: ----
Status: Available (was: Started)
Summary: Cannot change default app when no default app exists (was: Cannot change default app to open .wav file)
Labels: Hotlist-GoodFirstBug

Comment 5 by sashab@chromium.org, Feb 22 2018

Labels: CrOS-FilesApp-FileIntents

Comment 6 by sashab@chromium.org, Feb 28 2018

Labels: -CrOS-FilesApp-FileIntents CrOSFilesFeature-FileIntents
Labels: M-69
Labels: -M-66
Labels: -M-69
Cc: weifangsun@chromium.org
Owner: adanilo@chromium.org
Status: Assigned (was: Available)

Sign in to add a comment