tabIndex and hidden forms problem

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

tabIndex and hidden forms problem

oetiker
I have created an application with multiple screens. I have
instanciated all the screens at once and then use the Visibility
setting (hidden vs visible) to show the active one.

Two screens contain multiple textinput fields. I found that the
tabbing between these fields gets erratic as soon as the second
screen with fields is visible (and the first has been hidden
again). As if the hidden screens textfields would somehow still be
integrated in the tabbing order ...

I found that by disabeling the hidden screens, I could fix the
problem, but I guess this would better be handled properly at the
library level ...


          // with out this, tab order seems to get influenced by
          // the hidden forms ... I guess this is some sort of bug
          this.addListener('changeVisibility', function(e){
              if (e.getData() == 'visible'){
                  this.setEnabled(true);
              }
              else {
                  this.setEnabled(false);
              }
          },this);


cheers
tobi

--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch [hidden email] ++41 62 775 9902 / sb: -9900

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: tabIndex and hidden forms problem

A.Yerenkow
On 02.08.2009 11:12, Tobias Oetiker wrote:

> I have created an application with multiple screens. I have
> instanciated all the screens at once and then use the Visibility
> setting (hidden vs visible) to show the active one.
>
> Two screens contain multiple textinput fields. I found that the
> tabbing between these fields gets erratic as soon as the second
> screen with fields is visible (and the first has been hidden
> again). As if the hidden screens textfields would somehow still be
> integrated in the tabbing order ...
>
> I found that by disabeling the hidden screens, I could fix the
> problem, but I guess this would better be handled properly at the
> library level ...
>
>    
try "exclude"

>            // with out this, tab order seems to get influenced by
>            // the hidden forms ... I guess this is some sort of bug
>            this.addListener('changeVisibility', function(e){
>                if (e.getData() == 'visible'){
>                    this.setEnabled(true);
>                }
>                else {
>                    this.setEnabled(false);
>                }
>            },this);
>
>
> cheers
> tobi
>
>    


--
Best Regards
Alexander Yerenkow,
Generalissimo of UCT


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: tabIndex and hidden forms problem

oetiker
Hi Alexander,

Today A.Yerenkow wrote:

> On 02.08.2009 11:12, Tobias Oetiker wrote:
> >
> > I found that by disabeling the hidden screens, I could fix the
> > problem, but I guess this would better be handled properly at the
> > library level ...
> >
> >
> try "exclude"

I have refrained from using exclude since it seems to be a more
'intrusive' change than 'hidden' and would thus impact the screen
switching performance ...

cheers
tobi


--
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch [hidden email] ++41 62 775 9902 / sb: -9900

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: tabIndex and hidden forms problem

A.Yerenkow
On 02.08.2009 11:20, Tobias Oetiker wrote:

> Hi Alexander,
>
> Today A.Yerenkow wrote:
>
>    
>> On 02.08.2009 11:12, Tobias Oetiker wrote:
>>      
>>> I found that by disabeling the hidden screens, I could fix the
>>> problem, but I guess this would better be handled properly at the
>>> library level ...
>>>
>>>
>>>        
>> try "exclude"
>>      
> I have refrained from using exclude since it seems to be a more
> 'intrusive' change than 'hidden' and would thus impact the screen
> switching performance ...
>
>    
Then probably seem's like bug.
Maybe you could show some screens?
> cheers
> tobi
>
>
>    


--
Best Regards
Alexander Yerenkow,
Generalissimo of UCT


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: tabIndex and hidden forms problem

MartinWittemann
Administrator
In reply to this post by oetiker
Hello tobi,
thanks for reporting this issue. I created a example like you  
explained and I can only see that the tabbing does not wrap anymore  
which is a bug in deed and should be fixed in the framework.
I opened a bug report for it:
http://bugzilla.qooxdoo.org/show_bug.cgi?id=2644
Have you experienced other misbehaviors expect the broken wrapping in  
your scenario which we need to address?
Regards,
Martin

Am 02.08.2009 um 10:12 schrieb Tobias Oetiker:

> I have created an application with multiple screens. I have
> instanciated all the screens at once and then use the Visibility
> setting (hidden vs visible) to show the active one.
>
> Two screens contain multiple textinput fields. I found that the
> tabbing between these fields gets erratic as soon as the second
> screen with fields is visible (and the first has been hidden
> again). As if the hidden screens textfields would somehow still be
> integrated in the tabbing order ...
>
> I found that by disabeling the hidden screens, I could fix the
> problem, but I guess this would better be handled properly at the
> library level ...
>
>
>          // with out this, tab order seems to get influenced by
>          // the hidden forms ... I guess this is some sort of bug
>          this.addListener('changeVisibility', function(e){
>              if (e.getData() == 'visible'){
>                  this.setEnabled(true);
>              }
>              else {
>                  this.setEnabled(false);
>              }
>          },this);
>
>
> cheers
> tobi
>
> --
> Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
> http://it.oetiker.ch [hidden email] ++41 62 775 9902 / sb: -9900
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008  
> 30-Day
> trial. Simplify your report design, integration and deployment - and  
> focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> qooxdoo-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Reply | Threaded
Open this post in threaded view
|

Re: tabIndex and hidden forms problem

SchmidtJohn
In reply to this post by oetiker
Hello Tobi, I have a similar problem using Delphi for PHP which uses qooxdoo components too in it's visual component library together with other ones. I have some of the 'normal' php edit fields on a qooxdoo pagecontrol and the tabbing doesn't work any more as it's blocked by the qooxdoo tabmanager for tabindexes. Do you have an idea how to work around this? Thanks for any hints! John