Add setting to swap tray icon left/right click behavior#77
Merged
Conversation
Agent-Logs-Url: https://github.com/TheJoeFin/Trdo/sessions/a6cfa946-5b29-414f-a4aa-88dff8af317d Co-authored-by: TheJoeFin <7809853+TheJoeFin@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add setting to swap behavior of left and right click buttons
Add setting to swap tray icon left/right click behavior
Apr 2, 2026
Refactored SettingsPage.xaml to use card-style Borders for each setting, added new styles for titles, descriptions, and status text, and improved layout and alignment of controls. Enhanced clarity, grouping, and overall user experience.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a dropdown in Settings to let users choose whether left click plays/pauses or opens the flyout, since the default (left=play/pause, right=flyout) doesn't suit all workflows.
Changes
SettingsService— newTrayClickBehaviorint property (0=default, 1=swapped) persisted toLocalSettings; setter clamps out-of-range values to 0SettingsViewModel— exposesTrayClickBehavioras a bindable propertySettingsPage.xaml— new "Tray icon click behavior" section with aComboBox:Left click: play/pause, right click: open flyout (Default)Left click: open flyout, right click: play/pauseApp.xaml.cs—TrayIcon_Selected/TrayIcon_ContextMenuhandlers now branch onSettingsService.TrayClickBehavior; extractedShowFlyout(args)helper to eliminate duplication; swapped right-click still falls back to flyout when no station is selectedWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
ndavsblobprodwus219.blob.core.windows.net/usr/bin/dotnet dotnet restore --no-dependencies /tmp/codeql-scratch-09a801a7dd23cb56/dbs/csharp/working/7308510B18BD5F018EBF4978576AFCBB/missingpackages_workingdir --packages /tmp/codeql-scratch-09a801a7dd23cb56/dbs/csharp/working/missingpackages /p:DisableImplicitNuGetFallbackFolder=true --verbosity normal --configfile /tmp/codeql-scratch-09a801a7dd23cb56/dbs/csharp/working/nugetconfig/nuget.config --force(dns block)If you need me to access, download, or install something from one of these locations, you can either: