Open Bug 1263356 Opened 8 years ago Updated 2 years ago

Recent used external applications list (open with..) doesn't appear when downloading a file

Categories

(Firefox :: File Handling, defect, P3)

Unspecified
Windows
defect

Tracking

()

People

(Reporter: fireattack, Unassigned)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0
Build ID: 20160404120533

Steps to reproduce:

I always assign x-bittorrent to a external application, which looks like:

  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/x-bittorrent"
                   NC:path="D:\Program Files\Thunder Network\Thunder\Program\Thunder.exe"
                   NC:prettyName="Thunder.exe" />

 in mimeTypes.rdf




Actual results:

However, this information keeps losing. I have to re-assign it every once in a while.


Expected results:

I shouldn't keeps losing.

I have sync enabled and use two different computers frequently if it matters.
Component: Untriaged → File Handling
Product: Firefox → Core
Ok it's more complicated than that. I still have 

  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/x-bittorrent"
                   NC:path="D:\Program Files\Thunder Network\Thunder\Program\Thunder.exe"
                   NC:prettyName="Thunder.exe" />

in my mimeTypes.rdf, but when trying to open a torrent it still asks you to choose the operation and lost the preference (thunder.exe).
OK i have the repro steps now.

1. Create a new profile.
2. Open http://www.slackware.com/torrents/ (legal)
3. Click one of the torrent.
4. In the dialog, choose "Open with" and choose a application (for example, utorrent).
5. Do not check "Do this automatically for files like this from now on".
6. Click "OK".

7. Now, click another torrent.

Excepted behavior: in the dialog, the default value for "open with" should be utorrent and a drop-down menu of recent used applications should be there.

Unexpected: in the dialog, there is no drop-down menu. It still shows only "Browse.. (application)" button. However, if you click it and DON'T CHOOSE ANYTHING BUT DIRECTLY CANCEL, that drop-down menu will appear.
OS: Unspecified → Windows
Summary: Keeps losing externalApplication association in mimeTypes.rdf → Recent used external applications list (open with..) doesn't appear when downloading a file
Version: 46 Branch → Trunk
Product: Core → Firefox
Version: Trunk → unspecified
(In reply to Benjamin Peng from comment #2)
> OK i have the repro steps now.
> 
> 1. Create a new profile.
> 2. Open http://www.slackware.com/torrents/ (legal)
> 3. Click one of the torrent.
> 4. In the dialog, choose "Open with" and choose a application (for example,
> utorrent).
> 5. Do not check "Do this automatically for files like this from now on".
> 6. Click "OK".
> 
> 7. Now, click another torrent.
> 
> Excepted behavior: in the dialog, the default value for "open with" should
> be utorrent and a drop-down menu of recent used applications should be there.
> 
> Unexpected: in the dialog, there is no drop-down menu. It still shows only
> "Browse.. (application)" button. However, if you click it and DON'T CHOOSE
> ANYTHING BUT DIRECTLY CANCEL, that drop-down menu will appear.

I cannot use above steps to reproduce Bug on FFx 48 (Windows 7 & Ubuntu 14.04)
I would like to close this bug if reporter also cannot reproduce on latest Firefox release build

@ Benjamin, sorry for the late response.
Can you still reproduce it?
Flags: needinfo?(human.peng)
Priority: -- → P2
I can still reproduce this bug.

But I think I missed a step in my STR.

before testing you need to make sure torrent file hasn't been associated with any application in your system yet. 

The fast way to assure this is go regedit.exe and delete HKEY_CLASSES_ROOT\.torrent.

Then, when you create a new profile it would start like this: http://i.imgur.com/CQoi7jB.png
Flags: needinfo?(human.peng)
It seems to me that it's not a normal user scenario and software registration might cause this issue.
Set priority to P3 for further investigation.
Priority: P2 → P3
Well, it IS normal if users never get the chance to associate that particular file type to any application. For example, if they just installed a brand new OS. Deleting registry is just a easier way to reproduce that.

And in case of torrent, it may be uncommon to not have an application associated to it; but it could be normal for rare extensions.
By the way, since it has been a long time since I reported this bug, I *think* thing has been changed.

IIRC, before even if the particular file type is already associated, this bug would still happen. Thankfully it's better now.
See Also: → 1322100
Attached image Bug showcase
Still bugged.

A quick GIf to show it.
The funny thing is, if you click "OK" regardless, it can proceed to open with the last-used application successfully. It's just that the UI is bugged.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: