Bug 490453 - When no frames in the video are changing, video preview progress bar only updates once per second
Summary: When no frames in the video are changing, video preview progress bar only up...
Status: CONFIRMED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: 24.05.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-18 13:49 UTC by Quenten
Modified: 2025-10-30 20:26 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
The progress bar updates inconsistently and choppily (108.05 KB, video/webm)
2024-07-18 13:49 UTC, Quenten
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Quenten 2024-07-18 13:49:22 UTC
Created attachment 171759 [details]
The progress bar updates inconsistently and choppily

SUMMARY
After creating a screencast with Spectacle, a window pops up that has a video player previewing the recorded video. Under that preview is a progress bar that should update (smoothly) along with the progress along the video's length (I assume). However, this progress bar updates every second, making it look rather choppy. But it is also updated every time a video frame changes. This behavior is strange to look at if the recorded video doesn't have constantly changing items in it. 

Because it's so hard to explain, I've recorded an example and attached it.

STEPS TO REPRODUCE
1. Start Spectacle and go to the recording tab
2. Select "Rectangular Region" and select the rectangular region of the screen that has a static image and no changes.
3. Start the recording
4. While the recording is happening, place your cursor in this region and leave it stationary for around a second. This is to simulate "no changes" (also make sure your cursor isn't an animated cursor, as that will constantly update the video frames).
5. Move the cursor a bit and leave it stationary again for a couple seconds. 
6. Keep repeating these actions of moving the cursor and leaving it, before ending the recording.
7. End the recording
8. The preview window should pop up.
9. Play the preview of your screen recording.
10. While the preview is playing, observe the progress bar at the bottom. You should notice that it only updates every time a change occurs within the video, and every second while there is no change in the video. 

OBSERVED RESULT
While the video is stationary, the video player progress bar moves only every second. While the video has movement in it, the progress bar moves smoothly along with frame changes.

EXPECTED RESULT
The progress bar moves smoothly at the recorded video's refresh rate.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kernel: 6.9.9-arch1-1
(available in About System)
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
I use Wayland