Locking when quickly sliding sliders #31

Closed
opened 2022-09-05 21:23:17 +01:00 by NGnius · 1 comment
NGnius commented 2022-09-05 21:23:17 +01:00 (Migrated from github.com)

Expected Behaviour
Sliders slide smoothly

Actual Behaviour
Sliders slide quickly for one change, and then take a while to update on the next change.

To Reproduce
Steps to reproduce the behavior:

  1. Slide any slider in powertools by holding down the left or right d-pad button.
  2. Watch it move inconsistently

Additional context
This is possibly due to lock contention on the back-end. Making the API lock-free (by sending config updates to a single thread which applies them) would be a good mitigation strategy.

**Expected Behaviour** Sliders slide smoothly **Actual Behaviour** Sliders slide quickly for one change, and then take a while to update on the next change. **To Reproduce** Steps to reproduce the behavior: 1. Slide any slider in powertools by holding down the left or right d-pad button. 2. Watch it move inconsistently **Additional context** This is possibly due to lock contention on the back-end. Making the API lock-free (by sending config updates to a single thread which applies them) would be a good mitigation strategy.
NGnius commented 2023-01-07 23:46:20 +00:00 (Migrated from github.com)

Fixed in 3b34bad

Fixed in [3b34bad](https://github.com/NGnius/PowerTools/commit/3b34bad28a5a9100199cd113e617a71c3eabae0f)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: NG-SD-Plugins/PowerTools#31
No description provided.