You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by Chris Bartlett <cb...@gmail.com> on 2010/08/10 16:39:30 UTC

Recent TabPane changes

I have just refreshed from trunk and have noticed what appears to be an
issue with TabPanes.
The content of the TabPane is not initially painted.  Switching or
collapsing tabs seems to fix things.

This can be demonstrated with
/pivot-trunk/tutorials/src/org/apache/pivot/tutorials/navigation/tab_panes.bxml

TabPane1.jpg shows what I see when first loading the app.
TabPane2.jpg shows what I see after switching between tabs and back to the
first one.

(I see the same behaviour in KitchenSink too)

Regards,

Chris

Re: Recent TabPane changes

Posted by Greg Brown <gk...@mac.com>.
Great, thanks for catching this.

On Aug 10, 2010, at 12:05 PM, Chris Bartlett wrote:

> Everything looks good to me now.
> Checked KitchenSink, ComponentExplorer & tab_panes.bxml.
> 
> Chris
> 
> On 10 August 2010 22:54, Greg Brown <gk...@mac.com> wrote:
> 
>> I just checked in a fix - can you try it now (both tab panes and Component
>> Explorer) and let me know?
>> 
>> On Aug 10, 2010, at 11:46 AM, Chris Bartlett wrote:
>> 
>>> FYI  org.apache.pivot.tutorials.explorer.ComponentExplorer (whose UI is
>> made
>>> up of TabPanes) also behaves strangely since revision 983448.
>>> I get an empty window when launching it (as a desktop app), but no errors
>> or
>>> warnings.
>>> 
>>> Chris
>>> 
>>> On 10 August 2010 22:32, Greg Brown <gk...@mac.com> wrote:
>>> 
>>>> It is. I am looking into it.
>>>> 
>>>> On Aug 10, 2010, at 11:27 AM, Chris Bartlett wrote:
>>>> 
>>>>> TabPanes in KitchenSink appear OK to me in revision 983444, but not
>>>> 983448.
>>>>> That makes it look related to selection indexes.
>>>>> 
>>>>> On 10 August 2010 22:07, Greg Brown <gk...@mac.com> wrote:
>>>>> 
>>>>>>> Doh.  It is a miracle I even managed to remember to attached the raw
>>>>>> jpegs :)
>>>>>>> Zip file attached this time.
>>>>>> 
>>>>>> Thanks. I see it now.
>>>>>> 
>>>>>>> I also just noticed that the TextInput (bxml:id="cornerBoxPane") is
>> not
>>>>>> shown when the tab orientation is changed to 'vertical'.
>>>>>>> (in
>>>>>> 
>>>> 
>> /pivot-trunk/tutorials/src/org/apache/pivot/tutorials/navigation/tab_panes.bxml)
>>>>>> 
>>>>>> That is by design (we don't support vertical TextInputs).  ;-)
>>>>>> 
>>>>>> 
>>>> 
>>>> 
>> 
>> 


Re: Recent TabPane changes

Posted by Chris Bartlett <cb...@gmail.com>.
Everything looks good to me now.
Checked KitchenSink, ComponentExplorer & tab_panes.bxml.

Chris

On 10 August 2010 22:54, Greg Brown <gk...@mac.com> wrote:

> I just checked in a fix - can you try it now (both tab panes and Component
> Explorer) and let me know?
>
> On Aug 10, 2010, at 11:46 AM, Chris Bartlett wrote:
>
> > FYI  org.apache.pivot.tutorials.explorer.ComponentExplorer (whose UI is
> made
> > up of TabPanes) also behaves strangely since revision 983448.
> > I get an empty window when launching it (as a desktop app), but no errors
> or
> > warnings.
> >
> > Chris
> >
> > On 10 August 2010 22:32, Greg Brown <gk...@mac.com> wrote:
> >
> >> It is. I am looking into it.
> >>
> >> On Aug 10, 2010, at 11:27 AM, Chris Bartlett wrote:
> >>
> >>> TabPanes in KitchenSink appear OK to me in revision 983444, but not
> >> 983448.
> >>> That makes it look related to selection indexes.
> >>>
> >>> On 10 August 2010 22:07, Greg Brown <gk...@mac.com> wrote:
> >>>
> >>>>> Doh.  It is a miracle I even managed to remember to attached the raw
> >>>> jpegs :)
> >>>>> Zip file attached this time.
> >>>>
> >>>> Thanks. I see it now.
> >>>>
> >>>>> I also just noticed that the TextInput (bxml:id="cornerBoxPane") is
> not
> >>>> shown when the tab orientation is changed to 'vertical'.
> >>>>> (in
> >>>>
> >>
> /pivot-trunk/tutorials/src/org/apache/pivot/tutorials/navigation/tab_panes.bxml)
> >>>>
> >>>> That is by design (we don't support vertical TextInputs).  ;-)
> >>>>
> >>>>
> >>
> >>
>
>

Re: Recent TabPane changes

Posted by Greg Brown <gk...@mac.com>.
I just checked in a fix - can you try it now (both tab panes and Component Explorer) and let me know?

On Aug 10, 2010, at 11:46 AM, Chris Bartlett wrote:

> FYI  org.apache.pivot.tutorials.explorer.ComponentExplorer (whose UI is made
> up of TabPanes) also behaves strangely since revision 983448.
> I get an empty window when launching it (as a desktop app), but no errors or
> warnings.
> 
> Chris
> 
> On 10 August 2010 22:32, Greg Brown <gk...@mac.com> wrote:
> 
>> It is. I am looking into it.
>> 
>> On Aug 10, 2010, at 11:27 AM, Chris Bartlett wrote:
>> 
>>> TabPanes in KitchenSink appear OK to me in revision 983444, but not
>> 983448.
>>> That makes it look related to selection indexes.
>>> 
>>> On 10 August 2010 22:07, Greg Brown <gk...@mac.com> wrote:
>>> 
>>>>> Doh.  It is a miracle I even managed to remember to attached the raw
>>>> jpegs :)
>>>>> Zip file attached this time.
>>>> 
>>>> Thanks. I see it now.
>>>> 
>>>>> I also just noticed that the TextInput (bxml:id="cornerBoxPane") is not
>>>> shown when the tab orientation is changed to 'vertical'.
>>>>> (in
>>>> 
>> /pivot-trunk/tutorials/src/org/apache/pivot/tutorials/navigation/tab_panes.bxml)
>>>> 
>>>> That is by design (we don't support vertical TextInputs).  ;-)
>>>> 
>>>> 
>> 
>> 


Re: Recent TabPane changes

Posted by Chris Bartlett <cb...@gmail.com>.
FYI  org.apache.pivot.tutorials.explorer.ComponentExplorer (whose UI is made
up of TabPanes) also behaves strangely since revision 983448.
I get an empty window when launching it (as a desktop app), but no errors or
warnings.

Chris

On 10 August 2010 22:32, Greg Brown <gk...@mac.com> wrote:

> It is. I am looking into it.
>
> On Aug 10, 2010, at 11:27 AM, Chris Bartlett wrote:
>
> > TabPanes in KitchenSink appear OK to me in revision 983444, but not
> 983448.
> > That makes it look related to selection indexes.
> >
> > On 10 August 2010 22:07, Greg Brown <gk...@mac.com> wrote:
> >
> >>> Doh.  It is a miracle I even managed to remember to attached the raw
> >> jpegs :)
> >>> Zip file attached this time.
> >>
> >> Thanks. I see it now.
> >>
> >>> I also just noticed that the TextInput (bxml:id="cornerBoxPane") is not
> >> shown when the tab orientation is changed to 'vertical'.
> >>> (in
> >>
> /pivot-trunk/tutorials/src/org/apache/pivot/tutorials/navigation/tab_panes.bxml)
> >>
> >> That is by design (we don't support vertical TextInputs).  ;-)
> >>
> >>
>
>

Re: Recent TabPane changes

Posted by Greg Brown <gk...@mac.com>.
It is. I am looking into it.

On Aug 10, 2010, at 11:27 AM, Chris Bartlett wrote:

> TabPanes in KitchenSink appear OK to me in revision 983444, but not 983448.
> That makes it look related to selection indexes.
> 
> On 10 August 2010 22:07, Greg Brown <gk...@mac.com> wrote:
> 
>>> Doh.  It is a miracle I even managed to remember to attached the raw
>> jpegs :)
>>> Zip file attached this time.
>> 
>> Thanks. I see it now.
>> 
>>> I also just noticed that the TextInput (bxml:id="cornerBoxPane") is not
>> shown when the tab orientation is changed to 'vertical'.
>>> (in
>> /pivot-trunk/tutorials/src/org/apache/pivot/tutorials/navigation/tab_panes.bxml)
>> 
>> That is by design (we don't support vertical TextInputs).  ;-)
>> 
>> 


Re: Recent TabPane changes

Posted by Chris Bartlett <cb...@gmail.com>.
TabPanes in KitchenSink appear OK to me in revision 983444, but not 983448.
That makes it look related to selection indexes.

On 10 August 2010 22:07, Greg Brown <gk...@mac.com> wrote:

> > Doh.  It is a miracle I even managed to remember to attached the raw
> jpegs :)
> > Zip file attached this time.
>
> Thanks. I see it now.
>
> > I also just noticed that the TextInput (bxml:id="cornerBoxPane") is not
> shown when the tab orientation is changed to 'vertical'.
> > (in
> /pivot-trunk/tutorials/src/org/apache/pivot/tutorials/navigation/tab_panes.bxml)
>
> That is by design (we don't support vertical TextInputs).  ;-)
>
>

Re: Recent TabPane changes

Posted by Greg Brown <gk...@mac.com>.
> Doh.  It is a miracle I even managed to remember to attached the raw jpegs :)
> Zip file attached this time.

Thanks. I see it now.

> I also just noticed that the TextInput (bxml:id="cornerBoxPane") is not shown when the tab orientation is changed to 'vertical'.
> (in /pivot-trunk/tutorials/src/org/apache/pivot/tutorials/navigation/tab_panes.bxml)

That is by design (we don't support vertical TextInputs).  ;-)


Re: Recent TabPane changes

Posted by Chris Bartlett <cb...@gmail.com>.
Doh.  It is a miracle I even managed to remember to attached the raw jpegs
:)
Zip file attached this time.

I also just noticed that the TextInput (bxml:id="cornerBoxPane") is not
shown when the tab orientation is changed to 'vertical'.
(in /pivot-trunk/tutorials/src/org/apache/pivot/tutorials/navigation/tab_panes.bxml)


On 10 August 2010 21:53, Greg Brown <gk...@mac.com> wrote:

> The attachments didn't come through. Can you put them in a zip and resend?
>
> On Aug 10, 2010, at 10:39 AM, Chris Bartlett wrote:
>
> > I have just refreshed from trunk and have noticed what appears to be an
> issue with TabPanes.
> > The content of the TabPane is not initially painted.  Switching or
> collapsing tabs seems to fix things.
> >
> > This can be demonstrated with
> >
> /pivot-trunk/tutorials/src/org/apache/pivot/tutorials/navigation/tab_panes.bxml
> >
> > TabPane1.jpg shows what I see when first loading the app.
> > TabPane2.jpg shows what I see after switching between tabs and back to
> the first one.
> >
> > (I see the same behaviour in KitchenSink too)
> >
> > Regards,
> >
> > Chris
>
>

Re: Recent TabPane changes

Posted by Greg Brown <gk...@mac.com>.
The attachments didn't come through. Can you put them in a zip and resend?

On Aug 10, 2010, at 10:39 AM, Chris Bartlett wrote:

> I have just refreshed from trunk and have noticed what appears to be an issue with TabPanes.
> The content of the TabPane is not initially painted.  Switching or collapsing tabs seems to fix things.
> 
> This can be demonstrated with
> /pivot-trunk/tutorials/src/org/apache/pivot/tutorials/navigation/tab_panes.bxml
> 
> TabPane1.jpg shows what I see when first loading the app.
> TabPane2.jpg shows what I see after switching between tabs and back to the first one.
> 
> (I see the same behaviour in KitchenSink too)
> 
> Regards,
> 
> Chris