Closed
Bug 883930
Opened 11 years ago
Closed 11 years ago
Defect - The soft keyboard should not be able to obscure input in dialogs
Categories
(Firefox for Metro Graveyard :: Browser, defect, P2)
Tracking
(firefox28 verified, firefox29 verified)
VERIFIED
FIXED
Firefox 29
People
(Reporter: jimm, Assigned: rsilveira)
References
Details
(Whiteboard: [beta28] feature=defect c=tbd u=tbd p=2)
Attachments
(2 files, 1 obsolete file)
91.69 KB,
image/png
|
Details | |
912 bytes,
patch
|
rsilveira
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
STR:
1) open up the sync config flyout, click set up sync, then click the enter account info link.
2) tap in any of the text inputs
the soft keyboard raises, obscuring the lower edits.
Not sure what UX would like to see here (cc'ing yuan). In some cases like sync the dialog is taller than the content window we have above the keyboard.
Comment 1•11 years ago
|
||
Sync dialog is going to be in flyout panel. So we should be able to scroll the flyout page up to make the text input fields visible.
I don't think right now we have any message dialog that requires text input. Usually message dialog shouldn't require too much typing, since it's about permission, error, etc. Sign in/sign out should not block the users' tasks, so they should be on the side as flyout instead of message dialog.
If we run into this problem in the future, I would like to reformat the dialog or break it into steps, so that no text fields could be covered by OSK.
Reporter | ||
Comment 2•11 years ago
|
||
(In reply to Yuan Wang(:Yuan) – Firefox UX Team from comment #1)
> Sync dialog is going to be in flyout panel. So we should be able to scroll
> the flyout page up to make the text input fields visible.
Ok great, do we have a bug on converting this over to the flyout filed?
Comment 3•11 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #2)
> (In reply to Yuan Wang(:Yuan) – Firefox UX Team from comment #1)
> > Sync dialog is going to be in flyout panel. So we should be able to scroll
> > the flyout page up to make the text input fields visible.
>
> Ok great, do we have a bug on converting this over to the flyout filed?
Yes. I believe it's bug 845468. Tim is working on that.
Updated•11 years ago
|
Summary: Inputs in dialogs can be obscured by the soft keyboard → Defect - The soft keyboard should not be able to obscure input in dialogs
Updated•11 years ago
|
Summary: Defect - The soft keyboard should not be able to obscure input in dialogs → Work - The soft keyboard should not be able to obscure input in dialogs
Whiteboard: feature=work
Comment 4•11 years ago
|
||
is this bug still valud? Tim's bug has been closed.
Whiteboard: feature=work → feature=work [preview-triage]
Comment 5•11 years ago
|
||
We should check whether the soft keyboard is covering auth prompts and other prompts. I'll do this as part of bug 892575, after bug 886563 is done.
Whiteboard: feature=work [preview-triage] → feature=work
Comment 6•11 years ago
|
||
Verified that it is possible for the OSK to cover up the input box of a prompt. This will only come up for particularly tall prompts, but the bug exists.
Updated•11 years ago
|
Whiteboard: feature=work → feature=work [preview-triage]
Updated•11 years ago
|
Whiteboard: feature=work [preview-triage] → feature=work [triage]
Updated•11 years ago
|
Summary: Work - The soft keyboard should not be able to obscure input in dialogs → Defect - The soft keyboard should not be able to obscure input in dialogs
Updated•11 years ago
|
Whiteboard: feature=work [triage] → feature=defect c=tbd u=tbd p=0
Updated•11 years ago
|
Whiteboard: feature=defect c=tbd u=tbd p=0 → [triage] feature=defect c=tbd u=tbd p=0
Updated•11 years ago
|
Whiteboard: [triage] feature=defect c=tbd u=tbd p=0 → feature=defect c=tbd u=tbd p=0
Updated•11 years ago
|
Whiteboard: feature=defect c=tbd u=tbd p=0 → [release28] feature=defect c=tbd u=tbd p=0
Updated•11 years ago
|
Priority: -- → P2
QA Contact: jbecerra
Whiteboard: [release28] feature=defect c=tbd u=tbd p=0 → [beta28] feature=defect c=tbd u=tbd p=0
Updated•11 years ago
|
Whiteboard: [beta28] feature=defect c=tbd u=tbd p=0 → [beta28] feature=defect c=tbd u=tbd p=2
Assignee | ||
Comment 8•11 years ago
|
||
Move dialog up and reduce the size. Tried repositioning based on CAO reported keyboard size but it started getting really hacky and I didn't see much benefit.
Attachment #8350738 -
Flags: review?(mbrubeck)
Comment 9•11 years ago
|
||
Comment on attachment 8350738 [details] [diff] [review]
Patch v1
Review of attachment 8350738 [details] [diff] [review]:
-----------------------------------------------------------------
r=mbrubeck with some minor nits:
::: browser/metro/base/content/bindings/tabprompts.xml
@@ +14,5 @@
> + <implementation implements="nsIObserver">
> + <constructor>
> + <![CDATA[
> + Services.obs.addObserver(this, "metro_softkeyboard_shown", false);
> + Services.obs.addObserver(this, "metro_softkeyboard_hidden", false);
The constructor should also initialize the "osk" attribute based on Services.metro.keyboardVisible.
@@ +21,5 @@
> +
> + <destructor>
> + <![CDATA[
> + Services.obs.removeObserver(this, "metro_softkeyboard_shown", false);
> + Services.obs.removeObserver(this, "metro_softkeyboard_hidden", false);
Nit: no third argument for removeObserver.
Attachment #8350738 -
Flags: review?(mbrubeck) → review+
Assignee | ||
Comment 10•11 years ago
|
||
#stack already keeps track of keyboard, now this is a CSS only change.
Attachment #8350738 -
Attachment is obsolete: true
Attachment #8350800 -
Flags: review+
Assignee | ||
Comment 11•11 years ago
|
||
Comment 12•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 29
Assignee | ||
Comment 13•11 years ago
|
||
Comment on attachment 8350800 [details] [diff] [review]
Patch v2
[Approval Request Comment]
Bug caused by (feature/regressing bug #): None
User impact if declined: User can't see input field while on-screen keyboard is up
Testing completed (on m-c, etc.): On m-c since 2013-12-21
Risk to taking this patch (and alternatives if risky): Very low, css only fix.
String or IDL/UUID changes made by this patch: None.
Attachment #8350800 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
Attachment #8350800 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 14•11 years ago
|
||
status-firefox28:
--- → fixed
status-firefox29:
--- → fixed
Comment 15•11 years ago
|
||
Kamil, please verify this is fixed in the latest Firefox Nightly and Aurora builds.
Flags: needinfo?(kamiljoz)
Comment 16•11 years ago
|
||
Went through the following issue for verification during iteration #22 testing without any issues. Used the following builds:
- http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014-01-22-00-40-04-mozilla-aurora/
- http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014-01-22-03-05-21-mozilla-central/
I couldn't go through the original issue from comment #0 as the "Sync" portion has been removed from the "Options" flyout. Instead, I used http://dolske.net/mozilla/tests/prompt/sizes.html for verification.
- Ensured that the OSK doesn't overlap the input dialogs when it slides into view
- Ensured that the Navigation App Bar doesn't overlap the input dialogs when sliding in the OSK from the bottom/top of the screen
- Ensured every single type of dialog is moved to the top when the OSK slides into view (alerts, confirms and prompts)
- Ensured that the input dialogs are only resized when the OSK would have overlapped (made sure the other dialogs are moved up but not resized)
- Ensured that you can dismiss all of the dialog boxes without any issues (selecting either "OK" or "Cancel")
- Ensured that the dialogs return to their normal position/size when the OSK is dismissed
- Ensured that the dialog animation/transition to the top is pretty smooth and consistent (made sure there wasn't major jank or other visual issues)
- Ensured that you can dismiss the OSK by pressing "ESC"
- Ensured that everything still works when using a trackpad/mouse
- Went through all of the above test cases in several different snapped variations
Found a few issues while verifying the following fix, will create separate tickets.
Status: RESOLVED → VERIFIED
Flags: needinfo?(kamiljoz)
Updated•10 years ago
|
OS: Windows 8 Metro → Windows 8.1
You need to log in
before you can comment on or make changes to this bug.
Description
•