http://bugs.winehq.org/show_bug.cgi?id=21661
Summary: RichEdit: Wrong behaviour when formating an empty selection Product: Wine Version: 1.1.37 Platform: x86 URL: http://www.teamviewer.com OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: richedit AssignedTo: wine-bugs@winehq.org ReportedBy: caliga@arcor.de
In our Software TeamViewer, a Richedit control is used to display chat messages. The nick names are colored green or blue, the text should remain black. This works in general... But if one side sends several chat messages in row, the nick name is omitted (by TeamViewer). And then, an empty selection (where the nickname would be) is formated green or blue. It seems, that if this happens the second time, something is screwed up and the color becomes the default color...
Of course TeamViewer could just NOT format the empty selection with EM_SETCHARFORMAT, (and this will be done in an upcoming release), but still this is a wine bug, I think.
To reproduce, start a remote support session in TeamViewer from your Linux-box to a different TeamViewer, then click on Audio/Video/Chat and type three or more messages.
http://bugs.winehq.org/show_bug.cgi?id=21661
--- Comment #1 from Austin English austinenglish@gmail.com 2010-02-09 11:16:06 --- Terminal output?
http://bugs.winehq.org/show_bug.cgi?id=21661
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |trivial
--- Comment #2 from Vitaliy Margolen vitaliy@kievinfo.com 2010-02-09 21:50:49 --- http://bugs.winehq.org/page.cgi?id=fields.html#bug_severity
http://bugs.winehq.org/show_bug.cgi?id=21661
--- Comment #3 from Daniel Stiefe1maier caliga@arcor.de 2010-02-10 08:39:41 --- Created an attachment (id=26184) --> (http://bugs.winehq.org/attachment.cgi?id=26184) terminal output with +richedit
I attached the terminal output with +richedit.
From the remote machine I sent three messages:
128492xxx (14:45): foo bar foobar
The third message (line 4) is colored green, but should be black. Only the first line should be green.
http://bugs.winehq.org/show_bug.cgi?id=21661
--- Comment #4 from Dylan Smith dylan.ah.smith@gmail.com 2010-06-14 11:48:37 --- Created an attachment (id=28830) --> (http://bugs.winehq.org/attachment.cgi?id=28830) richedit: Clear temp style even when ENM_SELCHANGE isn't used.
The temporary style is used for setting the format of empty selections or to preserve the format during certain text insertions like typing. For some reason clearing the temporary style seemed to be dependent on an event mask having the ENM_SELCHANGE flag.
I tried modifying Wine's wordpad to not use the ENM_SELCHANGE event mask flag, and found this behaviour to be inconsistent with native wordpad. Fixing this inconsistency would probably fix this bug. If you could test with this patch then that would be great.
http://bugs.winehq.org/show_bug.cgi?id=21661
Dylan Smith dylan.ah.smith@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch CC| |dylan.ah.smith@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=21661
--- Comment #5 from butraxz@gmail.com 2013-05-25 09:44:23 CDT --- No update for over 900 days. Is this still and issue in 1.5.31 or higher or is this abandoned ?
https://bugs.winehq.org/show_bug.cgi?id=21661
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=21661
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |Abandoned?
https://bugs.winehq.org/show_bug.cgi?id=21661
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|Abandoned? |
https://bugs.winehq.org/show_bug.cgi?id=21661
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #6 from super_man@post.com --- The patch still applies
patching file dlls/riched20/caret.c Hunk #1 succeeded at 1509 (offset -25 lines). Hunk #2 succeeded at 1529 (offset -25 lines).
wine 1.7.51(git)
https://bugs.winehq.org/show_bug.cgi?id=21661
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #7 from joaopa jeremielapuree@yahoo.fr --- Still a bug with wine-4.19?