Repository navigation
perf: shared icon service and non-blocking window actions - #1169
Merged
Merged
Conversation
Clicking a frozen app in the taskbar, window switcher or Quick Launch froze YASB too, because restore, minimize, maximize and focus waited for the app. They are posted now, and focus doesn't attach to the app's input thread anymore. Media widgets now find the app's own window first and restore minimized Store apps.
Every widget had its own icon code and cache, and some saved PNGs to temp. Now they all get icons from IconService, which loads them on a background thread and keeps them in memory only. Pinned taskbar apps take their icon from the shortcut, exe or Store app instead of a saved PNG.
The taskbar looked up the app name for every window and never used it. Now the name is only looked up when you pin an app.
Many sites block Python's user agent, so send a browser one. Also decode HTML entities in page titles.
Remove comments that only repeated the code and shorten the docstrings in service.py and sources.py. resolve.py holds the icon source types and load_icon, so sources.py says what's in it.
Quick Launch icons are cached in memory rather than stored on disk so the reset command no longer needs to check for or remove the `yasb_quick_launch_icons` directory.
This was referenced Nov 22, 2026
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.
What's in it
IconService, icons load in the background and stay in memory only.Please test
Things you might notice
taskbar_iconsaren't used anymore.