Check the rest on real hardware; fix quit crash, repaint hang and console
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]>
This commit is contained in:
parent
064fd70f3e
commit
4f7a19348a
1 changed files with 63 additions and 17 deletions
|
|
@ -10,10 +10,24 @@ Version 0.1.0, first build (2026-11-26).
|
|||
- 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.
|
||||
|
||||
## Not checked yet
|
||||
- Real GPU (only llvmpipe so far), hardware decoding on real hardware, Wayland drag and drop from a file manager.
|
||||
- File dialogs (portal), screensaver inhibit, colours from the video, keys passed to mpv's console.
|
||||
- Window at the minimum size (480x360), fullscreen, menus near the window edges.
|
||||
## 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 `--gallery` page of every control in every state (the /material skill asks for one).
|
||||
|
|
|
|||
Loading…
Reference in a new issue