Skip to content

This repository addresses the issue where PySide2 applications fail to display the correct taskbar icon after installing the Windows 11 KB5051987 update.

License

Notifications You must be signed in to change notification settings

bornalgo/pyside2-taskbar-icon-fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PySide2 Taskbar Icon Fix Post-KB5051987 Update

This repository addresses the issue where PySide2 applications fail to display the correct taskbar icon after installing the Windows 11 KB5051987 update.

Problem

After applying the KB5051987 update, PySide2 applications may show the default icon in the taskbar instead of the specified application icon.

Solution

The solution involves explicitly setting the window icon using Windows API calls within the application code.

Repository Contents

Getting Started

  1. Clone the repository:

    git clone https://github.com/bornalgo/pyside2-taskbar-icon-fix.git
  2. Navigate to the source directory:

    cd pyside2-taskbar-icon-fix/src
  3. Install dependencies: Ensure you have PySide2 installed:

    pip install PySide2
  4. Run the application:

    python main.py

License

This project is licensed under the MIT License.

About

This repository addresses the issue where PySide2 applications fail to display the correct taskbar icon after installing the Windows 11 KB5051987 update.

Topics

Resources

License

Stars

Watchers

Forks