[Bug 6148] New: since 0_9_18 edit fields are cleared when clicking in them
http://bugs.winehq.org/show_bug.cgi?id=6148 Summary: since 0_9_18 edit fields are cleared when clicking in them Product: Wine Version: CVS Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-richedit AssignedTo: wine-bugs(a)winehq.org ReportedBy: mteske(a)imagnos.com This is happening with "Action Request System" (ARS) software by Remedy, unfortunately not free. When clicking into a text field which already has text in it, the text is cleared. Through trying several versions of riched20.dll, I found out that this happened between 0_9_17 and 0_9_18. The problem is in the WM_SETFONT-handling. With trial-and-error I found that there the if (bRepaint) ME_UpdateRepaint(editor); causes the problem. If I replace it with if (bRepaint) { /*ME_SendOldNotify(editor, EN_CHANGE);*/ ME_Repaint(editor); ME_SendOldNotify(editor, EN_UPDATE); ME_SendSelChange(editor); } everything works, so ME_SendOldNotify(editor, EN_CHANGE); seems to cause the problem. Unfortunately I couldn't find what that does yet... Let me know if you need any traces. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
participants (1)
-
Wine Bugs