Closed Bug 302594 Opened 19 years ago Closed 7 years ago

Can't drag XPIs to Firefox's dock icon

Categories

(Firefox :: Shell Integration, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jruderman, Unassigned)

References

Details

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050728
Firefox/1.0+

Steps to reproduce:
1. Save an XPI to the desktop.
2. Drag it to Firefox's dock icon.

Result: The file snaps back.

Expected: Firefox icon should get darker on drag+hover, and an XPI installation
dialog should appear.

Tested with:
* The attachment on
http://www.mozdev.org/pipermail/greasemonkey/2005-July/004532.html, renamed to
have an .xpi extension
* The XPI on http://www.squarefree.com/extensions/thumbs/.

Firefox was open when I tested.  I haven't tested with Firefox closed.

Firefox's dock icon does accept text file and HTML file drags.
Josh, Mike, is this something we should allow?
Assignee: nobody → bugs.mano
Target Milestone: --- → Firefox1.1
Just for reference, the following UI mechanisms work for installing XPIs on all
platforms:

 - using the install button in extension/theme manager
 - drag the XPI onto the extension/theme manager
 - drag the XPI into a window/tab
 - "Open File ..." and point to the XPI

(note: dragging the XPI onto the URL bar doesn't work)

Modulo any security concerns that I'm unaware of, I think we should probably
support this behaviour as well as support drag-and-drop of the xpi onto the URL
bar (since we support "Open File ...").
Just for reference, the following UI mechanisms work for installing XPIs on all
platforms:

 - using the install button in extension/theme manager
 - drag the XPI onto the extension/theme manager
 - drag the XPI into a window/tab
 - "Open File ..." and point to the XPI

(note: dragging the XPI onto the URL bar doesn't work)

Modulo any security concerns that I'm unaware of, I think we should probably
support this behaviour as well as support drag-and-drop of the xpi onto the URL
bar (since we support "Open File ...").
Status: NEW → ASSIGNED
Priority: -- → P2
As an added data point, without this sort of drag and drop functionality, it's
awfully hard to install XPIs that were downloaded/emailed/landed on the users
file system through some means. Presumably this is because the preferred way of
installing extensions is through addons.mozilla.org, but it strikes me as odd
that the EM has no explicit mechanism for installing from filesystem.

That's a seperate bug, likely. :)
Priority: P2 → P1
Target Milestone: Firefox1.5 → Firefox1.6-
is this dependent on bug 222185?
Assignee: mano → nobody
Status: ASSIGNED → NEW
Priority: P1 → --
Target Milestone: Firefox 2 → ---
Note: that would have to be handled by a drag and drop handler and likely core -> widget code and not shell integration.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.