s***@arcor.de
2014-05-22 21:02:17 UTC
I have written an image viewer that uses FLTK-1.3 .
On MS-WINDOWS (Win7) the origin of the image window is fixed at
the current position and the image window height and/or width
changes with the width and height of the image.
On LINUX I use fvwm 2.6.5 .
With LINUX I have a severe problem: the image window hops around
like a frog when the image window height and width changes with the
width and height of the image. I have sent an EMAIL to the list
https://groups.google.com/forum/#!forum/fltkgeneral
Seems to work OK for me (testing on F17 and ubuntu-13.10) -
what does the resize demo form the test folder do? Does it work?
I guess even if there are multiple widgets in the container,
it might be worth taking a look at init_sizes() after forcing
a re-size, in case the widgets are "remembering" their initial
states...
I have made a test. I have compiled and installed XFCE-4.10 and
found, that the image viewer shows the same stable behaviour as
with MS-WINDOWS: the window origin remains fixed while the width
and/or height of the image viewer changes.
Is it possible to configure FVWM such that the origin of the FLTK
window does not change?
winfried
On MS-WINDOWS (Win7) the origin of the image window is fixed at
the current position and the image window height and/or width
changes with the width and height of the image.
On LINUX I use fvwm 2.6.5 .
With LINUX I have a severe problem: the image window hops around
like a frog when the image window height and width changes with the
width and height of the image. I have sent an EMAIL to the list
https://groups.google.com/forum/#!forum/fltkgeneral
This does not fix the window at the (x,y) position and the window
hops around like a frog when the width/height of the still image
changes.
That's odd.hops around like a frog when the width/height of the still image
changes.
Seems to work OK for me (testing on F17 and ubuntu-13.10) -
what does the resize demo form the test folder do? Does it work?
The problem is with LINUX.
So what can I do turn this frog into an window?
Are there nested windows or some thing like that?So what can I do turn this frog into an window?
I guess even if there are multiple widgets in the container,
it might be worth taking a look at init_sizes() after forcing
a re-size, in case the widgets are "remembering" their initial
states...
found, that the image viewer shows the same stable behaviour as
with MS-WINDOWS: the window origin remains fixed while the width
and/or height of the image viewer changes.
Is it possible to configure FVWM such that the origin of the FLTK
window does not change?
winfried