Checked on the real GPU and niri: hardware decoding, fullscreen, the minimum window, menus at the edges, colours from the video, mpv's console, screensaver inhibit, the portal file dialog and Wayland drag and drop. - Unset mpv's wakeup callback before libmpv2 frees it (segfault on quit). - mpv callbacks post to a small thread instead of locking egui (hang on quit). - Hide the controls while mpv's console is open; don't double typed spaces. - Any pointer move shows the controls. Co-Authored-By: Claude Opus 5.5 <[email protected]>
2.2 KiB
2.2 KiB
Status
Version 0.1.0, first build (2026-11-26).
Works (checked in hidden smoke runs, software GL)
- Empty screen with recent files; opening files from the command line; playlist of several files.
- Video through libmpv's render API into a GL texture drawn by egui; controls over it (top bar, dock), auto-hide.
- Wavy seek bar with hover preview thumbnails; play button morph; volume slider; speed pill.
- Context menu with submenus; subtitle, sound, speed and chapter menus from the dock.
- Playlist and Adjust sheets; Settings dialog (Appearance, Playback, Languages, mpv, Keyboard, About); Open link dialog.
- Light and dark themes; idle: no frames about a second after pausing.
Checked on real hardware and a real compositor (niri, 2026-11-26)
- Real GPU: plays on the user's Wayland session; hardware decoding is on (
vaapi, shown in the top bar). - Fullscreen (F) fills the screen with the controls on top; F again restores the window.
- Window at the minimum size (480x360): top bar and dock fit, the title elides; menus opened at the bottom-right and top-left corners flip and stay inside the window.
- Colours from the video: an orange clip turns the theme orange (primary
#FFB28B). - mpv's console (`): typed commands run; the controls hide while it is open so its command line stays visible, and come back when it closes.
- Screensaver inhibit: the ScreenSaver Inhibit call is answered on niri while a video plays.
- File dialogs: Ctrl+O opens the portal's "Open videos" picker (xdg-desktop-portal-gtk); it closes with the app.
- Wayland drag and drop: a file dragged from another app (GTK drag source, real pointer drag in a nested niri) opens and plays.
Fixed while checking
- A crash on quit: mpv could call its wakeup callback after libmpv2 had freed it. The callback is now unset first.
- A hang (10 s, then abort): mpv's callbacks asked egui for a repaint while holding mpv's lock. They now post to a small thread that does the asking.
- The dock covered mpv's console; a space typed in the console came out twice.
Missing
- A
--gallerypage of every control in every state (the /material skill asks for one). - Packaging (AppImage / tar.gz) and a release.