Closed
Bug 493884
Opened 16 years ago
Closed 16 years ago
video control playback postion bar disconnects from thumb while dragging
Categories
(Toolkit :: Video/Audio Controls, defect)
Toolkit
Video/Audio Controls
Tracking
()
RESOLVED
FIXED
mozilla1.9.2a1
People
(Reporter: Dolske, Assigned: Dolske)
Details
(Keywords: fixed1.9.1)
Attachments
(1 file, 1 obsolete file)
(deleted),
patch
|
neil
:
review+
beltzner
:
approval1.9.1+
|
Details | Diff | Splinter Review |
The video control scrubber bar is composed of 3 pieces -- a static background bar, a bar that shows the amount of data buffered, and playback position bar. The last of these is just for visual style, basically to make the scrubber bar to the left of the thumb a different color than the bar to the right.
It's currently updated after a timeupdate event, which isn't really right. For example, while dragging the thumb rapidly the bar will lag behind the thumb's position, and looks disconnected and broken.
Updating it from the valueChange callback (when the <scale>'s value changed) fixes this.
Attachment #378493 -
Flags: review?(neil)
Assignee | ||
Comment 1•16 years ago
|
||
The updated patch for bug 493523 removes the need for the last chunk of the v.1 patch.
Attachment #378493 -
Attachment is obsolete: true
Attachment #378694 -
Flags: review?(neil)
Attachment #378493 -
Flags: review?(neil)
Comment 2•16 years ago
|
||
We could really do with extra spacers on each side of the thumb that we then
style separately... that might also allow themes to do :active sliders ;-)
Comment 3•16 years ago
|
||
Comment on attachment 378694 [details] [diff] [review]
Patch v.2
r=me by code inspection.
>+ if (this.type == "scrubber") {
>+ // Update the value bar to match the thumb position.
>+ var percent = this.value / newValue;
>+ this.valueBar.value = Math.round(percent * 10000); // has max=10000
>+ }
Not sure whether it helps to do this outside the switch.
Attachment #378694 -
Flags: review?(neil) → review+
Comment 4•16 years ago
|
||
Comment on attachment 378694 [details] [diff] [review]
Patch v.2
a191=beltzner
Won't hold release for this, but should be super-safe. Make sure it bakes for a cycle on mozilla-central before you move it to 1.9.1
This is the only one of your recent batch that makes me really nervous.
Attachment #378694 -
Flags: approval1.9.1+
Assignee | ||
Comment 5•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2a1
Assignee | ||
Comment 6•16 years ago
|
||
Keywords: fixed1.9.1
Assignee | ||
Updated•15 years ago
|
Component: Video/Audio → Video/Audio Controls
Product: Core → Toolkit
QA Contact: video.audio → video.audio
Version: Trunk → unspecified
You need to log in
before you can comment on or make changes to this bug.
Description
•