Comment 11 for bug 1415023

Revision history for this message
Zsombor Egri (zsombi) wrote :

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.