Re: [qooxdoo-devel] Another ComboBox bug

2006-09-15 Thread dperez
Sebastian, That's a good and easier solution. Sebastian Werner wrote: > > I think the combobox itself should have the tabIndes 1, while the > combobox will manually do a focus() call to the text-field (only DOM) > when receive the focus. Just an idea. > -- View this message in context: h

Re: [qooxdoo-devel] Another ComboBox bug

2006-09-15 Thread Sebastian Werner
dperez schrieb: > Hi, > > One possible solution: > > 1) only textField has the setTabIndex(1) > 2) a custom appearance in the textfield would remove the dotted frame from > the text field > 3) an event listener in the focused state change of the text field would > update the appearance of the com

Re: [qooxdoo-devel] Another ComboBox bug

2006-09-15 Thread dperez
Hi, One possible solution: 1) only textField has the setTabIndex(1) 2) a custom appearance in the textfield would remove the dotted frame from the text field 3) an event listener in the focused state change of the text field would update the appearance of the combobox to draw or remove the dotte

Re: [qooxdoo-devel] Another ComboBox bug

2006-09-15 Thread Sebastian Werner
I agree with this. But from the look I think it would be better the combobox itself has the dotted focus border and not the text field. That would also match the style of other focused widgets. But I don't directly know how to implement this. Cheers, Sebastian dperez schrieb: > Hi, > > In

Re: [qooxdoo-devel] Another ComboBox bug

2006-09-15 Thread dperez
Hi, In this screenshot taken from Firefox: http://www.nabble.com/user-files/236030/Captura007.gif we see that the edit field is focused even if it is readonly. When using the keyboard, the button at the right is just a visual remainder that we have a list of choices to select from. I vote for

Re: [qooxdoo-devel] Another ComboBox bug

2006-09-15 Thread Sebastian Werner
The problem with this is, that you want to have the text-field focusable. That's mainly because it could be editable for example. We need to find a way to handle both: To focus the combobox itself (because of the tab-order in a form for example) while internally focus the text-field to give th

Re: [qooxdoo-devel] Another ComboBox bug

2006-09-14 Thread dperez
Hi, Finally I have tried to comment out this.setTabIndex(1), and now the behaviour is ok, only the text field is in the tab focus chain. Do you want me to create a patch for this? dperez wrote: > > Hi, > > When I press the tab button and have ComboBoxes, the focus is cycled > between the Text

[qooxdoo-devel] Another ComboBox bug

2006-09-14 Thread dperez
Hi, When I press the tab button and have ComboBoxes, the focus is cycled between the TextField inside the combo and the ComboBox itself. I know this by the dotted frame around the control. I expect to only receive the focus the TextField, in the tab cycle. Hopefully to solve this, is as easy as