Skip to content

Improve App Window Detection and Icon Rendering - #99

Merged
iandiv merged 5 commits into
dev-masterfrom
dev-test
Oct 24, 2026
Merged

iandiv merged 5 commits into
dev-masterfrom
dev-test

Conversation

@iandiv

@iandiv iandiv commented Oct 24, 2026

Copy link
Copy Markdown
Owner

🟦 Window Detection

  • Replace FindWindow with FindAppGroupWindow to avoid matching windows from other applications

🟦 Icon Rendering

  • Fix UWP icon sizing by detecting transparent borders and trimming excess padding
  • Use the native Windows Shell API to retrieve official, full-color Microsoft Store icons
  • Preserve transparency in modern app icons

🟦 Icon Caching

  • Fix cache lookup in GetLnkIconAsync
  • Use stable hashes for remote icon cache filenames

Summary

This PR improves window detection accuracy, fixes UWP and Microsoft Store icon rendering, and enhances icon caching for more reliable results.

MosabSoft and others added 5 commits October 11, 2026 15:18
Fixed Icon Sizing: Added transparent border detection and auto-trimming (GetNonTransparentBounds) so UWP icons fill tiles at standard size matching master, without excess empty padding.

Fixed Store Icon: Integrated native Windows Shell IShellItemImageFactory via shell:AppsFolder. Modern apps (such as Microsoft Store) now render their official 256x256 full-color shopping bag logo with 32-bit ARGB transparency, completely eliminating monochrome/high-contrast wireframe assets.
@iandiv
iandiv merged commit aebf018 into dev-master Oct 24, 2026
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.

2 participants