http://bugs.winehq.org/show_bug.cgi?id=29592
Bug #: 29592 Summary: Problems with text fields & scrollbars Product: Wine Version: 1.3.36 Platform: x86-64 URL: http://cd.textfiles.com/infomagic/imagic4pak5/disk3/Mi scellaneous-Utilities/ebot_einstall.exe OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: markk@clara.co.uk Classification: Unclassified
Wine seems to have several issues with some types of text field. They are probably related so I'll describe them all here.
One program which shows these problems can be downloaded from http://cd.textfiles.com/infomagic/imagic4pak5/disk3/Miscellaneous-Utilities/...
Run ebot_einstall.exe then click Next to show the license agreement. The agreement is in a text field/box with a scrollbar to the right.
First issue: The view is initially positioned at the bottom; it should be at the top. (The flashing cursor/caret at the end of the text is also present on Windows. It seems Wine sets the initial view position so the caret is shown, whereas Windows does not?)
Second issue: Move the mouse pointer outside the window and click to de-activate it. Move the pointer back over the ebot_einstall window (not over the text box) and click to activate it. Notice how all the text is now highlighted; it shouldn't be.
Third issue: Run ebot_einstall.exe and click Next. (At this point, the contents of the text field are not highlighted.) Click and drag the scrollbar knob upwards. Notice how the text field immediately moves to show the top of the document, and the view position remains there as you move the knob up and down. If you release the mouse button when the knob is half-way down the scrollbar, it jumps back to the top.
Fourth issue: After doing the test in the third issue above, move the mouse pointer so it's about 3/4 of the way down the scrollbar. Click the mouse button repeatedly. Notice that the text in the box pages down each time, but when the scrollbar knob is under the mouse pointer, clicking again causes it to jump back to the top. (On Windows the knob does not move in that case.) Thus clicking over and over causes the view to cycle down a page then back to the top again and again.
Fifth issue: On Windows, when you page the view up or down by clicking in the scrollbar above or below the knob, the view moves by one line less than a page. For example when paging down, the view moves so the previously-lowest visible line becomes the uppermost visible line. On Wine, the view moves by a whole page each time.
Sixth issue: On Windows, pressing the Page Up or Page Down key causes the view to move by a page (less one line as mentioned above). In Wine however, pressing those keys causes the caret to move. Press PgUp/PgDown until you're roughly in the middle of the document. Then press PgUp/PgDown alternately. Notice the view only moves up and down by one line because of that.