http://bugs.winehq.org/show_bug.cgi?id=12311
Alex Villacís Lasso a_villacis@palosanto.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #13022|0 |1 is obsolete| | Attachment #13024|0 |1 is obsolete| | Attachment #13081|0 |1 is obsolete| |
--- Comment #8 from Alex Villacís Lasso a_villacis@palosanto.com 2008-06-30 16:05:57 --- Created an attachment (id=14487) --> (http://bugs.winehq.org/attachment.cgi?id=14487) richedit: do not read actual scrollbar state for scrollbar update, use internal state instead
Previous patches were incorrect. The root cause of the bug is that native ignores the current scroll range of the scrollbars, but builtin reads the actual state of the bars. When the app forces visibility, the resulting WM_SIZE does nothing to native, since it operates from some internal copy. Builtin attempts to restore invisibility from text range, but then the app again forces visibility, with the end result of a recursive message loop. Attached patch fixes and tests for this behavior.