This repository addresses the issue where PySide2 applications fail to display the correct taskbar icon after installing the Windows 11 KB5051987 update.
After applying the KB5051987 update, PySide2 applications may show the default icon in the taskbar instead of the specified application icon.
The solution involves explicitly setting the window icon using Windows API calls within the application code.
src/main.py
: Sample PySide2 application implementing the fix.docs/ISSUE_DETAILS.md
: Detailed explanation of the issue.docs/SOLUTION_EXPLANATION.md
: Step-by-step guide to the solution.
-
Clone the repository:
git clone https://github.com/bornalgo/pyside2-taskbar-icon-fix.git
-
Navigate to the source directory:
cd pyside2-taskbar-icon-fix/src
-
Install dependencies: Ensure you have PySide2 installed:
pip install PySide2
-
Run the application:
python main.py
This project is licensed under the MIT License.