1. The text field looses focus due to the fact that someone else is getting focused. The same behaviour happens on every control, not only on TextField. Now, the question is whether do we want to do slightly different focusing behaviour on different controls, i.e. on desktop when focusing a Button, a CheckBox, a Switch, a ComboBox or other, those gain the focus when pressed, no matter if the previous focus control was a text input. You can see this in System Settings GTK app, by pressing either of the controls, move the mouse and release outside of the control. You will see the focus outline on each. However, we could treat text inputs separately, so if the current focus is a text input, the input would lose focus only when a click happens, except if the next focusable item is also a text input.
2. OSK is hidden only if the next focused control is not a text input. When OSK hides, Dialog is re-centered, as OSK appearance is causing Dialog content to be shifted out. I don't get why you want to keep Dialog pushed out of the screen when OSK gets hidden... I do not see two bugs here, only one, which is the text input losing focus slightly differently than the others. Dialog should be placed back to the original position when OSK disappears. ** Tags added: convergence -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in Ubuntu. https://bugs.launchpad.net/bugs/1415023 Title: [Dialog] if keyboard is present, buttons and derivatives have to be pressed twice Status in ubuntu-system-settings package in Ubuntu: Invalid Status in ubuntu-ui-toolkit package in Ubuntu: Confirmed Bug description: STEPS: Setup: 1 phone + one locked sim 1. Open system settings 2. Goto Security 3. Goto Sim Pin 4. Tap on unlock 5. Type in the pin 6. Tap the green confirm button EXPECTED: I expect the dialog to be dismissed and the keyboard and sim be unlocked ACTUAL: The keyboard is dismissed but the dialog box remains. A recent change has effected this. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-settings/+bug/1415023/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp