Bug #3015
Frame scrolling is broken
0%
History
#1 Updated by Hynek Cihlar about 8 years ago
When frame content is scrolled, it is redrawn with artifacts. This can be reproduced in uast/demo/demo_widgets.p
.
#2 Updated by Hynek Cihlar about 8 years ago
I am adding two cases to be fixed where P2J frame doesn't show scroll bars correctly.
(1)
testcases/uast/lastevent/lastevent_mouse_coords.p - the inner frame f2 must be scrollable (with its size set via the SIZE frame option).
Taken from #1782-124.
(2)
DEF FRAME f WITH SIZE 30 BY 10. DEF VAR cb AS CHAR FORMAT "x(3)" VIEW-AS COMBO-BOX LIST-ITEMS "item1", "item2", "item3", "item4", "item5" SIZE 10 BY 5. ENABLE cb WITH FRAME f SIDE-LABELS. /* the frame must be scrollable at this point */ FRAME f:VIRTUAL-WIDTH = 100. WAIT-FOR GO OF FRAME f.
This is probably another instance of the same issue in (1).
#3 Updated by Hynek Cihlar about 8 years ago
This is note 136 of #1782:
Another issue: after 2226a will be released, you will be able to use mouse events to see the location of i.e. a click event, in the scrolled frame. With scrollable frames, you will see that there are two other issues:
- when scrolling, the scrollbar's thumb size increases when i.e. scrolled down
- the scrolled amount doesn't match the frame's scrollable size: I've reached a point reported as 1000px on the Y axis...
- the widgets are not drawn partially, when scrolled
All these can be seen in the lastevent/lastevent_mouse_coords.p test.
#4 Updated by Vladimir Tsichevski over 1 year ago
- Start date deleted (
03/04/2016) - File 3015.png added
The screens for lastevent_mouse_coords.p
in FWD (left) and OE (right):
besides the missing scrollbars, the layouts differ, and no i
label in the internal frame in FWD.