feat: add tray-only taskbar option - #134
Open
nbali wants to merge 4 commits into
Open
Conversation
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.
This pull request adds a new feature allowing users to hide the timer window from the taskbar when it is shown in the notification area. The implementation includes a new setting, command-line option, and context menu item, as well as the necessary logic to update the window's visibility in the taskbar based on user preferences.
New feature: Hide timer from taskbar when in notification area
HideFromTaskbarWhenInNotificationAreato application settings and configuration files. [1] [2] [3]--hide-from-taskbar-when-in-notification-area(aliases:-hf,/hf) to control this behavior, including parsing, usage documentation, and default handling. [1] [2] [3] [4] [5] [6]TimerWindowlogic to update theShowInTaskbarproperty and related UI when the new setting changes, and ensured event handlers are properly managed. [1] [2] [3] [4]FAQ.mdto describe the new feature and its command-line usage.These changes enhance user control over the application's window visibility and provide both UI and command-line access to the new behavior.
Command-line support
HideFromTaskbarWhenInNotificationAreaproperty toCommandLineArguments, following the existingShowInNotificationAreapattern (most-recent-options and factory-defaults resolution).--hide-from-taskbar-when-in-notification-areaswitch (aliases-hf,/hf) withon|off|lastsemantics.AppEntry.SetGlobalSettingsFromArgumentsto updateSettings.Default.HideFromTaskbarWhenInNotificationArea.Documentation
Usage.txt, including its entry in the factory-defaults list.FAQ.md, alongside the existing notification-area minimizing instructions.starts a 5-minute timer that shows its notification-area icon and hides the timer window from the taskbar while minimized.