Describe the bug
When changing object view, if a query is slow and arrives after the selected object has changed, then it updates the wrong object view.
To Reproduce
Steps to reproduce the behavior:
Search for more than 1 object
Open the object details view
Change object
Wait for the object view update
Expected behavior
A clear and concise description of what you expected to happen.
Desktop (please complete the following information):
Browser: Qutebrowser
Version: 2.1.0
Additional context
This error happened at a time when the database/api was highly used and responding very slow.
Proposed solution
The solution to this would be to cancel queries. For example if a query to the same endpoint is applied, then the former query should be canceled
Describe the bug When changing object view, if a query is slow and arrives after the selected object has changed, then it updates the wrong object view.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Desktop (please complete the following information):
Additional context This error happened at a time when the database/api was highly used and responding very slow.
Proposed solution The solution to this would be to cancel queries. For example if a query to the same endpoint is applied, then the former query should be canceled