[Bug 2057] When textbox is told to scroll to end of text, it doesn't

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Oct 17 08:35:57 CDT 2008


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





--- Comment #13 from Dylan Smith <dylan.ah.smith at gmail.com>  2008-10-17 08:35:56 ---
Created an attachment (id=16706)
 --> (http://bugs.winehq.org/attachment.cgi?id=16706)
Ensure cursor is visible with redraw turned off

Here is a preliminary fix for the bug.  I would need to spend more time on it
to make sure it is correct, but this should at least identify the problem.

What is happening is that eMule is turning off redraw with WM_SETREDRAW so that
it can make several changes and redraw the screen once. This caused a problem
when the commit that caused the regression put a conditional return statement
in ME_UpdateRepaint before ME_EnsureVisible in order to prevent redrawing the
screen after redraw was turned off.  It seems as if EM_EnsureVisible is what
eMule used to scroll to the end of the text in the log, so without this being
called there was no autoscrolling to the end of the text.


-- 
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