New issue
Advanced search Search tips

Issue 799686 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner: ----
Closed: Sep 27
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Strange behavior seen in Files app - a *.ts file placed in Downloads folder appears in Videos folder

Reported by richard....@gmail.com, Jan 6 2018

Issue description

Chrome Version       : 63.0.3239.116
OS Version: 10032.75.0
URLs (if applicable) :
Other browsers tested:
  Add OK or FAIL after other browsers where you have tested this issue:
     Safari: Not applicable
    Firefox: Not applicable
    IE/Edge: Not applicable

Here is a description of a strange chromeOS bug (or is it a feature???)

See if you can duplicate it.

Try the following on your Pixelbook (this is what I did)

1. In your Downloads folder, create a file called junk.ts or any file with a ts extension.  You can put any content you wish in the file.  The ts extension is used for TypeScript files.  TypeScript is a programming language that is an extension of JavaScript, and I use it a lot.

2. Using the Files app on your Pixelbook or Chromebook, notice that a copy of (or reference to) junk.ts has been created in your Videos folder, perhaps in a subfolder of Videos.  You will not be able to delete the file from there.

3. Go back to your Downloads folder and delete the junk.ts file

4. Go back to your Videos folder and note that the junk.ts file has been deleted.

While this is not a horrible bug, I think that it is still worth investigating and fixing, 


There must be some file association that automatically associates some video property to files having a ts extension.  It is known that there are at least two uses of the ts file extension; 1. It is used for TypeScript files.  2.  It is used for video stream files


Is there any way to override this behavior so that files with ts extensions that are stored in the Downloads folder are not also seen in the Videos folder?

What is the expected result?  A TypeScript file with extension .ts that is placed in the Downloads folder should not also appear in the Videos folder.  That is very misleading. 


What happens instead of that?  The TypeScript file with extension .ts that is placed in the Downloads folder also appears in the Videos folder.


Please provide any additional information below. Attach a screenshot if
possible.

UserAgentString: Mozilla/5.0 (X11; CrOS x86_64 10032.75.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.116 Safari/537.36



 
Components: Platform>Apps>FileManager

Comment 2 by fukino@chromium.org, Feb 20 2018

Cc: nya@chromium.org fukino@chromium.org
Status: Untriaged (was: Unconfirmed)
<files-triage>
nya@, is it expected that *.ts files (typescript file) are shown in media view's video folder?
Is it due to an installed app's behavior?

Comment 3 by nya@chromium.org, Feb 20 2018

Status: ExternalDependency (was: Untriaged)
Thanks for reporting this issue.

As described in the first comment, *.ts is also used for MPEG-TS files, that's why *.ts appear in Video.

Since Files.app media view is based on Android MediaProvider, it's rather Android issue. I could reproduce this issue on pure Android phone by downloading TypeScript file with Android Chrome (downloaded ts file appear as a broken image in Android file picker).

I've filed a bug to Android. b/73618257 (sorry, not visible to public)

Comment 4 by fukino@chromium.org, Feb 20 2018

nya@, thank you for a quick response and filing the Android issue!

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

Labels: CrOS-FilesApp-ARC

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

Labels: -CrOS-FilesApp-ARC CrOSFilesFeature-ARC
Status: Fixed (was: ExternalDependency)
b/73618257 is now Fixed.

Sign in to add a comment