Repository navigation
RustView 0.6.0
Added
- A-B repeats of the mpv script ab_repeat.lua in the control bar of videos: when your mpv script ab_repeat.lua (version 2.0
with its interface) runs in a video's player, the control bar gets an A-B group in a capsule after the remaining time: set A,
set B, AB (a click switches the repeat on and off, holding it clears A and B), save (a small bubble for the name, Enter saves,
with a hint when the name or the range is saved already) and the menu of saved repeats (search, pages or a scroll list,
a mini bar per entry showing where it lies, rename, delete and delete all by holding, the running one highlighted; a badge on
the button counts them). Above the progress bar a tab grows out of the bar with every saved repeat as a thin colored line
(overlaps show stronger, the colors stay while RustView runs), the current A-B in yellow, flags with the times of A and B
(dragging one moves its point, a point the script set by itself is dashed), and the name of the repeat under the pointer;
a click on a line loads that repeat and plays it. While a repeat loops, the rest of the progress bar is darker. Everything goes
through the script, so a repeat behaves exactly as in mpv and the saved repeats are the same in both. Several players of the
same file keep their lists in step, and renaming or moving a video in RustView takes its saved repeats along. - Keys for A-B repeats (Settings > Hotkeys > MPV ab_repeat.lua, only while the script runs): set A (Home), set B (End), clear
(Ctrl+Delete), and without a default key the save bubble, the menu of saved repeats, jump to A and the next or previous saved
repeat. - Settings > Multiview, card "mpv script ab_repeat.lua": look for the script (on by default; an incompatible script is
named as an error, Check again looks again without restarting RustView), whether the script shows its own messages in the
video, the colors of the saved repeats, what clicks, the pointer and dragging do in the playbar, and how the menu pages.
Settings > Debug names the script too. - Jumping with a key shows the control bar for a moment: the jump and frame keys of the video player and the A-B repeat keys
show the bar of the video for 1.5 s, so the new position is visible. - A volume bar shows when the mouse wheel or a key changes the volume of a video: a flat, semi-transparent bar with a speaker icon
near the bottom of that video (at most half its width), in the fullscreen and in tabs, with one or several media. It fades out like the
rating icon, and every new change shows it again. Dragging the volume slider of the control bar shows no bar. - The mute key shows a speaker icon in the middle of the video (crossed out when it is muted), like the rating icon. The mute buttons
show none.
Changed
- Videos are drawn by RustView itself (branch video-in-slint, first step): mpv renders every video on a thread of its own into
textures that the RustView window shows like a picture, instead of a native mpv window over it. Context menus and tooltips of the
main window now simply lie over a video (no more holes cut into the video), and moving a video between a tab and the fullscreen
keeps it playing. mpv itself, your mpv.conf and your scripts are unchanged; the control bars still float in windows of their own
for now. Settings > Debug: the video self-test renders through the same path (no test window opens any more) and says how videos
are drawn and whether the picture had content. - The control bar of videos is drawn by RustView's own window (branch video-in-slint, second step), together with its A-B group:
it no longer floats over the video in a window of its own. It fades in and out also without a compositing manager, and nothing of
it can stay behind over another application. The small bar of a video in the Tab-Grid is drawn the same way. - The action bars of the Multiview are drawn by RustView's own window (branch video-in-slint, third step): the media bar of each
medium, the primary bar, the "Open With" and Save drop-downs, the zoom slider below the bar and the hint ("Select a medium first")
no longer float in windows of their own. Nothing of them can stay over another application, they look the same with and without a
compositing manager, tooltips and menus of the window lie over them, and a drop-down closes on a click anywhere else in the view
(that click does nothing else). RustView no longer asks the X server where the pointer is every 50 ms: the bars follow the pointer
events of their window, so they also appear with native Wayland. - Everything over a video is drawn by RustView's own window (branch video-in-slint, fourth step): the rating and save icon, the
speaker of the mute key, the volume bar of the wheel and the keys and the corner marks of the selected medium look exactly as over
a picture; mpv draws nothing over the picture any more. In the Tab-Grid the time badge of a video ("0:03 / 0:08") is drawn by
RustView too, and the pause badge of a single video moved to the bottom left corner, so the two no longer cover each other.
Messages of mpv scripts no longer get the dark box the time badge used to give them. - A zoomed video is moved and scaled by RustView like a picture (branch video-in-slint, fifth step): mpv always renders the whole
video, and RustView draws it where the zoom puts it. Dragging a zoomed video follows the pointer at once instead of a frame later,
zooming never shows the picture in the wrong place for a moment, and the minimap of a zoomed video plays along with it (before it
showed a still that was renewed every 2 s). The volume bar lies on the part of the video that shows. Subtitles
now grow with a zoomed video like the picture itself. - A video moves between the fullscreen and its tab without a black picture (branch video-in-slint, sixth step): while it
changes windows, the new window shows the video's last picture until the video runs there. In the tab grid the videos scroll
with their items without any lag, and the small control bar of the video under the mouse follows the mouse directly (before it
was polled from the X server 20 times a second). - The save bubble and the menu of saved A-B repeats open right above their button: the caret points at the button that opened
them (also on a narrow video and with the pill style), the bubble touches the bar (no gap any more), and opening or closing them
no longer makes the whole bar flicker. A menu that is wider than its video may use the room next to it. A click anywhere else in
the view closes them, and the keys work again right after. - The windows are drawn with Slint's skia renderer (before: femtovg). It uses EGL, which mpv's hardware decoding needs to hand
decoded frames over without copying them back. Text and shapes look the same.RUSTVIEW_RENDERER=femtovgstarts with the old
renderer once (for a check or a driver problem). - The settings page "Fullscreen" is now called "Multiview" and starts with a short explanation of what the Multiview is (the
view of one to four media, in the fullscreen and in tabs). Everything about the video player lives there now, because videos play
only in the Multiview: the jump distances of the jump keys moved from Settings > Viewer > Videos to the new card Multiview > Jump
Keys, and the card "mpv script ab_repeat.lua" sits next to Player and Sound. Settings > Viewer keeps how images and videos open
from the media view, the rating badge of tabs and the tab background. Only the place in the settings window changed: your settings
are kept as they are (no migration). - In a Wayland session RustView now runs as a native Wayland program (branch video-in-slint, seventh step; before it ran through
XWayland). Videos with all bars, menus, zoom and the Multiview work there, since everything over a video is drawn by RustView. Not
yet on native Wayland: dragging files to other programs, dialogs tied to their window and the pointer lock of the minimap drag
(Settings > Debug names them).RUSTVIEW_WINDOW_SYSTEM=x11starts RustView through XWayland as before. An X11 session is unchanged. - The A-B tab above the progress bar only shows when it has something in it (a saved repeat, A or B); without them the bar
looks like any other. Without a compositing manager the tab is now a plain rectangle over the progress bar instead of a window
cut to the curved outline.
Fixed
- The Multiview fullscreen opens on native Wayland: it waited for an X11 window and closed itself again; it now goes into
Wayland's fullscreen on the monitor that is set (or the one the window opened on). - The Multiview fullscreen no longer opens as a merely maximized window now and then (with the panel visible, on X11 and on
native Wayland, where it happened every second time): when the window manager did not take the fullscreen state, RustView asks for
it again. - The buttons of the A-B group and of the menu of saved repeats show their tooltips (they never appeared).
- The menu of saved A-B repeats and the save bubble work with the mouse: a press inside them was taken for a press outside
and closed them, so a click on an entry could get lost and deleting by holding never worked; a click on the video now closes
them reliably, also a very short one. - No darker line between the A-B tab and the control bar (the two translucent fills overlapped by one pixel).
- The length of a saved A-B repeat is rounded in the menu and the label under the pointer (a repeat of 1.9 s reads "0:02",
not "0:01"). - Settings > Multiview no longer says that only pictures zoom: the Image Zoom card and the tooltip of the Zoom button now name videos
too, which zoom the same way. - mpv's own on-screen controller no longer runs inside RustView's players when the user's
mpv.confswitches it on (osc=yes): the
mpv configuration is read after RustView's own options, so the controller was loaded again. It was never visible (RustView takes the
mouse over videos), but it ran in every player. - Zooming a video no longer flickers when it leaves 100 % or comes back to it: for one frame the video showed up stretched or at the
wrong place. In the fullscreen and in tabs the video now always draws into the whole area of its tile and is only cut to its place while
it is not zoomed, so starting or ending a zoom never resizes the video's own window. The rating icon now stays centered on the video
while it is zoomed, too.
Install (Arch Linux, Manjaro)
gh release download v0.6.0 --repo vommie/rustview --pattern 'rustview-0.6.0-1-x86_64.pkg.tar.zst' --pattern SHA256SUMS
sha256sum -c SHA256SUMS --ignore-missing
sudo pacman -U rustview-0.6.0-1-x86_64.pkg.tar.zstThe newest version is always the latest release: gh release download --repo vommie/rustview --pattern 'rustview-x86_64.pkg.tar.zst' --pattern SHA256SUMS
(GitHub CLI, gh auth login once; this also works while the repository is private). Once the repository is public the permanent link
https://github.com/vommie/rustview/releases/latest/download/rustview-x86_64.pkg.tar.zst works with a plain curl -LO.
Full changelog: https://github.com/vommie/rustview/blob/v0.6.0/CHANGELOG.md