View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001551 | MMW v4 | Player | public | 2004-09-20 12:17 | 2007-09-11 17:05 |
Reporter | rusty | Assigned To | |||
Priority | low | Severity | feature | Reproducibility | always |
Status | new | Resolution | open | ||
Summary | 0001551: Indicate seek time when using the player seek bar | ||||
Description | While moving Song position slider (seek bar) user does not know Correct destination time while dragging so he can't detemine where to stop. Expected behaviour would be for the Track indicator (which normally shows the track Artist/Title) to change to the format: x m y s / x' m y' s (z%) [similar to winamp] Issue raised by Peke | ||||
Additional Information | From Peke: Solve: While PlayerTrackbar.onMouseMove Source code should look like: --- SourceCode --- Procedure Player.SongLengthBarMouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer); Var TrackLength : Integer; {Song Length in MilliSeconds} SongLength : TProgessBar; {Song Progressbar} SeekPos: Integer; {Song Time relative to Mouse position in SongLengthBar (Percents) multiplied with 1/100 of Song Length. In Miliseconds} Begin // Set Hint of SongLengthBar (SeekPos converted to time format mm:ss). so user can get Hint at what pos song will seek if clicked SongLengthBar.Hint := ConvertMSToTime(Trunc((imod.GetLength/100)*(X/(Lengthbar.Width/100)))); If ssLeft in Shift Then If ((X > -1) And (X < (TrackLength+1))) Then Begin SeekPos := Trunc((TrackLength/100)*(X/(SongLengthbar.Width/100))); End; End; --- SourceCode --- | ||||
Tags | No tags attached. | ||||
Fixed in build | |||||