Tested on the following configurations:

CentOS 6.8 (x86) Linux26g4c6 (GTK 2.24)
Debian 8.3 (x86) Linux316 (GTK 3.14)
Oracle Solaris 11 (x86) SunOS511x86 (GK 2.20)
Ubuntu 10.10 (x86) Linux26g4 (GK 2.22)
Ubuntu 12.04 (x86) Linux32 (GTK 2.24)
Ubuntu 14.04 (x64) Linux313_64 (GTK 3.10)
Ubuntu 15.04 (x64) Linux319_64 (GTK 3.14)
Ubuntu 16.04 (x64) Linux44_64 (GK 3.18)

  I run the test around 50 times. I added a small callback so I can do it
using only the keyboard.

  Using the IUP from SVN.

  The result was the same, every time...

Best,
Scuri

BTW: the SHRINK attribute you used along the code is a IupDialog attribute.
Other controls simply ignore it. Although I didn't change that code for the
tests.





2018-03-13 8:43 GMT-03:00 Antonio Scuri <antonio.sc...@gmail.com>:

>   I just saw your video. I have no idea. I will try to reproduce the
> problem here.
>
> Best,
> Scuri
>
>
> 2018-03-12 20:29 GMT-03:00 Eric Wing <ewmail...@gmail.com>:
>
>> Hello, I'm bumping this old thread because it is still a problem.
>>
>> To refresh your memory, there is some bug with IUP GTK backends where
>> *sometimes* the sizing for a layout in a dialog is incorrect. It
>> happens *sometimes*, so while I can reproduce it, it is hard to
>> reproduce at will. When I launch the program, it is sometimes broken,
>> or not. It feels a little like it is a race condition between IUP and
>> GTK itself.
>>
>> I have seen this problem with both the GTK2 and GTK3 backends, on many
>> different Linux distros and versions, including many versions of
>> Ubuntu, Debian, Raspbian, and Arch.
>>
>> I have written a simplified test program that can reproduce the
>> problem (sometimes). I am attaching that program to this message. I
>> have uploaded a video showing the program working correctly and not
>> working correctly.
>>
>> https://youtu.be/1ta8AK3jM2U
>> (The broken run version is at 7 seconds.)
>>
>> I'm hoping you can help me trackdown what is causing this, or at least
>> narrow down what to look for. I tried stepping through a debugger, but
>> I can't seem to reproduce it when I do that, which is another reason I
>> think there is some kind of initialization race condition.
>>
>> Thanks,
>> Eric
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Iup-users mailing list
>> Iup-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/iup-users
>>
>>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to