76 Commits

Author SHA1 Message Date
pax
eede01ff51 Only show Autoplay/Manual button when Next mode is selected
Autoplay is irrelevant for Loop and Once — only matters when
videos auto-advance to the next post.
2026-04-05 03:49:59 -05:00
pax
adeb318131 Set minimum size on slideshow window to prevent squishing 2026-04-05 03:46:05 -05:00
pax
b8033c41e1 3-way Loop/Once/Next cycle, cleaner Autoplay/Manual labels
- Loop: repeat forever
- Once: play once, stop at end
- Next: play once, advance to next post
- Autoplay/Manual labels for auto-start toggle
- Document :checked state in themes/README.md
2026-04-05 03:31:58 -05:00
pax
0362256bbd Manual mode pauses at end of current video instead of restarting 2026-04-05 03:27:00 -05:00
pax
78f2dc030f Fix Loop/Next: use position detection instead of EndOfMedia
EndOfMedia doesn't fire reliably with setLoops(1). Instead,
use Infinite loops and detect the loop restart via position
jumping from near-end back to 0. Pause and emit play_next
when in Next mode. Toggle takes effect immediately.
2026-04-05 03:22:18 -05:00
pax
68e04776b1 Loop/Next toggle takes effect immediately during playback
Use manual looping via EndOfMedia instead of QMediaPlayer.Loops.Infinite
so toggling mid-playback works without waiting for next video.
2026-04-05 03:19:22 -05:00
pax
d4ee2b2ec1 Fix video position not restoring on slideshow close
Emit closed signal before stopping video so the position
can be read in _on_fullscreen_closed.
2026-04-05 03:00:44 -05:00
pax
fec1470629 Slideshow remembers video position, fix preview restore on close
- Grabs video position before opening slideshow and seeks to it
- Use closed signal from closeEvent instead of destroyed for
  reliable preview restoration on slideshow close
2026-04-05 02:29:42 -05:00
pax
fb42d53dbc Hide Bookmark/Save buttons in slideshow when viewing Library 2026-04-05 02:16:27 -05:00
pax
57b3dd853a Fix video opening externally, fix slideshow stealing key events
- Video errors now logged instead of opening in system player
- Slideshow event filter only intercepts keys/scroll when its
  window is active, fixing up/down skipping in main app
2026-04-05 02:10:07 -05:00
pax
27f4f0eb19 Only change slideshow volume when its window is focused 2026-04-05 02:04:11 -05:00
pax
72e4d5c5a2 v0.1.4 — Library rewrite: Browse | Bookmarks | Library
Major restructure of the favorites/library system:

- Rename "Favorites" to "Bookmarks" throughout (DB API, GUI, signals)
- Add Library tab for browsing saved files on disk with sorting
- Decouple bookmark from save — independent operations now
- Two indicators on thumbnails: star (bookmarked), green dot (saved)
- Both indicators QSS-controllable (qproperty-bookmarkedColor/savedColor)
- Unbookmarking no longer deletes saved files
- Saving no longer auto-bookmarks
- Library tab: folder sidebar, sort by date/name/size, async thumbnails
- DB table kept as "favorites" internally for migration safety
2026-04-05 01:38:41 -05:00
pax
ea08e0e3e4 Add Loop/Next toggle for video playback
Default: Loop (replays video). Toggle to Next: auto-advances to
next post when video ends. Works in both preview and slideshow.
2026-04-05 00:25:08 -05:00
pax
2bca5ca188 Click-to-seek, scroll-to-volume, filetype in preview info bar
- Clicking the seek bar jumps to that position (both preview and slideshow)
- Scroll wheel adjusts volume when viewing video (both preview and slideshow)
- Filetype shown in the info bar below preview (e.g. JPG, WEBM, PNG)
2026-04-05 00:21:19 -05:00
pax
708d177801 Fix grid nav: up/down in last row, preview no longer steals focus
- Up/Down in grid's last incomplete row moves to last post instead
  of triggering page turn
- Preview panel set to NoFocus so clicking it doesn't steal
  keyboard focus from the grid
2026-04-04 21:48:31 -05:00
pax
823bcd500e Merge Save/Unsave into toggle button, add Ctrl+H to hide UI
- Single Save/Unsave button that toggles based on library state
- Ctrl+H in slideshow hides/shows toolbar and video controls
2026-04-04 20:41:52 -05:00
pax
252cc4e6f3 Favorites bulk context menu, slideshow state buttons
- Add multi-select right-click menu in favorites (save all, unsave
  all, move all, unfavorite all)
- Slideshow toolbar buttons show post state: Favorite/Unfavorite,
  Save enabled/disabled, Unsave enabled/disabled
- State updates after every favorite/save/unsave action
2026-04-04 20:36:48 -05:00
pax
4675c0a691 Slideshow toolbar, unsave from library, fix async error handling
- Add Favorite/Save/Unsave buttons to slideshow mode toolbar
- Add "Unsave from Library" to grid and preview right-click menus
- Fix silent exception swallowing in persistent event loop
- Fix closeEvent race condition with async thread join
2026-04-04 20:31:10 -05:00
pax
c8d38edf06 Don't intercept keys from text inputs in slideshow event filter
Space, arrow keys etc. now work normally in search bar and other
text fields while slideshow is open.
2026-04-04 20:02:57 -05:00
pax
339c1b3c02 F11 toggles fullscreen/windowed in slideshow mode 2026-04-04 20:01:26 -05:00
pax
97ad56c12f Add up/down navigation in slideshow mode
Up/Down/J/K in slideshow now navigate by grid row, matching
the grid's column layout.
2026-04-04 20:01:00 -05:00
pax
be56db1f47 Use native QMediaPlayer looping instead of manual restart
Fixes flashing/flickering on short looping videos by using
QMediaPlayer.Loops.Infinite instead of manually seeking to 0
on EndOfMedia.
2026-04-04 19:51:26 -05:00
pax
495eb4c64d Fix slideshow key handling via app-wide event filter
Arrow keys now work for navigation on videos in slideshow mode.
Uses event filter instead of NoFocus hack which broke video rendering.
2026-04-04 19:36:39 -05:00
pax
d275809c6b Slideshow: video support, seek keys, fix double audio
- Slideshow mode now supports video (webm/mp4) and GIFs
- Arrow keys navigate posts in both preview and slideshow (including videos)
- , and . seek 5s back/forward in videos
- Main preview video pauses when slideshow opens (no double audio)
- Fix focus stealing by video player widgets in slideshow
2026-04-04 19:33:24 -05:00
pax
238df9cf3e Slideshow mode, Win10 dark mode fixes, key propagation fix
- Add "Slideshow Mode" to preview right-click context menu
- Fix arrow key propagation in fullscreen/slideshow view
- Flatten Fusion dark mode buttons with stylesheet
- Fix Save button width, fix spinbox arrows on dark theme
2026-04-04 19:20:03 -05:00
pax
b10c00d6bf Initial release — booru image viewer with Qt6 GUI and Textual TUI
Supports Danbooru, Gelbooru, Moebooru, and e621. Features include tag search
with autocomplete, favorites with folders, save-to-library, video playback,
drag-and-drop, multi-select, custom CSS theming, and cross-platform support.
2026-04-04 06:00:50 -05:00