You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have noticed a bug in the Shift + Drag frame selection tool when trying to select a whole video. When selecting a whole video the frame range goes beyond the frame count of the actual video. Shift + Double Click also does not match the video frame count, however behaves differently than Shift + Drag.
Expected behaviour
If I select a whole video with using the Shift + Drag frame selection, the max selected frame range and frame count should match the number of frames in the video listed in the Videos table. Shift + Double Click should select all frames in a way that the selection range and frame count matches the video.
Actual behaviour
When I select all frames with the Shift + Drag selection tool in a video with only 1101 frames the GUI displays "Selection: 1-1,104 (1,104 frames)" or in some cases "Selection 1-1,111 (1,112 frames)" (See Screenshot Below). In a video with 1500 frames the GUI displays Selection: 1-1505 (1505 frames)."
When I select Shift + Double Click on the timeline viewer, it selects frames Selection: 1-1500 (1501 frames). So somewhere in the code stack is adding + 1 to the frame count which is being displayed. This behavior is different than the Shift + Drag even though they should both be selecting all frames in the video.
Your personal set up
Installed from source and bug generated with develop branch.
In the Timeline viewer press Shift + Drag to select the frame range from 1 to the max frame range (slight from the left all the way to the right for frame selection)
You will see a mismatch between the number of frames in the video and the number of frames selected both in the Selection: and frame count portion of the GUI display under the Timeline viewer.
The text was updated successfully, but these errors were encountered:
ericleonardis
changed the title
Shit + Click Frame Selection and Frame Count Not Matching Video
Shift + Click Frame Selection and Frame Count Not Matching Video
Dec 20, 2024
ericleonardis
changed the title
Shift + Click Frame Selection and Frame Count Not Matching Video
Shift + Drag Frame Selection and Frame Count Not Matching Video
Dec 20, 2024
Bug description
I have noticed a bug in the Shift + Drag frame selection tool when trying to select a whole video. When selecting a whole video the frame range goes beyond the frame count of the actual video. Shift + Double Click also does not match the video frame count, however behaves differently than Shift + Drag.
Expected behaviour
If I select a whole video with using the Shift + Drag frame selection, the max selected frame range and frame count should match the number of frames in the video listed in the Videos table. Shift + Double Click should select all frames in a way that the selection range and frame count matches the video.
Actual behaviour
When I select all frames with the Shift + Drag selection tool in a video with only 1101 frames the GUI displays "Selection: 1-1,104 (1,104 frames)" or in some cases "Selection 1-1,111 (1,112 frames)" (See Screenshot Below). In a video with 1500 frames the GUI displays Selection: 1-1505 (1505 frames)."
When I select Shift + Double Click on the timeline viewer, it selects frames Selection: 1-1500 (1501 frames). So somewhere in the code stack is adding + 1 to the frame count which is being displayed. This behavior is different than the Shift + Drag even though they should both be selecting all frames in the video.
Your personal set up
Installed from source and bug generated with develop branch.
OS:
Windows 11 Pro
Version(s):
SLEAP v1.4.1a2, python 3.7.12
SLEAP installation method (listed here):
Environment packages
Logs
Screenshots
How to reproduce
The text was updated successfully, but these errors were encountered: