Re: [Iup-users] Possible bug in IupReparent or IupLayoutDialog

2017-12-01 Thread Antonio Scuri
>  the hidden IupBackgroundBox of an IupExpander is genuinely hidden

  This was already fixed.

> if you drag it back to be a sibling of the IupBackgroundBox it works
fine, but IupReparent crashed

  I just fixed the behavior of inserting a child in an empty IupExpander,
it was inserting before the internal backgroundbox. I tested using the
IupLayoutDlg.

Best,
Scuri


2017-11-25 17:27 GMT-02:00 Antonio Scuri :

>   Ok I'll check this on Monday.
>
> Best,
> Scuri
>
>
> Em 25/11/2017 08:21, "Pete Lomax via Iup-users" <
> iup-users@lists.sourceforge.net> escreveu:
>
>> For information only. I am still using 3.21, apologies if this is already
>> fixed.
>>
>> I am writing something not dissimilar to IupLayoutDialog, though in my
>> version the hidden
>> IupBackgroundBox of an IupExpander is genuinely hidden, and I fixed this
>> problem by quietly
>> fetching that and dropping as a sibling.
>>
>> In sample.c, add an IupExpander to the content of _frm_3, and an
>> IupLayoutDialog, then
>> drag the IupVbox out of _frm_3 into the IupVbox of _frm_2. Now, if you
>> drag it back to be a
>> sibling of the IupBackgroundBox it works fine, but IupReparent crashed if
>> I dragged it onto
>> the IupExpander itself. Personally I think that IupReparent should just
>> quietly refuse, but you
>> may prefer to add code to IupLayoutDialog (as I kinda did). I didn't
>> investigate any further.
>>
>> Pete
>>
>> 
>> --
>> 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


Re: [Iup-users] Possible bug in IupReparent or IupLayoutDialog

2017-11-25 Thread Antonio Scuri
  Ok I'll check this on Monday.

Best,
Scuri


Em 25/11/2017 08:21, "Pete Lomax via Iup-users" <
iup-users@lists.sourceforge.net> escreveu:

> For information only. I am still using 3.21, apologies if this is already
> fixed.
>
> I am writing something not dissimilar to IupLayoutDialog, though in my
> version the hidden
> IupBackgroundBox of an IupExpander is genuinely hidden, and I fixed this
> problem by quietly
> fetching that and dropping as a sibling.
>
> In sample.c, add an IupExpander to the content of _frm_3, and an
> IupLayoutDialog, then
> drag the IupVbox out of _frm_3 into the IupVbox of _frm_2. Now, if you
> drag it back to be a
> sibling of the IupBackgroundBox it works fine, but IupReparent crashed if
> I dragged it onto
> the IupExpander itself. Personally I think that IupReparent should just
> quietly refuse, but you
> may prefer to add code to IupLayoutDialog (as I kinda did). I didn't
> investigate any further.
>
> Pete
>
> 
> --
> 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


[Iup-users] Possible bug in IupReparent or IupLayoutDialog

2017-11-25 Thread Pete Lomax via Iup-users
For information only. I am still using 3.21, apologies if this is already fixed.

I am writing something not dissimilar to IupLayoutDialog, though in my version 
the hidden
IupBackgroundBox of an IupExpander is genuinely hidden, and I fixed this 
problem by quietly
fetching that and dropping as a sibling.

In sample.c, add an IupExpander to the content of _frm_3, and an 
IupLayoutDialog, then
drag the IupVbox out of _frm_3 into the IupVbox of _frm_2. Now, if you drag it 
back to be a
sibling of the IupBackgroundBox it works fine, but IupReparent crashed if I 
dragged it onto
the IupExpander itself. Personally I think that IupReparent should just quietly 
refuse, but you
may prefer to add code to IupLayoutDialog (as I kinda did). I didn't 
investigate any further.

Pete

--
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