feat(taskbar): add ability to pin apps to taskbar#501
Merged
Conversation
- This addition allows for the use of Windows Application Model features in the project.
…eInOut method - Introduced start_animation and stop_animation methods for managing repeating animations. - Updated ALLOWED_ANIMATIONS to include 'blink'. - Enhanced fadeInOut method to improve opacity settings and added error handling.
- Added a check for `_is_running` in the `run` method to prevent data emission when the worker is stopped. - Implemented a reference to the worker in `CustomWidget` for cleanup and to avoid creating multiple instances. - Enhanced the `_exec_callback` method to stop the existing worker before starting a new one.
…tion - Removed the unused _pid_to_name function to streamline code. - Enhanced get_process_info to return the executable path along with the name and PID. - Updated get_app_name_from_pid to handle UWP apps more effectively and ensure proper name extraction. - Introduced get_app_name_from_aumid to retrieve app names from AUMID using the Windows Package Manager API.
…e option - Added a `force` parameter to allow for forced termination of applications. - Implemented multiple safe closing methods, including graceful and forced termination paths. - Improved error handling and logging for better debugging and user feedback.
…support - Added PinManager integration for managing pinned applications. - Implemented context menu for taskbar buttons to allow unpinning. - Enhanced drag-and-drop behavior to update pinned order dynamically. - Introduced flashing animation for running pinned apps.
…y handling - Updated show_context_menu to return QMenu or None for better handling. - Introduced _refresh_title_visibility method to manage title visibility based on context menu state.
- Show taskbar when unhidden and widgets are present. - Hide taskbar when no widgets are left and no pinned button is being recreated.
Kepners
pushed a commit
to Kepners/yasb
that referenced
this pull request
Feb 4, 2026
feat(taskbar): add ability to pin apps to taskbar
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 PR adds the ability to pin apps to the taskbar, including new
AnimationManageroptions and other small fixes.