Closed Bug 890148 Opened 11 years ago Closed 11 years ago

Defect - "Find Bar" transition sluggish/slow

Categories

(Firefox for Metro Graveyard :: App Bar, defect, P2)

x86_64
Windows 8.1
defect

Tracking

(Not tracked)

VERIFIED FIXED
Firefox 25

People

(Reporter: kjozwiak, Assigned: sfoster)

References

Details

(Whiteboard: feature=defect c=Find_in_page_app_bar u=metro_firefox_user p=2)

Attachments

(1 file)

When selecting "Settings" -> "Find in Page" under the "Navigation App Bar", you'll notice that the "Find Bar" sliding in is very sluggish compared to the "Navigation App Bar". 

I'm not 100% sure if its the machine (using X1 Carbon) but the "Navigation App Bar" slides in and out very smoothly on the same machine compared to the "Find Bar". This makes it seem like the browser is lagging but really isn't.

Steps to reproduce the issue:

1) Open Firefox Metro
2) Go to http://en.wikipedia.org/wiki/Main_Page
3) Slide in the "Navigation App Bar" (notice how smoothly it slides into view)
4) Select "Settings" -> "Find in Page" (notice how sluggish the transition appears)
5) Select the "X" on the "Find Bar" (notice how sluggish the transition appears)
6) Slide the "Navigation App Bar" in & out several times (notice how smoothly it slides into view)

Current Behavior:

- When sliding in the "Find Bar", it will appear very sluggish and slow compared the "Navigation App Bar"

Expected Behavior:

- Sliding the "Find Bar" in & out should be as smooth as sliding in the "Navigation App Bar"

Used the following build:
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2013-07-03-03-13-23-mozilla-central/
WFM, it doesn't seem slow. Yuan, are you happy with the display speed of the find bar?
Blocks: metrov1triage
No longer blocks: metrov1defect&change
Flags: needinfo?(ywang)
Blocks: metrov1defect&change
No longer blocks: metrov1triage
This feels janky to me, not just slow. I hit ctrl+f to toggle on the find bar and it comes up in sort of three stages. First I see about 1/3rd of the bar, then a short pause, then about 3/4ths of it  animates up and onscreen and another short pause then the final bit shows.
Priority: -- → P2
Flags: needinfo?(ywang)
Assignee: nobody → sfoster
Blocks: metrov1it11
No longer blocks: metrov1defect&change
Status: NEW → ASSIGNED
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=2
Blocks: 896763
No longer blocks: 896763
Depends on: 896763
Cant really investigate this while bug 896763 stands, which slides away (smoothly FWIW) the find bar before you can use it.
Showing the findbar was triggering an animation of the browser's padding-bottom, which would definitely account for jankiness. This patch makes that a delayed, 0 second transition so padding-bottom gets set after the findbar has transitioned in. 

ctrl+l (show navbar) and ctrl+f (show find bar) and <escape> to hide them now look more equivalent to me.
Attachment #781369 - Flags: review?(mbrubeck)
Attachment #781369 - Attachment is patch: true
Attachment #781369 - Attachment mime type: message/rfc822 → text/plain
Attachment #781369 - Flags: review?(mbrubeck) → review+
https://hg.mozilla.org/mozilla-central/rev/bff7e921c95d
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 25
Blocks: metrov1it12
No longer blocks: metrov1it11
Mozilla/5.0 (Windows NT 6.2; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0
Build ID: 20130819030205

WFM
Tested on Windows 8 64bit using latest Nightly for iteration #12. Followed steps from comment 0, and everything works as expected: sliding the "Find Bar" in & out is as smooth as sliding in the "Navigation App Bar".

This also needs some device verification.
Status: RESOLVED → VERIFIED
User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0
Build ID: 20130826074752
Built from http://hg.mozilla.org/mozilla-central/rev/14b1e8c2957e

WFM
Tested on windows 8 using latest nightly for iteration-12.
Went through the following "Defect" for iteration #14 (Resolving Device Request from Iteration Document). Used the following build:

http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2013-09-18-03-02-02-mozilla-central/

- Went through the original test case from comment #0 without any issues
- Ensured that sliding in the "Find Bar" via touch is a smooth experience
- Ensured that sliding in the "Find Bar" using "CTRL + F" is a smooth experience
- Ensured that all of the above test cases worked with filled view
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-09-30-03-02-05-mozilla-central/

- Went through the original test case from comment #0 without any issues
- Ensured that sliding in the "Find Bar" via touch is a smooth experience
- Ensured that sliding in the "Find Bar" using "CTRL + F" is a smooth experience
- Ensured that dismissing the "Find Bar" using "ESC" is a smooth experience
- Ensured that all of the above test cases worked with filled view
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-22-03-02-04-mozilla-central/

- Went through the original test case from comment #0 without any issues
- Ensured that sliding in the Find App Bar using "Settings -> Find in page" under the Navigation App Bar was a smooth experience
- Ensured that sliding in the Find App Bar using "CTRL + F" was a smooth experience
- Ensured that closing the Find App Bar using "ESC" was a smooth experience
- Ensured that closing the Find App Bar using the "X" under the Find App Bar was a smooth experience
- Ensured that closing the Find App Bar with the OSK visible was a smooth experience
- Ensured that tapping on the website while the OSK was visible didn't dismiss the Find App Bar (made sure the entire experience was smooth)
- Ensured that all of the above test cases worked in filled view
OS: Windows 8 Metro → Windows 8.1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: