[Bug 16349] Text is garbled in Teach 2000
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Dec 22 11:05:51 CST 2008
http://bugs.winehq.org/show_bug.cgi?id=16349
Dylan Smith <dylan.ah.smith at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dylan.ah.smith at gmail.com
--- Comment #10 from Dylan Smith <dylan.ah.smith at gmail.com> 2008-12-22 11:05:50 ---
I looked into this a bit more, and found that it probably isn't a bug in
handling EM_STREAMIN. I found that the rich text being streamed in when
processing EM_STREAMIN was truncated for builtin richedit, but not for native
richedit.
I added some print statements to SPY_DumpStructure for EM_STREAMIN to dump the
rich text before being given to the EM_STREAMIN processing code in the richedit
controls. I also recorded the error returned (since no rich text would be left
for either control), which was consistent between native and builtin. I got
the following inconsistent rich text.
---------- RTF streamed in to Wine ----------
{\rtf1\ansi\ansicpg1252\deff0\deflang1043{\fonttbl{\f0\froman\fprq2\fcharset1
Tahoma;}{\f1\fswiss\fcharset0 Arial;}{\f2\fswiss\fprq2\fcharset1 Tahoma;}}
{\colortbl ;\red0\green0\blue255;\red255\green0\blue0;}
{\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\tx3408\f0\fs16 Wine
RichEdit selection bug
---------- RTF streamed in to Windows ----------
{\rtf1\ansi\ansicpg1252\deff0\deflang1043{\fonttbl{\f0\froman\fprq2\fcharset1
Tahoma;}{\f1\fswiss\fcharset0 Arial;}{\f2\fswiss\fprq2\fcharset1 Tahoma;}}
{\colortbl ;\red0\green0\blue255;\red255\green0\blue0;}
{\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\tx3408\f0\fs16 Wine
RichEdit selection bug.\f0\par
Click the button /b/ to make (a part of) this text Bold.\f0\par
\f0\par
Bold is displayed as BBCode, semi WYSIWYG.\f0\par
\cf1 [b]\b \cf0 \b0 \f0\par
}
----------------------------------------
There must be some other problem before the EM_STREAMIN message is sent that is
causing the rich text to be truncated.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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