Closed
Bug 857437
Opened 11 years ago
Closed 11 years ago
Defect - On-screen keyboard (OSK) overlapping app bars and find bar
Categories
(Firefox for Metro Graveyard :: App Bar, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
Firefox 24
People
(Reporter: kjozwiak, Assigned: jimm)
References
Details
(Whiteboard: feature=defect c=Find_in_page_app_bar u=metro_firefox_user p=3 status=verified)
Attachments
(6 files, 5 obsolete files)
2.64 KB,
patch
|
fryn
:
review+
|
Details | Diff | Splinter Review |
1.77 KB,
patch
|
fryn
:
review+
|
Details | Diff | Splinter Review |
12.10 KB,
image/png
|
Details | |
3.60 KB,
patch
|
fryn
:
review+
|
Details | Diff | Splinter Review |
1.27 KB,
patch
|
fryn
:
review+
|
Details | Diff | Splinter Review |
7.31 KB,
patch
|
fryn
:
review+
|
Details | Diff | Splinter Review |
When using the "Find" feature through the app bar, tapping in the search area will display the OSK and overlap the "Find" app bar making it very difficult to see what is being typed in. There was an earlier ticket that suggested placing the app bar at the top but it seems like the idea has been scrapped. Steps to reproduce the issue: 1) Open Firefox Metro 2) Go to wikipedia.org 3) Swipe in the app bar (Windows + Z) 4) Select "Settings" and then "Find in page" 5) Tap in the "Search" box (You will notice the OSK will overlap the App Bar) Current Behavior: - OSK overlaps the "Find" app bar making it very difficult to search for terms/words Expected Behavior: - OSK should not be overlapping the "Find" app bar
Updated•11 years ago
|
Whiteboard: feature=defect c=Find_in_page_app_bar u=metro_firefox_user p=0
Assignee | ||
Comment 3•11 years ago
|
||
We might want to wait on this until after the unified navbar lands. I'm not sure how these lower "bars" are going to latch into that, or how it will handle keyboard display.
Comment 4•11 years ago
|
||
No problem. I will move it to the 'planning backlog' until it is ready to be worked on.
Summary: Defect: OSK overlapping "Find" app bar → Defect - OSK overlapping "Find" app bar
Updated•11 years ago
|
Comment 5•11 years ago
|
||
p=3
Updated•11 years ago
|
Priority: -- → P2
Updated•11 years ago
|
Updated•11 years ago
|
Assignee: nobody → fyan
Status: NEW → ASSIGNED
Summary: Defect - OSK overlapping "Find" app bar → Defect - On-screen keyboard (OSK) overlapping app bars and find bar
Updated•11 years ago
|
QA Contact: jbecerra
Whiteboard: feature=defect c=Find_in_page_app_bar u=metro_firefox_user p=0 → feature=defect c=Find_in_page_app_bar u=metro_firefox_user p=3
Comment 7•11 years ago
|
||
Hi Frank, can you let me know if Bug 857437 will be landing today?
Flags: needinfo?(fyan)
Comment 8•11 years ago
|
||
It won't be landing today, but I'll have a patch up this week.
Flags: needinfo?(fyan)
Updated•11 years ago
|
Updated•11 years ago
|
Assignee: fyan → nobody
Status: ASSIGNED → NEW
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → jmathies
Assignee | ||
Comment 9•11 years ago
|
||
Attachment #754853 -
Flags: review?(mbrubeck)
Comment 10•11 years ago
|
||
Comment on attachment 754853 [details] [diff] [review] navbar reposition v.1 Does the find bar not need to be fixed too?
Assignee | ||
Comment 11•11 years ago
|
||
(In reply to Frank Yan (:fryn) from comment #10) > Comment on attachment 754853 [details] [diff] [review] > fix > > Does the find bar not need to be fixed too? Yes it does. (I was curious why we left that orange band around.) Is there anything else lurking under here I should know about?
Assignee | ||
Comment 12•11 years ago
|
||
Noticed this gunk still hanging around.
Assignee | ||
Updated•11 years ago
|
Attachment #754853 -
Attachment description: fix → navbar reposition v.1
Assignee | ||
Updated•11 years ago
|
Attachment #754853 -
Attachment is obsolete: true
Attachment #754853 -
Flags: review?(mbrubeck)
Assignee | ||
Updated•11 years ago
|
Attachment #754866 -
Flags: review?(fyan)
Assignee | ||
Comment 13•11 years ago
|
||
Attachment #754936 -
Flags: review?(fyan)
Assignee | ||
Comment 14•11 years ago
|
||
This is a bit more involved, I cleaned out the old way this was being positioned and switched to using css properties instead, so we get all our positioning automatically. Also added the same transition the navbar has for uniformity.
Attachment #754939 -
Flags: review?(fyan)
Assignee | ||
Comment 15•11 years ago
|
||
Lastly, hide the nav overlay buttons when the keyboard is up. They get clipped and they overlay the nav/find bars, so it looks pretty nasty.
Attachment #754941 -
Flags: review?(fyan)
Updated•11 years ago
|
Attachment #754866 -
Flags: review?(fyan) → review+
Comment 16•11 years ago
|
||
Comment on attachment 754939 [details] [diff] [review] find bar v.1 Review of attachment 754939 [details] [diff] [review]: ----------------------------------------------------------------- Just one thing to tweak: ::: browser/metro/theme/forms.css @@ +19,5 @@ > + bottom @metro_animation_duration@ @metro_animation_easing@; > +} > + > +#content-navigator[type] { > + height: 59px; Could we use the transform: translateY(100%) technique to hide this that we use to hide the app bar? It's better to avoid hard-coding dimensions when possible.
Attachment #754939 -
Flags: review?(fyan) → review-
Comment 17•11 years ago
|
||
Comment on attachment 754941 [details] [diff] [review] nav buttons v.1 Review of attachment 754941 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/metro/base/content/browser-ui.js @@ +616,5 @@ > }, > > _updateButtons: function _updateButtons() { > let browser = Browser.selectedBrowser; > + if (browser.canGoBack && !ContentAreaObserver.isKeyboardOpened) { Rather than change these branch conditions, please set an attribute somewhere in the document that we can use in metro/theme/browser.css. There's a somewhat ugly block that I wrote for this that has selectors like `#stack[fullscreen] > #overlay-back:-moz-locale-dir(ltr)`. You can add to that block to hide the overlay buttons while the keyboard is open.
Attachment #754941 -
Flags: review?(fyan) → review-
Updated•11 years ago
|
Attachment #754936 -
Flags: review?(fyan) → review+
Updated•11 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 18•11 years ago
|
||
(In reply to Frank Yan (:fryn) from comment #16) > Could we use the transform: translateY(100%) technique to hide this that we > use to hide the app bar? > It's better to avoid hard-coding dimensions when possible. Got this working. However in the process I was trying to fix the layout of the bar which is a bit jumbled. I can't seem to get the text edit to position right next to the buttons. Will attach a screenshot. This seems to have something to do with the use of xbl and the children element which includes the text edit, which is defined in browser.xml. If I add padding or margin to the bottom of the edit, it pushes up the buttons. Negative values don't have any effect, and I can't figure out where the big gap above the edit is coming from Curious if anyone has any ideas. I'll post the patch as is, if we can't come up with something here I'll file a follow up polish bug on this.
Assignee | ||
Comment 19•11 years ago
|
||
Assignee | ||
Comment 20•11 years ago
|
||
Attachment #754939 -
Attachment is obsolete: true
Attachment #755353 -
Flags: review?(fyan)
Assignee | ||
Comment 21•11 years ago
|
||
Attachment #754941 -
Attachment is obsolete: true
Attachment #755364 -
Flags: review?(fyan)
Updated•11 years ago
|
Attachment #755364 -
Flags: review?(fyan) → review+
Assignee | ||
Comment 22•11 years ago
|
||
One more bar to reposition, the context bar with the buttons.
Attachment #755371 -
Flags: review?(fyan)
Updated•11 years ago
|
Attachment #755371 -
Flags: review?(fyan) → review+
Assignee | ||
Comment 23•11 years ago
|
||
This is an improvement on top of these patches that fixes a problem with the context app bar peeking through when the keyboard moves around. Since the context app bar is just below the navbar, sometimes when the keyboard moves up or down, you see a little sliver of orange between the navbar and the top of the keyboard if the two don't animate at the same rate. This patch sets visibility: hidden on the context app bar once it's hidden and the transition is complete so you can't see it.
Attachment #755525 -
Flags: review?(fyan)
Assignee | ||
Comment 24•11 years ago
|
||
Comment on attachment 755525 [details] [diff] [review] clip contextappbar v.1 I found that the find bar has the same issue. I'm going to kick this out to a new transition tweak bug because I'd like to change up how these transitions work a bit.
Attachment #755525 -
Attachment is obsolete: true
Attachment #755525 -
Flags: review?(fyan)
Comment 25•11 years ago
|
||
Just a heads up that there are a couple of conflicts with the patch I landed for Bug 867641.
Assignee | ||
Comment 26•11 years ago
|
||
(In reply to Rodrigo Silveira [:rsilveira] from comment #25) > Just a heads up that there are a couple of conflicts with the patch I landed > for Bug 867641. Wasn't a big deal. Curious though what is the margin-bottom on the find bar compensating for?
Assignee | ||
Comment 27•11 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #26) > (In reply to Rodrigo Silveira [:rsilveira] from comment #25) > > Just a heads up that there are a couple of conflicts with the patch I landed > > for Bug 867641. > > Wasn't a big deal. Curious though what is the margin-bottom on the find bar > compensating for? Oh nm, that's the same thing I was doing with translateY. We both started off with the same basic fix but then mine went through the fryn css machine. :)
Comment 28•11 years ago
|
||
Oh, at some point while I was working on that patch the find bar was an element that would push #browsers up, so I couldn't use translateY. I changed back to position fixed and now translateY would be better, but don't tell fryn! :)
Assignee | ||
Comment 29•11 years ago
|
||
merged to mc tip.
Attachment #755353 -
Attachment is obsolete: true
Attachment #755353 -
Flags: review?(fyan)
Attachment #755881 -
Flags: review?(fyan)
Comment 30•11 years ago
|
||
Comment on attachment 755881 [details] [diff] [review] find bar v.2 Review of attachment 755881 [details] [diff] [review]: ----------------------------------------------------------------- Since several bugs are depending on this, let's just land this and fix internal positioning issues of the find bar in a followup.
Attachment #755881 -
Flags: review?(fyan) → review+
Assignee | ||
Comment 31•11 years ago
|
||
remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/953423b6d479 remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/865169e56c6a remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/a270e48eb63b remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/9457da2d1eed remote: https://hg.mozilla.org/integration/mozilla-inbound/rev/eb4a27783b6b
Comment 32•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/953423b6d479 https://hg.mozilla.org/mozilla-central/rev/865169e56c6a https://hg.mozilla.org/mozilla-central/rev/a270e48eb63b https://hg.mozilla.org/mozilla-central/rev/9457da2d1eed https://hg.mozilla.org/mozilla-central/rev/eb4a27783b6b
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 24
Comment 33•11 years ago
|
||
Tested on 2013-06-14 using latest nightly - I used the steps in comment #0 to check that the soft keyboard no longer overlaps the find bar. - I checked this by: tapping in the search box in the find bar, which brings up the soft keyboard; swiping from the right to bring up the Settings/Keyboard; ctrl-f and then tapping on the search box; and trying switching between soft keyboard and hardware keyboard.
Status: RESOLVED → VERIFIED
Whiteboard: feature=defect c=Find_in_page_app_bar u=metro_firefox_user p=3 → feature=defect c=Find_in_page_app_bar u=metro_firefox_user p=3 status=verified
Comment 34•11 years ago
|
||
Tested this for iteration 9. WFM for latest nightly from ftp://ftp.mozilla.org/pub/firefox/nightly/2013-07-01-mozilla-central-debug
Comment 35•11 years ago
|
||
User Agent: Mozilla/5.0 (Windows NT 6.2; Win64; x64; rv:26.0) Gecko/20100101 Firefox/26.0 Build ID: 20130807030216 Built from http://hg.mozilla.org/mozilla-central/rev/1fb5d14e8348 WFM Tested on windows 8 using latest nightly for iteration-11. Followed steps provided in comment0 and got expected result.
Comment 36•11 years ago
|
||
User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 Build ID: 20130819030205 Built from http://hg.mozilla.org/mozilla-central/rev/c8c9bd74cc40 WFM Tested on windows 8 using latest nightly for iteration-12. Followed steps provided in comment0 and got expected result.
Reporter | ||
Comment 37•11 years ago
|
||
Went through the following "Defect" for iteration #15 without any issues. Used the following build: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2013-10-02-03-02-01-mozilla-central/ - Went through the original test case(s) described in comment #0 without any issues - Ensured that pressing "CTRL + F" and then tapping on the "search field" would slide in the OSK without overlapping the "Find" app bar - Ensured that the OSK doesn't overlap the "Find Bar App" when going through the "Settings" under the "Navigation App Bar" - Ensured that the OSK sliding/retracting animation was smooth and worked without issues - Ensured that you can slide in and retract the OSK several times without it overlapping the "Find" app bar - Ensured that all of the above test cases worked using full & filled views
Reporter | ||
Comment 38•11 years ago
|
||
Went through the following defect for iteration #20 without any issues. Used the following build: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2013-12-23-03-02-03-mozilla-central/ - Went through the original test case in comment #0 without any issues - Went through the test cases added in comment #37 without any issues - Ensured that when the OSK slides in, the overlay buttons are removed smoothly without any jank as per comment # 15 - Ensured that when the OSK is dismissed, the overlay buttons return to the screen smoothly without any jank as per comment # 15 - Ensured that pressing "CTRL + F" slides in the Find App Bar without any issue - Ensured that going through the "Settings" menu under the Navigation App Bar slides in the Find App Bar without any issues - Ensured that taping on the text box in the Find App Bar slides in the OSK and places the app bar above the OSK - Ensured that you can search through the different instances of the word while the OSK is visible - Ensured that pressing "ESC" dismisses Find App Bar including the OSK if it's visible at the time - Ensured that taping on the website dismisses the OSK but leaves the Find App Bar visible at the bottom of Firefox Metro - Ensured that pressing the "X" button under the Find App Bar closes the Find App Bar including the OSK if it's visible at the time
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
•