https://bugs.winehq.org/show_bug.cgi?id=38924
--- Comment #9 from Damjan Jovanovic damjan.jov@gmail.com --- (In reply to Damjan Jovanovic from comment #8)
(In reply to Stephan Graf from comment #5)
This is not a Tapps specific issue, I reproduced it in wxWidgets sample "dnd". Same behaviour there, standard format works (text, bitmap), but not the custom format (shape). I'd say, custom copy & paste won't work in any wxWidgets based software in wine.
That is disturbing to hear!
I'll have to check this "dnd" sample code in wxWidgets when I have some time. At least it makes it a dogfood bug. Adding "source" keyword.
To reproduce with wxWidgets sample code:
Install the mingw-w64 build environment: 1.1 Download win-builds from http://win-builds.org/ 1.2 wine cmd 1.3 set DISPLAY= (if DISPLAY is set, win-builds tries to use X11 and fails) 1.4 Install make, g++, gcc, etc. under C:\mingw-w64. It will give an error at the end about DeviceIoControl() failing to create reparse points. Ignore it and Alt+F4.
Get and build wxWidgets: 2.1 git clone https://github.com/wxWidgets/wxWidgets.git 2.2 git checkout v3.1.0 2.3 cd build/msw 2.4 wine cmd 2.5 set PATH=C:\mingw-w64\bin;%PATH% 2.6 mingw32-make -f makefile.gcc (long wait)
Build the DND sample code: 3.1 Go to the samples/dnd subdirectory of where you cloned the wxwidgets git 3.2 Edit makefile.gcc and add "-loleacc" at the end of the command that builds $(OBJS)\dnd.exe. 3.3 mingw32-make -f makefile.gcc
Run the DND sample: 4.1 Go to the gcc_mswud/ subdirectory of samples/dnd. 4.2 Run dnd.exe 4.3 A screen will open with various clipboard and drag-and-drop tests. They all work. The problem is on the custom drag and drag test that's in a separate screen, which you get to by choosing "File" -> "New Frame". 4.4 "Shape" -> "New default shape" to generate an ellipse. 4.5 Try to drag and drop the ellipse. 4.6 When you drop it -> CRASH.