Bug 473777 - Better thumbnail preview support in Haruna
Summary: Better thumbnail preview support in Haruna
Status: RESOLVED FIXED
Alias: None
Product: Haruna
Classification: Applications
Component: generic (show other bugs)
Version: 0.12.0
Platform: Flatpak Linux
: NOR wishlist
Target Milestone: ---
Assignee: george fb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-26 15:17 UTC by Mintra
Modified: 2024-12-24 14:31 UTC (History)
0 users

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


Attachments
first attachment (2.62 MB, video/x-matroska)
2023-08-26 15:17 UTC, Mintra
Details
Secoond attachment (3.27 MB, video/x-matroska)
2023-08-26 15:19 UTC, Mintra
Details
third attachment (2.73 MB, video/x-matroska)
2023-08-26 15:20 UTC, Mintra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mintra 2023-08-26 15:17:57 UTC
Created attachment 161194 [details]
first attachment

In the new update 0.12.0 haruna added thumbnail preview support. But IMO it may be lacking on some important UX aspects.

Firstly, when skimming through a video using the seekbar the the frames won't update. If my language is unclear (sorry) see the first attachment. 

STEPS TO REPRODUCE
1. Open a video in haruna.
2. Drag the seekbar with mouse.

OBSERVED RESULT
1. If the video is paused and you drag the seekbar, the video will be stuck on the same frame.
2. If the video is not paused and you drag the seekbar, the video will keep playing without updating with the seekbar.

EXPECTED RESULT
The same way mpv handles it. Whether the video is playing or paused, if a user is dragging the timeline in seekbar, the frame should update with it.  

Secondly, the thumbnail preview only work on hover, but not while dragging

STEPS TO REPRODUCE
1. Open video and hover over the seekbar, you can see thumbnail.
2. If you skim through the seekbar the thumbnail won't update.

OBSERVED RESULT
Thumbnail don't update when skimming.

EXPECTED RESULT
Thumbnail should update with skimming.

IMO, youtube does this pretty well, attachment 3 [details] shows how youtube handles it.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.4.12-200.fc38.x86_64 (64-bit)
(available in About System)
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Running Haruna from flathub under plasma wayland session
Comment 1 Mintra 2023-08-26 15:19:19 UTC
Created attachment 161195 [details]
Secoond attachment
Comment 2 Mintra 2023-08-26 15:20:19 UTC
Created attachment 161196 [details]
third attachment
Comment 3 george fb 2024-12-24 14:31:30 UTC
Git commit 0f43e6a51ef293b85e570f80ec8a670b5093fdc9 by George Florea Bănuș.
Committed on 24/12/2024 at 14:29.
Pushed by georgefb into branch 'master'.

HProgressBar: update video and preview while dragging the seekbar

M  +1    -1    src/mpv/mpvitem.cpp
M  +3    -1    src/mpv/mpvpreview.cpp
M  +18   -13   src/qml/HProgressBar.qml

https://invent.kde.org/multimedia/haruna/-/commit/0f43e6a51ef293b85e570f80ec8a670b5093fdc9