Drag And Drop using QDrag on Mac OS X

This forum is about all development around libVLC.
MaxaVadallat
New Cone
New Cone
Posts: 2
Joined: 23 Jun 2015 07:08
Operating System: Mac OS
Contact:

Drag And Drop using QDrag on Mac OS X

Postby MaxaVadallat » 23 Jun 2015 07:29

Hi All,

I'm developing a file manager on mac ; ) I am developing the file drag & drop function using QDrag (http://doc.qt.io/qt-4.8/qdrag.html)
Basically I'm dropping uri list (text/uri-list) mime as the finder does.

It seems to work most of the time, (Finder, Skype, Qt Creator, etc) but for some reason VLC player doesn't seem to accept the drop.
Is there some special way VLC player requires?

Thanks!
Cheers,
Max

MaxaVadallat
New Cone
New Cone
Posts: 2
Joined: 23 Jun 2015 07:08
Operating System: Mac OS
Contact:

Re: Drag And Drop using QDrag on Mac OS X

Postby MaxaVadallat » 26 Jun 2015 11:57

Update:

It seems my drag and drop implementation works if there are already other items in the playlist.
VLC doesn't accept the drop if the playlist is empty. A bug maybe? Does anyone know where should I report it?

Cheers,
Max
Cheers,
Max

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Drag And Drop using QDrag on Mac OS X

Postby Jean-Baptiste Kempf » 09 Jul 2015 22:16

Could be a bug.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 11 guests