Skip to content

Viewer fix slider snapback on GMSL - #15488

Merged
OhadMeir merged 2 commits into
realsenseai:developmentfrom
OhadMeir:d585_gmsl_controls
Aug 2, 2026
Merged

OhadMeir merged 2 commits into
realsenseai:developmentfrom
OhadMeir:d585_gmsl_controls

Conversation

@OhadMeir

@OhadMeir OhadMeir commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Viewer: fix option slider snapping back to the old value on slow write/echo devices (D585 GMSL)

Drop the "user just set" slider mask on the actual FW-write-completed event (did_write), refreshing the cached value then — instead of a fixed 500 ms/1000 ms timer that can outpace a slow MIPI write/echo.
Periodic refreshers (update_all_fields/update_value) now hold the requested value while a write is pending, with the existing 2 s fallback and FW-error path preserved.
Eliminates the new→old→new flicker on GMSL; behavior on USB is unchanged (write lands fast).

Comment thread common/option-model.cpp Resolved
Comment thread common/option-model.cpp Resolved
Comment thread common/option-model.cpp Resolved

@sysrsbuild-gh-agentic sysrsbuild-gh-agentic left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[rs-agentic bot] Auto-generated review. Flagging potential issues below.

Comment thread common/option-model.cpp Resolved
Comment thread common/option-model.cpp Resolved
@OhadMeir
OhadMeir force-pushed the d585_gmsl_controls branch from 4a59273 to 0e5b84a Compare August 2, 2026 09:25
@OhadMeir
OhadMeir requested a review from remibettan August 2, 2026 09:29
Comment thread common/option-model.cpp Resolved
@remibettan
remibettan self-requested a review August 2, 2026 13:09
@OhadMeir

OhadMeir commented Aug 2, 2026

Copy link
Copy Markdown
Contributor Author

CI running the GUI tests LRS_libci_pipeline/17485

@OhadMeir
OhadMeir merged commit 6652d54 into realsenseai:development Aug 2, 2026
33 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants