On 14.07.2017 06:20
szuk...@arcor.de wrote:
> @greg, @ian, @albrecht,
> it is impossible to offer 'a small compilable program':
You mentioned 'flimage' and I found this link (and article) posted by you:
http://www.fltk.org/links.php?V396
Is your program open source?
If yes: you could try to post the link to the current code. Maybe
someone might try to test, but it's unlikely that one of us would
inspect code that is too long to view and understand in a short time.
If no: how can the license mentioned in the above article be "FLTK
license". FLTK's license is LGPL with exceptions, which is an open
source license. Please fix the License entry in the listing.
> But the difference between 1.3.4-1 and 1.4.x-r12292 is obvious: each
> library creates a program that is different from the other.
That alone does not mean that it's FLTK's fault. Some time ago I found a
bug (faulty static initialization) in an open source program that worked
with FLTK 1.3 but not with FLTK 1.4. There can be lots of other reasons
that a (faulty) program works with one version of a library and not the
next one because of different memory layout and pointers pointing at
different locations so the program overwrites more or less important
data in random memory and so on...
> The program with fltk-1.3.4-1 works as expected with LINUX.
>
> The program with fltk-1.4.x-r12292 does not work as expected. I suppose
> the Fl_Overlay_Window to be the reason.
Well, although your simple conclusion (above) is not conclusive per se,
this may be the case. Please try the test/overlay program and report
what you see. Is this different in FLTK 1.3 and 1.4? What do you see?
If you see any differences, please tell us which Linux version and which
Window Manager you are using. The WM is an important info in this case.
Note: I *see* some differences (faulty behavior) with different WM's in
my Virtualbox VM setup, but please tell us what you see.
> When I call ' flimage file.jpm' the tree is shown. The
> program has a Popup Menu.
> When I activate the popup menu, the menu 'touches' the main window that
> is an Fl_Overlay_Window.
> When I click the popup menu away the program from now on works as expected.
>
> This trick is not necessary for fltk-1.3.4-1 with LINUX.
I don't think that this description is sufficient for us to test and
find a bug. Please try to work on Greg's demo code and make it more
similar to your program environment until you find some faulty behavior
you can describe and then post that code.
PS: (unrelated) can you please also check and confirm the fix of STR
#3389 that is now in svn r12313 so we can close the STR?
http://www.fltk.org/str.php?L3389