SYSTEM: Linux-2.6.33, X11-7.5, fltk-1.3.x-r7664

An image viewer has an Fl_Group as its canvas. The Fl_Group
is resizable ('main_win->resizable(canvas);'). The geometry of
the images permanently changes. It seems, the Fl_Group cannot
follow these changes.

Example:

Image 1. 100 x 100 OK
Image 2.  50 x 100 The right 50:100 of image 1 remain visible.
Image 3. 100 x  50 OK. The height has changed.
Image 4.  50 x  50 The right 50:100 of image 3 remain visible.
Image 5. 100 x  50 OK
Image 6.  50 x 100 OK. The height has changed.
Image 7. 100 x 100 The right 50:100 are INVISIBLE.

When I overlay the right invisible half of image 7 with a
File Chooser

 a) partly e.g. 70:100 and cancel the File Chooser, only the
    part 70:100 becomes visible. The stripe 50:70 remains
    invisible.

 b) completely, the invisible half becomes visible completely.

Is this a bug in the fltk-1.3 library?

The same behaviour can be observed width fltk-1.1.10; fltk-2.0
behaves as wanted: no visibility problem. The fltk::Group shrinks
and extends nicely.

The program fltk-1.3.x-r7664/test/tree seems to behave similarly:

1. I resize the main window down: the widgets at the bottom go down.
2. I resize the main window up: some widgets at the bottom are
   invisible now.
3. I slighly resize the main window horizontally: the invisible
   widgets are visible again.

winfried
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to