http://bugs.winehq.org/show_bug.cgi?id=24289
Summary: Office Word 2007 : Drag from native apps, drop to word doesn't work Product: Wine Version: 1.3.1 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: draiwn@yahoo.fr
Created an attachment (id=30598) --> (http://bugs.winehq.org/attachment.cgi?id=30598) Encoding error message after dragging an image into word
Currently it's not possible to drag images into Office Word 2007 from the web / desktop.
A drag'n drop bug has been fixed in 1.3.1 release (http://bugs.winehq.org/show_bug.cgi?id=10815) but it still doesn't works with Office apps.
There is an encoding error message (see the capture below) when images (or other objects) are dragged into word.
http://bugs.winehq.org/show_bug.cgi?id=24289
Rosanne DiMesio dimesio@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |dimesio@earthlink.net Ever Confirmed|0 |1
--- Comment #1 from Rosanne DiMesio dimesio@earthlink.net 2010-09-06 08:27:31 CDT --- Confirming. Also affects Word 2003.
http://bugs.winehq.org/show_bug.cgi?id=24289
draiwn@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|1.3.1 |1.3.2
http://bugs.winehq.org/show_bug.cgi?id=24289
--- Comment #2 from draiwn@yahoo.fr 2010-09-10 01:34:44 CDT --- Bug is still present with 1.3.2 release
http://bugs.winehq.org/show_bug.cgi?id=24289
Wylda wylda@volny.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wylda@volny.cz Version|1.3.2 |1.3.1
--- Comment #3 from Wylda wylda@volny.cz 2010-09-10 01:40:13 CDT ---
Bug is still present with 1.3.2 release
Please don't change initially reported version. Leaving a comment like a comment #2 is enough. See http://wiki.winehq.org/Bugs
http://bugs.winehq.org/show_bug.cgi?id=24289
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |integration CC| |damjan.jov@gmail.com
--- Comment #4 from Damjan Jovanovic damjan.jov@gmail.com 2010-09-10 02:19:46 CDT --- What are you dragging, the GIF/JPEG/PNG/BMP/other image file, or the image pixels? What are these "other objects"?
What applications are you dragging from?
Can you please attach a +xdnd trace?
Only files can be dragged and dropped from X11 at the moment, but it shouldn't be too hard to get XDnD to use the clipboard format conversion code and thus support everything that can be copied and pasted.
http://bugs.winehq.org/show_bug.cgi?id=24289
--- Comment #5 from Rosanne DiMesio dimesio@earthlink.net 2010-09-10 10:25:01 CDT --- Created an attachment (id=30679) --> (http://bugs.winehq.org/attachment.cgi?id=30679) +xdnd dragging jpeg to Word 2003
Attaching a +xdnd trace from trying to drag a jpeg file from Konqueror to Word 2003 in wine-1.3.2-115-gd822555.
Copying and pasting files from Konqueror into Word does not work either--what gets pasted is a hyperlink to the file.
http://bugs.winehq.org/show_bug.cgi?id=24289
--- Comment #6 from Damjan Jovanovic damjan.jov@gmail.com 2010-09-10 14:48:36 CDT --- In the X -> JPEG -> Word 2003 case the following happens:
1. We send a WM_DROPFILES message, which Word apparently ignores since you say it doesn't accept the drop:
trace:xdnd:X11DRV_XDND_SendDropFiles Sending WM_DROPFILES: hWnd(0x0x1006a) 0x18ef94(L"Z:\data\graphics\opensuse_113_label.jpg"
2. Word then looks for numerous data formats.
3. The search either fails because Wine's XDnD only supports HGLOBAL medium types:
fixme:xdnd:XDNDDATAOBJECT_QueryGetData only HGLOBAL medium types supported right now
4. Or the search fails because Wine's XDnD doesn't support anything except files (CF_HDROP):
trace:xdnd:XDNDDATAOBJECT_QueryGetData (0x7e853c00, 0x33c348={.tymed=0x1, .dwAspect=1, .cfFormat=8} trace:xdnd:XDNDDATAOBJECT_QueryGetData application didn't find CF_DIB trace:xdnd:XDNDDATAOBJECT_QueryGetData (0x7e853c00, 0x33c348={.tymed=0x1, .dwAspect=1, .cfFormat=2} trace:xdnd:XDNDDATAOBJECT_QueryGetData application didn't find CF_BITMAP trace:xdnd:XDNDDATAOBJECT_QueryGetData (0x7e853c00, 0x33c348={.tymed=0x1, .dwAspect=1, .cfFormat=15}
5. Word eventually asks for the CF_DROP format we do support:
trace:xdnd:XDNDDATAOBJECT_QueryGetData application found CF_HDROP trace:xdnd:XDNDDATAOBJECT_GetData (0x7e853c00, 0x33d3ac, 0x33d394) trace:xdnd:XDNDDATAOBJECT_GetData application is looking for CF_HDROP trace:xdnd:XDNDDATAOBJECT_QueryGetData (0x7e853c00, 0x33d3ac={.tymed=0x1, .dwAspect=1, .cfFormat=15} trace:xdnd:XDNDDATAOBJECT_QueryGetData application found CF_HDROP trace:xdnd:X11DRV_XDND_DropEvent the application refused the drop
6. And it still mysteriously refuses the drop :-(
Maybe it needs a format other than CF_HDROP to also be present?
But file drag and drop works for foobar2000 and my own tests, so it's not a general bug.
http://bugs.winehq.org/show_bug.cgi?id=24289
--- Comment #7 from Damjan Jovanovic damjan.jov@gmail.com 2010-09-10 14:57:55 CDT --- On bug 10815 someone posted:
drag from X drop to wine (totalcmd) <---- not working drag from wine (totalcmd) drop to X <-----not working
The latter case isn't supposed to work because Wine doesn't support that yet :-).
As for the former case:
trace:xdnd:XDNDDATAOBJECT_QueryGetData (0x68c48c20, 0x32f964={.tymed=0x1, .dwAspect=1, .cfFormat=15} trace:xdnd:XDNDDATAOBJECT_QueryGetData application found CF_HDROP trace:xdnd:XDNDDATAOBJECT_QueryGetData (0x68c48c20, 0x32f964={.tymed=0x1, .dwAspect=1, .cfFormat=49247} trace:xdnd:XDNDDATAOBJECT_QueryGetData application didn't find FileGroupDescriptorW trace:xdnd:X11DRV_XDND_PositionEvent the application refused the drop
Another mysterious drop refusal. Here totalcmd finds CF_HDROP, but it really seems to want FileGroupDescriptorW, and since we don't support it, it could be causing the later failure.
FileGroupDescriptorW is an advanced drag and drop format that allows an application to read abstract files as data streams. Windows Explorer presents it to the application on Windows, but it is very difficult to support in Wine since Linux and MacOS have no similar data format: *nix's X Direct Save and MacOS's promise data flavors work along similar lines of thought but are totally incompatible with FileGroupDescriptorW. Wine would have to use a background thread to pump data behind the scenes or other such.
http://bugs.winehq.org/show_bug.cgi?id=24289
Jerome Leclanche adys.wh@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |adys.wh@gmail.com
--- Comment #8 from Jerome Leclanche adys.wh@gmail.com 2011-04-20 18:06:12 CDT --- Is this still an issue in wine-1.3.18 or more recent?
http://bugs.winehq.org/show_bug.cgi?id=24289
--- Comment #9 from Rosanne DiMesio dimesio@earthlink.net 2011-04-21 06:29:11 CDT --- (In reply to comment #8)
Is this still an issue in wine-1.3.18 or more recent?
Yes.
http://bugs.winehq.org/show_bug.cgi?id=24289
Geoffrey De Belie computergeoffrey@zoho.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |computergeoffrey@zoho.com
http://bugs.winehq.org/show_bug.cgi?id=24289
--- Comment #10 from Rosanne DiMesio dimesio@earthlink.net --- Still present in 1.7.12.
https://bugs.winehq.org/show_bug.cgi?id=24289
--- Comment #11 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.37 or newer) wine? If so, please attach the terminal output in 1.7.37 (see http://wiki.winehq.org/FAQ#get_log).
https://bugs.winehq.org/show_bug.cgi?id=24289
--- Comment #12 from Geoffrey De Belie computergeoffrey@zoho.com --- Still an issue in 1.7.42. Log attached.
This was the test case I did: * Open Word 2010 from the command line: env WINEPREFIX=/home/geoffrey/.wine-office2010 WINEARCH=win32 wine "/home/geoffrey/.wine-office2010/drive_c/Program Files/Microsoft Office/Office14/WINWORD.EXE" * Open Firefox and navigate to a JPG file from the internet * Drag the image into Word
https://bugs.winehq.org/show_bug.cgi?id=24289
--- Comment #13 from Geoffrey De Belie computergeoffrey@zoho.com --- Created attachment 51532 --> https://bugs.winehq.org/attachment.cgi?id=51532 Testcase log with Wine 1.7.42 and Word 2010
https://bugs.winehq.org/show_bug.cgi?id=24289
alexo.veto@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexo.veto@gmail.com