http://bugs.winehq.org/show_bug.cgi?id=18214
Dylan Smith dylan.ah.smith@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED AssignedTo|wine-bugs@winehq.org |dylan.ah.smith@gmail.com Ever Confirmed|0 |1
--- Comment #2 from Dylan Smith dylan.ah.smith@gmail.com 2009-07-16 17:47:48 --- Created an attachment (id=22405) --> (http://bugs.winehq.org/attachment.cgi?id=22405) Tests that I used to create my patch
The problem was mostly that the richedit controls weren't paying attention to the WS_VSCROLL or WS_HSCROLL window styles. I also noticed that the vertical scrollbar wasn't correctly disabled on initialization.
I created the attached set of tests to figure out the correct behaviour, however, I wrote these tests based on the bugs in user32, so they break in windows (See wine_todo statements in user32/tests/scroll.c). Instead I tested using native riched20 override, or using builtin richedit control with the crosstests on windows. It seemed too complicated to fix up the tests to send them in, since it would involve breaking up the macros to add wine_todo statements, and conditions for the different behaviour for win9x, all to deal with the user32 bugs with existing tests for them.
I sent in the following to wine-patches to fix this bug: http://www.winehq.org/pipermail/wine-patches/2009-July/076030.html http://www.winehq.org/pipermail/wine-patches/2009-July/076031.html