Weird problem with Groupbox - title appears at bottom of group box

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Weird problem with Groupbox - title appears at bottom of group box

John Spackman
Hi all

I've got a weird layout issue (reproduced in FF and Chrome) where the title of the groupbox appears at the bottom of the groupbox, not at the top.  I've had this for some time when it has not been reproducible (a refresh usually sorts it out), but I've unable until now to produce a playgroup snippet that reliably demonstrates it.

The problem occurs in this example if you click the button, dismiss the first window that pops up, and then click the button again - http://tinyurl.com/4sd5kdt.  The first time you click the "click me" button, the code creates (but does not show) a window ("dlg" variable) with two groupboxes, and then creates _and_shows_ another window ("errorWindow" variable); after you manually close the window and then click the "click me" button for the second time, the "dlg" window that was previously created is then shown.  The Groupboxes in "dlg" will be upside down.

I've found two workarounds for this: (1) do not set the layout properties of the window to set the opening position of the "errorWindow", or (2) if you create a second window, show it immediately – don't hang onto it until later.

Option (2) seems like it would be an unintended restriction by Qx, but I'm not sure setting the layout properties as in option(1) is permitted.  OTOH I've had the same (but intermittent) layout problems with GroupBox when displayed on Composite's that are initially hidden, ie I think it's not a Window/setLayoutProperties problem.

Any idea what this might be?

John

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Weird problem with Groupbox - title appears at bottom of group box

John Spackman-3
Hi all

I've got a weird layout issue (reproduced in FF and Chrome) where the title of the groupbox appears at the bottom of the groupbox, not at the top.  I've had this for some time when it has not been reproducible (a refresh usually sorts it out), but I've unable until now to produce a playgroup snippet that reliably demonstrates it.

The problem occurs in this example if you click the button, dismiss the first window that pops up, and then click the button again - http://tinyurl.com/4sd5kdt.  The first time you click the "click me" button, the code creates (but does not show) a window ("dlg" variable) with two groupboxes, and then creates _and_shows_ another window ("errorWindow" variable); after you manually close the window and then click the "click me" button for the second time, the "dlg" window that was previously created is then shown.  The Groupboxes in "dlg" will be upside down.

I've found two workarounds for this: (1) do not set the layout properties of the window to set the opening position of the "errorWindow", or (2) if you create a second window, show it immediately – don't hang onto it until later.

Option (2) seems like it would be an unintended restriction by Qx, but I'm not sure setting the layout properties as in option(1) is permitted.  OTOH I've had the same (but intermittent) layout problems with GroupBox when displayed on Composite's that are initially hidden, ie I think it's not a Window/setLayoutProperties problem.

Any idea what this might be?

John

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: Weird problem with Groupbox - title appears at bottom of group box

Adrian Olaru
Hi John,

It seems like a bug to me. As we don't want all this detailed description of the bug (especially the steps to be reproduced) I really like you to file a bug to http://bugzilla.qooxdoo.org/. This way, you can track this bug, and we can fix it as soon as one of the core devs has a free slot for it.

Thanks,
Adrian

P.S. If you want, I can add this bug to bugzilla...although I think that is better for you to do it, as you will get feedback about it.
Reply | Threaded
Open this post in threaded view
|

Re: Weird problem with Groupbox - title appears at bottom of group box

John Spackman-3
Hi Adrian

OK, thanks - I've added the bug
http://bugzilla.qooxdoo.org/show_bug.cgi?id=4600

John

On 31/01/2011 16:22, "Adrian Olaru" <[hidden email]> wrote:

>
>Hi John,
>
>It seems like a bug to me. As we don't want all this detailed description
>of
>the bug (especially the steps to be reproduced) I really like you to file
>a
>bug to http://bugzilla.qooxdoo.org/. This way, you can track this bug, and
>we can fix it as soon as one of the core devs has a free slot for it.
>
>Thanks,
>Adrian
>
>P.S. If you want, I can add this bug to bugzilla...although I think that
>is
>better for you to do it, as you will get feedback about it.
>--
>View this message in context:
>http://qooxdoo.678.n2.nabble.com/Re-Weird-problem-with-Groupbox-title-appe
>ars-at-bottom-of-group-box-tp5977578p5977646.html
>Sent from the qooxdoo mailing list archive at Nabble.com.
>
>--------------------------------------------------------------------------
>----
>Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
>Finally, a world-class log management solution at an even better
>price-free!
>Download using promo code Free_Logger_4_Dev2Dev. Offer expires
>February 28th, so secure your free ArcSight Logger TODAY!
>http://p.sf.net/sfu/arcsight-sfd2d
>_______________________________________________
>qooxdoo-devel mailing list
>[hidden email]
>https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel




------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel