Closed Bug 601851 Opened 14 years ago Closed 14 years ago

Switch progress line to slideback / cylon state on navigation event

Categories

(Firefox :: Address Bar, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID
Tracking Status
blocking2.0 --- beta7+

People

(Reporter: beltzner, Assigned: Margaret)

References

Details

Attachments

(1 file, 1 obsolete file)

Right now we only switch to use the slideback CSS style created in bug 596812 when we get a "Connecting..." pause from the system. This results in a lack of immediate feedback after a user clicks on a navigation event. We should switch to the state immediately after we click, and switch to a loading progress bar once we start to show content.
blocking2.0: --- → beta7+
OS: Windows 7 → Windows XP
Attached patch patch (obsolete) — Splinter Review
The issue seems to be that the css transition wasn't switching between different states until the first transitionend event (http://mxr.mozilla.org/mozilla-central/source/browser/base/content/urlbarBindings.xml#957), but setting the slideback attribute when we first show the progressmeter fixes that.
Assignee: nobody → margaret.leibovic
Attachment #481067 - Flags: review?(dao)
Comment on attachment 481067 [details] [diff] [review]
patch

Does this kick the animation off while statusMeter is collapsed?
OS: Windows XP → All
Hardware: x86 → All
Version: unspecified → Trunk
Please note that we have now created a branch for beta 7 work. In addition to landing your fix on mozilla-central default, please also land it on mozilla-central GECKO20b7pre_20101006_RELBRANCH

(note: when landing on mozilla-central default, you will be given priority in the landing queue at https://wiki.mozilla.org/LandingQueue )
(In reply to comment #2)
> Comment on attachment 481067 [details] [diff] [review]
> patch
> 
> Does this kick the animation off while statusMeter is collapsed?

Yes, it does, but the statusMeter will be un-collapsed in the following else statement (looking through the code path, it looks like this._progressCollapseTimer will only be true if the statusMeter isn't collapsed).

I decided to put the line where I did because I figured it made sense to kick off the animation as soon as the value of the statusMeter was set to 0, since it may already be showing when that happens. However, I can move the new line down lower if you think that's better.
With your current patch the blob would become visible when it's somewhere in the middle, wouldn't it? So I think moving it down might be better.
Attached patch patch v2Splinter Review
I moved the line. This patch is going to make bug 602126 worse, though, so I guess we need to see what happens there before this lands.
Attachment #481067 - Attachment is obsolete: true
Attachment #481621 - Flags: review?(dao)
Attachment #481067 - Flags: review?(dao)
Attachment #481621 - Flags: review?(dao)
Bug 602964 makes this invalid.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: