Skip to content

Conversation

@amnweb
Copy link
Owner

@amnweb amnweb commented Oct 13, 2025

This PR adds the ability to pin apps to the taskbar, including new AnimationManager options and other small fixes.

- 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.
@amnweb amnweb merged commit 9252936 into main Oct 15, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant