bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

No drag-and-drop for dock icon (Other than html)

RESOLVED FIXED in Firefox1.5

Status

()

Firefox
General
P1
normal
RESOLVED FIXED
15 years ago
13 years ago

People

(Reporter: Peter da Silva, Assigned: mano)

Tracking

unspecified
Firefox1.5
PowerPC
Mac OS X
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment, 2 obsolete attachments)

(Reporter)

Description

15 years ago
User-Agent:       
Build Identifier: 

Dropping an object on the dock icon should open a Firefox window with that object (link, file, etc). 
I attempted to drag a link from a Terminal window to the Dock icon, and nothing happened. 
Dragging the link to an open Firefox window opens the link as expected.

Reproducible: Always
Steps to Reproduce:
1.Select a URL in any other program.
2.drag to Firefox Dock icon.
3.drag to open Firefox window.
Actual Results:  
2.link "snapped back" to terminal window
3.link opened in existing window.

Expected Results:  
2.link opened in new window.
3.link opened in existing window.
While dropping files _does_ work for me, dropping urls onto the dock icon does
work for no osx program i know, though it sounds be nice. Perhaps its not even
possible. 

WFM (files) / Wontfix (urls), I think.

Comment 2

14 years ago
wfm per Michael Kurze's testing
Status: UNCONFIRMED → RESOLVED
Last Resolved: 14 years ago
Resolution: --- → WORKSFORME

Comment 3

14 years ago
I think the URL's describe are desktop link/url's ".webloc"

Some files do open like .txt but not .jpg or .gif

Updated

14 years ago
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---

Updated

14 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: minor → normal
*** Bug 269241 has been marked as a duplicate of this bug. ***
Per reporter of bug 269241 : drag-and-drop works for HTML, fails for jpg, gif,
and xpi, but dragging images to Camino's dock icon works.
Assignee: firefox → bugs.mano
Target Milestone: --- → Firefox1.1
(Reporter)

Comment 6

14 years ago
Shockwave Flash doesn't work for the dock icon, but does for the window.
Status: NEW → ASSIGNED
Priority: -- → P1
Summary: No drag-and-drop for dock icon. → No drag-and-drop for dock icon (Other than html)
Kevin, in this patch i used document.icns for images / text; Since the icon is
generic, it's not an issue. Still, it would be nice to have differents icons for
text files and image files, feel free to attach them ;)
I'd rather have someone more Mac-familiar look at this.  Maybe Javier can look?
(In reply to comment #9)
> I'd rather have someone more Mac-familiar look at this.  Maybe Javier can 
look?

Javier is away, trying pinkerton.
Comment on attachment 167906 [details] [diff] [review]
patch

Mike, can you have a look (please note comment 8)?
Attachment #167906 - Flags: review?(mconnor) → review?(pinkerton)

Comment 12

14 years ago
Mano, can we please support txt, css, xul, js, rdf, and webloc (and xpi and swf
maybe?)

at least everything in
http://lxr.mozilla.org/mozilla/source/xpfe/bootstrap/macbuild/Contents/Info.plist
(minus mng/jng)
(In reply to comment #12)
> Mano, can we please support txt, css, xul, js, rdf, and webloc (and xpi and 
swf
> maybe?)
> at least everything in
> 
http://lxr.mozilla.org/mozilla/source/xpfe/bootstrap/macbuild/Contents/Info.plis
t
> (minus mng/jng)

Well, i did add txt, but not xul/css/js, i will add those (i don't think we 
want swf). Do we support weblocs?
Comment on attachment 167906 [details] [diff] [review]
patch

removing review request. I will add a new patch later today.
Attachment #167906 - Flags: review?(pinkerton)
(Reporter)

Comment 15

14 years ago
Why wouldn't you want swf? You can drag swf into an open window, why wouldn't
you want to drag it into the dock.
(In reply to comment #15)
> Why wouldn't you want swf? You can drag swf into an open window, why wouldn't
> you want to drag it into the dock.

flash is a plugin, any other mentioned file type isn't.
Created attachment 167959 [details] [diff] [review]
v2

Note to everyone: Commanand+Option+Drag works for ANY
I'm not including

webloc - Firefox doesn't know to handle this file type (bug #?)
swf    - plugin, needs more tought, later.
xpi    - need to decide what kind of file it is; and sync suite & tb (please
file separate "core" bug against me)
Attachment #167906 - Attachment is obsolete: true
Note to everyone: Commanand+Option+Drag works for ANY file type.

I'm not including (on this bug):
* webloc - Firefox doesn't know to handle this file type (bug #?)
* swf    - plugin, needs more tought, later.
* xpi    - need to decide what kind of file it is; and sync ff, tb & suite
(please file separate "core" bug against me)
Comment on attachment 167960 [details] [diff] [review]
v2

we should try to keep these in sync with the camino ones. there's an open bug
to add a few new types to camino. check there for others.

r=pink.
Attachment #167960 - Flags: review?(pinkerton) → review+
Whiteboard: ready to land
landed by smontagu.

Please file separate bugs for other file types (after disscution, we really
shoudn't enable any file type you may succeed to open) and cc me.
Status: ASSIGNED → RESOLVED
Last Resolved: 14 years ago14 years ago
Resolution: --- → FIXED
Whiteboard: ready to land

Updated

14 years ago
Blocks: 274195
No longer blocks: 266008
*** Bug 266008 has been marked as a duplicate of this bug. ***

Comment 23

13 years ago
*** Bug 316405 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.