[Bug 7372] Can't copy and paste between native apps (e.g., Open Office, Firefox, Gimp) and some Wine apps (affects Dreamweaver, Photoshop, Powerpoint, Excel)

wine-bugs at winehq.org wine-bugs at winehq.org
Mon May 12 12:17:09 CDT 2014


http://bugs.winehq.org/show_bug.cgi?id=7372

--- Comment #52 from Damjan Jovanovic <damjan.jov at gmail.com> ---
Created attachment 48499
  --> http://bugs.winehq.org/attachment.cgi?id=48499
Preliminary patch, try 1

Here's a  preliminary patch that should (partially) fix pasting text/html into
Wine:
* Data starting with the UTF-16LE (Firefox) is converted to UTF-8, all other
data is treated as UTF-8 (which is correct for Midori, Konqueror).
* The start/end offsets of the entire text is given as both the HTML and the
Fragment offsets. This is because using -1 as the HTML offsets, which should be
valid, breaks pasting in OpenOffice 1.1.3 running on Wine. This is not entirely
correct, as using offsets other than -1 requires a valid HTML document, but
fixing pasting in OpenOffice.

Instructions:
1. Apply http://source.winehq.org/patches/data/104455
2. Apply http://source.winehq.org/patches/data/104456
3. Apply this patch
4. Test your apps and report back here

Please test as much as you can.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list