touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #100241
[Bug 1415023] Re: [Dialog] if keyboard is present, buttons and derivatives have to be pressed twice
I was directed to this bug report by Jonas in
<https://code.launchpad.net/~jonas-drange/ubuntu-system-settings/allow-
insecure-hotspot/+merge/269671>, where "activeFocusOnPress: false" is
added to a checkbox because it happens to be in the same dialog as a
text field. If approved, that will be the 11th place in ubuntu-system-
settings where this bug is being worked around, and probably there are
more in indicators.
I think there are two bugs here. Fixing either of them would resolve the
reported symptom, but really, both should be fixed.
1. A text field should not lose focus every time you press elsewhere. It
should lose focus when you press *and* release on a control that can
take focus, or when you press on a control where dragging is meaningful.
Try this in the browser you're using right now: focus the address field,
press on a built-in toolbar button -- for example, the Downloads button
in Firefox, or the Home button in Chromium/Chrome -- and drag out of it
to cancel before releasing. The text field doesn't lose focus. But if
you do the same with another text field -- such as the search field in
Firefox -- or with a bookmark, which is draggable, the address field
does lose focus immediately. A button is not in the category of controls
where dragging is meaningful, therefore -- whether or not it takes focus
itself -- it should not cause the field to lose focus. (Eventually we
should have this spelled out in the toolkit spec.)
2. Dismissing the OSK should not cause a dialog to be recentered on the
screen. You might focus another field in the dialog a second or two
later, and repeated recentering would be unpleasant.
--
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