Ticket #1911 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

OLPC-Measure activity- Recording duration is not accurate

Reported by: Ruwan F'do Owned by: gpollice
Priority: High Milestone: Unspecified by Release Team
Component: Measure Version:
Severity: Major Keywords:
Cc: Distribution/OS: OLPC
Bug Status: Resolved

Description

Description


Time durations in the drop down list is not matching with the actual result. It doesn’t stop at the given point.

Precondition


1. Power on OLPC
2. Wait for the activity ring/ activity Icons (Desktop).
3. Open the measure activity
4. Go to the sound tab
5. Select 30second on drop down list
6. Click the record button

Actual Result


Recording doesn’t stop at the given time period.

Expected Result


Recording should stop at the given time period.

Tested Environment


OS Build: 802b5
Machine Type: XO1
Firmware: Q2E42
Security Disable: Yes
Sugar Version: 0.82.1
Activity version: 27

Change History

Changed 3 years ago by Ruwan F'do

  • summary changed from OLPC-Measure activity- time durations don’t stop at the given point to OLPC-Measure activity- Recording duration is not accurate

Changed 3 years ago by sascha_silbe

  • owner changed from tomeu to walter
  • priority changed from High to Unspecified by Maintainer
  • distribution changed from Unspecified to OLPC
  • version 0.82.x deleted
  • component changed from sugar to Measure

Changed 3 years ago by walter

  • priority changed from Unspecified by Maintainer to High

Changed 3 years ago by gpollice

  • owner changed from walter to gpollice
  • status changed from new to assigned
  • status_field changed from New to Resolved

This has been fixed. There are a couple of issues here. First, the assumption that selecting a time in the combo box means that Measure will sample for that period of time and stop is a bad assumption. Selecting a time actually means that a sample will be taken continually at the end of the duration, until the user clicks the stop recording button. However, if the Now is selected, it means take a single snapshot when the Record button is pressed.

We changed the text on the combo box items to be more clear and added more descriptive tool tips to the record button. We also cleaned up the audio sampling toolbar.

Finally, we noticed that the time was not correct, depending upon the processor so we added a timer thread to determine when to log the sample.

Changed 3 years ago by ganderson

We reproduced the problem on version 29 and version 30. As of version 30 on the XO1.5, it seems to be fixed.

Changed 3 years ago by walter

Please see  http://bugs.sugarlabs.org/attachment/ticket/1070/Measure-30.xo (the latest version of Version 30). Should be able to test it on the XO 1.0 too.

Changed 3 years ago by walter

  • status changed from assigned to closed
  • resolution set to fixed

dup of #1905?

Note: See TracTickets for help on using tickets.