View Issue Details

IDProjectCategoryView StatusLast Update
0014597MMW 5Generalpublic2022-09-14 14:39
Reporterpeke Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status assignedResolutionfixed 
Product Version5.0 
Target Version5.2 
Summary0014597: Drag and Drop: D&D do not work from MMW now playing to Skype chat Window
DescriptionWhen user wants to send MMW file to other user on Skype and D&D file to chat Window Transfer is not initiated. this works in other apps.
TagsNo tags attached.
Fixed in build

Relationships

related to 0014429 closedpetr MMW 5 Drag and Drop to another app fails 
related to 0006187 closedLudek MMW v4 Copy/Paste of thousands of tracks --> lethargic UI 
related to 0014039 closedpetr MMW 5 D&D of files from outside MediaMonkey fails 
child of 0016545 closedpetr MMW 5 File Operation: Basic Drag and Drop, Copy/Paste issues in MM5 

Activities

Ludek

2017-12-22 15:36

developer   ~0049454

Last edited: 2017-12-22 15:46

Based on Petr's note 0014429:0049417 it seems that only URL form is supported?
i.e. we should post them e.g. as file:///C:/MP3/Massive%20Attack/100th%20Window/03%20Everywhen.mp3 ?

Ludek

2017-12-22 15:42

developer   ~0049455

Last edited: 2017-12-22 15:50

@Peke, this sounds like duplicate of 0014429 already fixed by Petr for MM5 ?
Nevertheless it doesn't work for me anyway, putting file:/// also fails to transfer the MP3 to the Skype window (tested on WIndow 7). And it fails also with other apps I've just tested (Foobar, WMP). Which app you tested as working for D&D to the Skype window?

EDIT: It seems that files explorers like Total Commander or Windows Explorer can do this. To be found how they do it.

Ludek

2017-12-22 16:43

developer   ~0049456

Last edited: 2018-01-03 13:33

Using RAW clipboard viewer ( http://www.peterbuettner.de/develop/tools/clipview/index.html ) - TC and Windows Explorer uses some others alternate clipboard formats.
Not only the standard CF_HDROP (15), but also FileName(49158) / FileNameW(49159) and further 8 formats, to find more...

peke

2018-01-01 13:55

developer   ~0049466

Last edited: 2018-01-01 21:15

When testing such issues I always use iTunes, AIMP as mediapps and TC, explorer as file managers. I can confirm that they do not have any issues with Skype.

NOTE: WMP is not an reference anymore in Win 10 due the outdated and mostly buggy and crashing all the time.

Also you can use http://nes.bplaced.net/clipboarder.html a windows 7+ gadget to see content of clipboard

Ludek

2018-01-03 15:48

developer   ~0049478

Last edited: 2018-01-03 16:04

Peke, I was referring clipboard viewer that can show the clipboard data in the RAW form.
AIMP and iTunes also use only CF_HDROP clipboard format so copy/paste a track from AIMP/iTunes to Skype don't work.
Surprisingly D&D (from iTunes/AIMP) works so they probably use another clipboard format when dragging files, but this is harder to reverse engineer.

I've played little bit with clipboard formats that Windows Explorer uses and so far I have tried to include/simulate following clipboard formats (in byte exact forms):

15: CF_HDROP
49158: FileName
49159: FileNameW
49405: DropEffectFolderList
49361: Preferred DropEffect

but Skype still isn't accepting any of the above formats.

Further formats to try are:
49161: DataObject
49305: Shell IDList Array
49746: DataObjectAttributes
49760: DataObjectAttributesRequiringElevation
49360: DropDescription
49387: Shell Object Offsets
49171: Ole Private Data

Maybe "49387: Shell Object Offsets" or "49305: Shell IDList Array" could do the trick, but the structures are not documented so it is time consuming to reverse engineer them.

Moving target to 4.1.21

Ludek

2020-12-22 20:21

developer   ~0061046

Seems to work fine in recent Skype version and recent Windows 10

peke

2021-01-09 19:34

developer   ~0061257

Reopen Not working Again

Video File uploaded to FTP.

Fromm Offline MSGs
"Drag and drop works in Most apps, Only thing is that some apps and Browsers default to MOVE instead of COPY.
Brief look Found out that it is possible to Set Copy Only:
https://developer.mozilla.org/en-US/docs/Web/API/HTML_Drag_and_Drop_API
https://ralzohairi.medium.com/how-to-drag-drop-html-elements-and-files-using-javascript-d31d15279369

Not that good to not screw something along trying, but it looks like it is something for 5.0.1 or 5.1
So 99.9% it works as it should, both with single and multiple files. Great work, much much better than 2291
Skype is one of those 0.1%
Test results can be easily watched using:
Dragging and dropping files (Firefox only): https://jsfiddle.net/9C2EF/
Dragging and dropping files (All browsers): https://jsbin.com/hiqasek/"