Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
737293b
feat: implement app filtering
galagyy Apr 4, 2026
09de258
chore: fix app filtering formatting
galagyy Apr 4, 2026
163b910
feat: add refresh on filter change
galagyy Apr 4, 2026
c4760cd
fix: play/pause not respecting app filters
galagyy Apr 4, 2026
9c015af
Merge branch 'master' into feature/app-filtering
galagyy Apr 4, 2026
a8aa8d5
fix: replace ExtractAppName function
galagyy Apr 5, 2026
664a40f
chore: rename session & conditional flow
galagyy Apr 5, 2026
310f885
chore: fix copyright unicode
galagyy Apr 5, 2026
eb61f91
chore: move app filtering to system menu
galagyy Apr 5, 2026
b5bf5f6
fix: parse .exe & cleanup code
galagyy Apr 6, 2026
f64aa8a
feat: better app comparison
galagyy Apr 6, 2026
660d03e
docs: add method documentation
galagyy Apr 6, 2026
0a492b3
feat: change page UI & format
galagyy Apr 7, 2026
cab7bde
feat: disk caching for icons
galagyy Apr 7, 2026
dd7b82e
feat: add whitelist/blacklist mode
galagyy Apr 7, 2026
ac6789d
refactor: remove disk cache & icons from lists
galagyy Apr 8, 2026
130c047
fix: remove redundant dynamic resource
galagyy Apr 9, 2026
5b32a3e
Merge branch 'master' into feature/app-filtering
galagyy May 3, 2026
26b727f
fix: resolve merge conflicts & formatting
galagyy May 3, 2026
8b0547d
fix: remove old filtering
galagyy May 8, 2026
57be7a5
feat: change ui language & formatting
galagyy May 8, 2026
adacb35
feat: add icon to dropdown
galagyy May 10, 2026
f9deb43
fix: fix dropdown hit area
galagyy May 10, 2026
cb9555b
feat: add hint to app dropdown
galagyy May 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions FluentFlyoutWPF/Classes/Utils/MediaPlayerData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,8 @@ public static (string, ImageSource?) GetAndCacheMediaPlayerData(string mediaPlay
{
try
{
// pre-filter processes without a main window handle
if (p.MainWindowHandle == IntPtr.Zero)
{
return null;
}
// we no longer filter processes without main window handle,
// as background media processes may not have one.

var mainModule = p.MainModule;
if (mainModule == null) return null;
Expand Down
24 changes: 4 additions & 20 deletions FluentFlyoutWPF/Controls/TaskbarWidgetControl.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -409,10 +409,7 @@ private async void Previous_Click(object sender, RoutedEventArgs e)
{
if (_mainWindow == null) return;

var mediaManager = _mainWindow.mediaManager;
if (mediaManager == null) return;

var focusedSession = mediaManager.GetFocusedSession();
var focusedSession = _mainWindow.GetActiveMediaSession();
if (focusedSession == null) return;

await focusedSession.ControlSession.TrySkipPreviousAsync();
Expand All @@ -422,30 +419,17 @@ private async void PlayPause_Click(object sender, RoutedEventArgs e)
{
if (_mainWindow == null) return;

var mediaManager = _mainWindow.mediaManager;
if (mediaManager == null) return;

var focusedSession = mediaManager.GetFocusedSession();
var focusedSession = _mainWindow.GetActiveMediaSession();
if (focusedSession == null) return;

if (_isPaused) // paused
{
await focusedSession.ControlSession.TryPlayAsync();
}
else // playing
{
await focusedSession.ControlSession.TryPauseAsync();
}
await focusedSession.ControlSession.TryTogglePlayPauseAsync();
}

private async void Next_Click(object sender, RoutedEventArgs e)
{
if (_mainWindow == null) return;

var mediaManager = _mainWindow.mediaManager;
if (mediaManager == null) return;

var focusedSession = mediaManager.GetFocusedSession();
var focusedSession = _mainWindow.GetActiveMediaSession();
if (focusedSession == null) return;

await focusedSession.ControlSession.TrySkipNextAsync();
Expand Down
Loading
Loading