-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GUI: Image is not updated when switching videos #1530
Comments
TraceOn initialization, the sleap/sleap/gui/widgets/video.py Line 278 in 6b14bca
more specifically, the sleap/sleap/gui/widgets/video.py Line 398 in 6b14bca
which calls sleap/sleap/gui/widgets/video.py Line 480 in 6b14bca
which uses an image loader to set the image once loaded sleap/sleap/gui/widgets/video.py Lines 260 to 263 in 6b14bca
Is the video state being updated when we switch video's? After a video that is missing is found?The Lines 340 to 347 in 1e0627a
(and assuming sleap/sleap/gui/widgets/docks.py Line 179 in 1e0627a
we call Line 328 in 1e0627a
|
Fixed with #1787 |
Bug description
Argh! It was a video encoding problem with the MV test videos.
The callback for the "video" state loads the new video image at this line (but this does not happen when switching videos on the last frame prior to updating the "video" state).
sleap/sleap/gui/widgets/video.py
Line 172 in 0134ab4
This is a regression. In the past, the image would update when selecting a new video in the GUI.
Currently, users need to change frames after selecting a video to update the plotted image. This is also noticeable in start-up of the GUI where the default background image remains present even if a video is loaded.
Initial frame loaded correctly, but then when switching to a new video, the plot is not updated:
Expected behaviour
After selecting a video, the plotted image should automatically update.
Actual behaviour
The image only updates when selecting a new frame in the seekbar/arrow keys.
Your personal set up
The text was updated successfully, but these errors were encountered: