Skip to content

Range selection doesn’t update when swicthing recordings/tracks #1742

@LanieOkorodudu

Description

@LanieOkorodudu

Description
When switching between recordings, the selection doesn’t update properly. After playing and pausing Pili pili wonde, if you click on another recording (La Guinee) and play it, the first one still stays highlighted.
The metadata panel also continues to show details for Pili pili wonde instead of the newly selected recording, and the index doesn’t update either.

Step to reproduce

  1. Play the manifest:
    https://www.universalviewer.dev/#?xywh=-2482%2C-1821%2C7531%2C7183&iiifManifestId=https%3A%2F%2Fgist.githubusercontent.com%2FSaira-A%2F2636952540b87e82d6550eadb9c8a7a6%2Fraw%2F54847c09cb8ba82bfd018b665cbbf536ee464e3d%2Fmanifest2.json&rid=https%3A%2F%2Fapi.bl.uk%2Fmetadata%2Fiiif%2Fark%3A%2F81055%2Fvdc_100138767673.0x000006
  2. Select the index tab
  3. Select Pili pili wonde from the index
  4. Play
  5. Pause
  6. Click anywhere in the range for the second recording
  7. Play
  8. The range for Pili pili wonde remains highlighted and the metadata displayed in the metadata panel is for Pili pili wonde

Expected Behaviour

  • Primary navigation Bar: The blue range for Pili pili wonde should no longer be highlighted and should revert to grey
  • Metadata pane: Should update to display metadata for the second track (La Guinee), as this has been selected via the primary navigation bar or waveform scrubber
  • Index: The newly selected track should be highlighted

See attached screenshot

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions