nextcloud / nextcloud/ios

Tapping "10 seconds back" button in Opus audio player jumps forward instead of backward

Open
#2,561 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

Steps to reproduce
  1. Open an Opus audio file in the app's integrated player
  2. Tap the "jump 10 seconds back" button, either in the app's UI or via control center
Expected behaviour

The player should jump back 10 seconds.

Actual behaviour

The playhead briefly jumps 10 seconds back and then immediately skips 15 seconds ahead, resulting in a net forward jump of 5 seconds

Screenshots

Watch the play position as I repeatedly tap the back button:

https://github.com/nextcloud/ios/assets/30873659/fd2768a2-1fb8-4e11-94fe-5ce0c3443994

Reasoning or why should it be changed/implemented?

It's probably a bug.

Environment data

iOS version: iOS 16.5.1

Nextcloud iOS app version: 4.8.6.4

Server version: 26.0.3

(Very likely a client-side bug though)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the integrated Opus audio player and its handling of the “jump 10 seconds back” control, including the Control Center action. Reproduce the issue on the listed iOS and app versions, then verify that repeated back-button taps leave the playhead 10 seconds earlier without a subsequent forward skip.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
audio-video-rtc, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.