Antonio,

Maybe it's a GAP issue when you don't define the dialog height. 

I'll try another more definitive style test form and get back to you.

Thanks for having a look!

John

On Fri, 2015-06-19 at 14:21 -0300, Antonio Scuri wrote:
>   Hi,
> 
> 
>   Just tested here in Ubuntu 14 (GTK 3.10) and Ubuntu 10 (GTL 2.22),
> and they all work ok at the first time.
> 
> 
> Best,
> Scuri
> 
> 
> 
> On Fri, May 29, 2015 at 10:09 AM, Antonio Scuri
> <sc...@tecgraf.puc-rio.br> wrote:
>           Well, I can check if the initial size problem occurs here.
>         I'll do some testing.
>         
>         
>         Best,
>         Scuri
>         
>         
>         
>         On Thu, May 28, 2015 at 5:44 AM, John Spikowski
>         <supp...@scriptbasic.org> wrote:
>                 Antonio,
>                 
>                 This is just a guess.
>                 
>                 I think there is a bug in the screen init and gets
>                 masked once it hits
>                 the event loop. When I thread IUP dialogs and don't
>                 hit the event loop
>                 until they are all shown, 1 in 10 or so times the
>                 following will happen.
>                 
>                 1. The initial screen maximizes and sometimes without
>                 a mix/max button.
>                 2. The second and third dialog will also periodically
>                 corrupt (wrong
>                 size normally in a vertical sense) Once this happens I
>                 know the next run
>                 is going to be a core dump or seg fault. I can
>                 sometimes prevent it with
>                 a console 'reset'.
>                 3. If I create a dialog in main (non-threaded) script
>                 and enter the
>                 event loop and start the threads as button clicks
>                 (callbacks),
>                 everything works fine (except minor wrong size on
>                 first dialog)
>                 
>                 Somehow this all seems related and exacerbated when
>                 threading.
>                 
>                 John
>                 
>                 On Thu, 2015-05-28 at 00:09 -0700, John Spikowski
>                 wrote:
>                 > Antonio,
>                 >
>                 > I have noticed that the initial dialog I create
>                 isn't sizing correctly
>                 > with this release. I thought it was because I was
>                 displaying more than
>                 > one dialog was causing the issue. If only display
>                 the first, it still
>                 > isn't correct. Dialogs that follow are the correct
>                 size.
>                 >
>                 > Example:
>                 >
>                 
> http://www.allbasic.info/forum/index.php?action=dlattach;topic=387.0;attach=938;image
>                 >
>                 >
>                 > Ubuntu 14.04 64 bit
>                 >
>                 > John
>                 >
>                 >
>                 >
>                 
> ------------------------------------------------------------------------------
>                 > _______________________________________________
>                 > Iup-users mailing list
>                 > Iup-users@lists.sourceforge.net
>                 >
>                 https://lists.sourceforge.net/lists/listinfo/iup-users
>                 
>                 
>                 
>                 
> ------------------------------------------------------------------------------
>                 _______________________________________________
>                 Iup-users mailing list
>                 Iup-users@lists.sourceforge.net
>                 https://lists.sourceforge.net/lists/listinfo/iup-users
>                 
>                 
>         
>         
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users



------------------------------------------------------------------------------
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to