FS#9128 - Incorect peakmeter scale in recording screen

Attached to Project: Rockbox
Opened by PaulJam (PaulJam) - Saturday, 28 June 2008, 18:09 GMT
Last edited by Peter D'Hoye (petur) - Sunday, 29 June 2008, 08:05 GMT
Task Type Bugs
Category User Interface
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


When the WPS shows the peakmeter inside a viewport then the scale of the peakmeter in the recording screen has the same width (but the peakmeter itself is shown with the full width of the screen). I have attached a very simple .wps file for reproduction purposes.

Reset settings during boot (maybe not needed), load the attached .wps file, enter the WPS and then enter the recording screen.

If you enter the recording screen first and after that enter the WPS, then the scale in the WPS is wrong.

H300 with r17842
This task depends upon

Closed by  Peter D'Hoye (petur)
Sunday, 29 June 2008, 08:05 GMT
Reason for closing:  Fixed
Comment by Peter D'Hoye (petur) - Sunday, 29 June 2008, 00:03 GMT
Sounds quite to be expected: the scales are only calculated once (unless you change the scale type), so they stay the same regardless of viewport width. Must invalidate them when the viewport changes.....