Since our switch from 3.5.12 to 5.2.0 I am noticing and am getting many reports of my solution focusing on comboboxes/typeaheads with valuelists without being asked. I assumed that either I had a .requestFocus or a tab order problem – but this doesn’t appear to be true. In one case, I have a combobox that is neither in the tab order nor referred to in code at all as an element, and every time the user works on that screen, Servoy jumps to that field, opening the valuelist. Since that field is off the horizontal scroll of the screen, it’s jumping my horizontal scroll bar to the right for no reason. Dragging the field off the form stopped it (proving there is no element call to this field, since I would’ve had an error in that case). I’ve tried a tab order referring to other fields, and a blank tab order. Nothing stops it.
It definitely happens elsewhere in my solution. Anyone else able to back me up about this? No time to create a test case today.
is that field the first on the form?
Do you call for example controller.focusFirstField() ?
Nowhere in my code do i call controller.focusFirstField(). As to whether it’s the first field on the form, generally it’s on forms that have lots of fields, but very few editable except for a preference-type valuelist. The one I’m using as my example in my previous post has a radio button and another combobox that are editable above it, if you consider location as the way tot determine first field on form?
the first field is most of the time the one that is on the left, top corner. So the one closest by that corner.
So then no. Not the first field.
or ofcourse, didnt think about this before, the first one in your tabsequence.
But if you have a sample where you say, look this form that field is getting focus that i dont expect, please make a case with it.
My users are reporting something similar on 5.1.x.
Is there any progress on finding this? I need to make a test case but keep running out of time in my day… Just checking in, I have fields dragged off the screen because I can’t prevent them from making my scrollbars hop around as they are focused on.
if there is no case created (with an sample if possible) then there i dont think there is any progress.