Front End stuck when playing
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 465
- Forks
- 122
- PR merge metrics
- No merged PRs in 30d
Description
前端切换到播放模式,点击播放后就卡住了打转,但是后端可以正常仿真完毕,
下面的回调函数没有被执行,导致前端卡住
export function play (context) {
const { state, commit } = context
let frameNumber = 0
commit('updateState', { loading: true })
commit('updateState', { isPaused: false })
electron.player.play(async (status, err) => {
console.log('play status', cloneDeep(status))
if (err?.length) {
await showErrorList(err)
}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the play(context) function shown in the issue and trace the electron.player.play call and its callback. Reproduce the frontend playback hang while confirming that backend simulation completes, then determine why the callback is not executed. Done means playback no longer remains stuck loading after clicking play.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100