Skip to content

Conversation

@0Chencc
Copy link
Owner

@0Chencc 0Chencc commented Jan 29, 2026

Summary

  • Add mini player mode with responsive layout
  • Fix mouse drift when dragging window on non-100% DPI displays
  • Update dependencies (dio, window_manager, app_links, flutter_secure_storage, socks5_proxy)
  • Extract MiniPlayerContent to separate widget file

Changes

  • New MiniPlayerService to coordinate window size transitions
  • Extended WindowService with size manipulation methods
  • Added mini player toggle button in title bar
  • Simplified native Windows code to match Kazumi project implementation

Test plan

  • Test mini player mode toggle
  • Test window dragging on 125% DPI display
  • Verify playback controls work in mini mode
  • Test responsive layout at different window sizes

- Add MiniPlayerService to coordinate window size transitions
- Extend WindowService with getSize/setSize/setMinimumSize/setMaximumSize
- Add miniPlayerMode state to NavigationProvider
- Add mini player toggle button in CustomTitleBar
- Implement responsive _MiniPlayerContent with adaptive controls
- Fix overflow issue in placeholder when nothing is playing
- Update dependencies: window_manager 0.5.1, app_links 7.0.0,
  flutter_secure_storage 10.0.0, socks5_proxy 2.1.1
- Add localization strings for mini player feature
- Move _MiniPlayerContent from app.dart to mini_player_content.dart
- Rename to public MiniPlayerContent class
- Remove unused PlaybackState import from app.dart
- Reduces app.dart from ~650 lines to ~280 lines
- dio: 5.9.0 → 5.9.1
- build_runner constraint: ^2.4.8 → ^2.4.13
Simplified native Windows code to match Kazumi project implementation:
- Remove extra WM_DPICHANGED handling in flutter_window.cpp
- Let window_manager plugin fully control window dragging
- Add WM_SETFOCUS handling for better focus management
- Improve WM_ACTIVATE to only set focus on actual activation
@codecov
Copy link

codecov bot commented Jan 29, 2026

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@0Chencc 0Chencc merged commit 72267e5 into main Jan 29, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants