On 05.12.2012 19:23, w. szukalski wrote:
> I have by-passed that bug:
>
> sub_win = new fltk3::Window(x, y, w, h);
> subwin->begin();
>
> scroll = new fltk3::ScrollGroup(0, 0, w, h);
>
>
> High costs.
>
> winfried

Winfried, many, many thanks for this update. Otherwise your
bug report might have been lost...

Looking back to your original post of Oct 24, I can see that
you did a good analysis of what happened and when. This would
be very valuable as a source for a potential fix. Your
workaround is good for now (although, as you mentioned, with
some costs - adding a subwindow), but this bug *should* be
fixed eventually. Unfortunately 3.0 is work in progress, and
the person who knows best what's going on is Matthias (Matt)
who did the change in svn r 9560, as you found out. It looks
as if this was an effort to make coordinates in fltk 3 zero-
based, as they should be (outside the 1.x compatibility layer),
but something went wrong with it...

Could you please file a bug report (STR) for FLTK 3.0 with the
information you found out, so that we (in this case probably
Matthias) can take care of it later. And please attach your
demo program together with an appropriate image. This would
be very helpful.

http://www.fltk.org/str.php

Thanks for your efforts.

Albrecht


>> Following the advice of Greg Ercolano I have created the
>> directories fltk-3.0.x-r9366 and fltk-3.0.x-r9367.
>>
>> Then I have copied the contents of fltk-3.0.x-r9701 into
>> these directories and called 'make distclean'.
>>
>> Then in fltk-3.0.x-r9366 I have called 'svn update -r9366';
>> and in fltk-3.0.x-r9367 I have called 'svn update -r9367'.
>>
>> Then I have first compiled and installed fltk-3.0.x-r9366,
>> then fltk-3.0.x-r9367.
>>
>> Between fltk-3.0.x-r9366 and fltk-3.0.x-r9367 a bug has been
>> inserted into ScrollGroup.
>>
>> The bug does allow only an origin of (0,0) for a ScrollGroup.
>>
>> The attached file 'group.cxx' shows that with fltk-3.0.x-r9366
>> a BMP file can be scrolled; but with fltk-3.0.x-r9367 scrolling
>> the BMP file shows a broken image.
>>
>> My BMP file has a size of 720x486 to allow scrolling.
>>
>> winfried

_______________________________________________
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to