sillsdev / sillsdev/languageforge-lexbox
Intermittent "Timed out waiting for popstate event"
@rmunn is already working on this.
Since Jul 24, 2026.
- Dominant language
- C#
- Stars
- 9
- Forks
- 8
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 49
Description
Describe the bug
While testing https://github.com/sillsdev/languageforge-lexbox/pull/2458 I once managed to trigger a race-condition bug. Did the same thing multiple times later and never reproduced it again. But this isn't the first time I've seen it happen. The symptom is that when opening or closing a dialog, sometimes a popup can show up with Error: Timed out waiting for popstate event after history change "BackHandler-picture-viewer-dialog". (The precise history change obviously depends on what you were doing at the time)
To Reproduce
Steps to reproduce the behavior:
- Go to an entry with a picture
- Click on the picture to see "fullscreen" view (not actually fullscreen if you're on desktop, it's limited to the picture's native resolution)
- Click on the three-dots menu
- Click on edit
- MOST of the time it works, sometimes you get "Timed out waiting for popstate event"
Expected behavior
Switching between two dialogs should always succeed without a race condition.
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.
Assessment
This issue has not been assessed yet.