Share

wxWidgets

Tracker: Bugs

5 URLDragAndDrop does not work with Ubuntu 6.10 and Firefox - ID: 1619410
Last Update: Comment added ( roebling )

Hello!

There is not much to say but the URLDragAndDrop sample does not work at all
on my system. Neither the dragging to the browser nor the dragging from the
browser to the wxPython application.

The strange thing is that dragging a URL from the browser to the widget
where you are supposed to _start_ a drag from the application works? It
looks to me that something goes utterly wrong here.

Ubuntu 6.10, wxPython 2.8.0.1

Please let me know if somebody can reproduce this problem on Linux.

Best regards
Noel


Noel ( noelbyron ) - 2006-12-20 13:09

5

Open

None

Robert Roebling

wxGTK specific

Platform specific

Public


Comments ( 8 )

Date: 2008-03-01 17:39
Sender: roebling


I have added a wxGTK implementation for wxURLDataObject to TRUNK, I'm not
sure if I can fix 2.8 in a binary compatible way.


Date: 2008-02-25 18:53
Sender: robindProject Admin


Robert, we already have wxURLDataObject, but on non-MSW platforms it is
currently just a simple derivation of wxTextDataObject. Giving it a
specific implementation for wxGTK that uses the same atom type(s) as used
by the common browsers should be all that is needed for this bug.


Date: 2008-02-25 14:23
Sender: pysmAccepting Donations


I've poked Robin about this, because I need it in my application, Phatch
(open source PHoto & bATCH processor):
http://photobatch.stani.be

Phatch can work with local files or web images. Phatch needs
UrlDragAndDrop for two use cases:
- You can drag and drop any image from the web on Phatch GUI or droplet to
apply effects on it (such as round corners, reflection, perspective, ...)
- Part of the program is an EXIF and IPTC metadata inspector for image
files. It should accept images which are dragged and dropped from the
internet, so photographers can quickly compare each other settings.
Screenshot:
http://photobatch.wikidot.com/local--files/image-inspector/image_inspector_exif.png
Documentation: http://photobatch.wikidot.com/image-inspector

Robert, thanks a lot for looking into this.


Date: 2008-02-25 14:03
Sender: roebling


Ok, but this means that well need a special C++ class for this, too, just
like for text, bitmaps and file dnd. I'm not sure what the sense for
dragging a URL is, but accepting would be nice.


Date: 2008-02-22 17:03
Sender: robindProject Admin


It depends on what is standard for the platform for URLs. IIRC on Windows
there is a CFSTR_SHELLURL data format type, but browsers and other
applications typically use a plain text data format as well, so
wxURLDataObject is a composite with both text and CFSTR_SHELLURL formats.

I think that when we first made wxURLDataObject browsers on *nix used
plain text object for dragging URLs, but apparently that has changed
somehow.


Date: 2008-02-22 14:56
Sender: roebling


I've got no idea how this is supposed to work. What wxDataFormat are you
using? Is there one for URLs defined under MSW?


Date: 2008-02-20 00:58
Sender: robindProject Admin


Robert, do you know how to deal with this?


Date: 2008-01-23 14:43
Sender: pysmAccepting Donations


It also doesn't work on Ubuntu 7.10 with wxPython 2.8.4


Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
category_id wxPython specific 2008-02-20 00:58 robind
assigned_to robind 2008-02-20 00:58 robind
category_id Build -- wxPython 2006-12-20 13:10 noelbyron