Repository navigation
Fix Unicode shortcut crashes, extract clean PWA icons, and optimize popup performance - #94
Merged
iandiv merged 1 commit intoSep 22, 2026
Conversation
…, and optimize popup performance" -m "- Fix COM exceptions when resolving .lnk shortcuts containing Unicode/Arabic characters in Windows Shell." -m "- Extract crisp PWA and browser web app icons directly without Windows shortcut arrow overlays." -m "- Implement thread-safe memory caching for ShellInterop to prevent heavy recursive disk scans." -m "- Restore instant popup window loading by prioritizing pre-cached icons."
iandiv
requested changes
Sep 26, 2026
iandiv
left a comment
Owner
There was a problem hiding this comment.
@Eng-Mosab-Alhopishi Thanks for this but before merging into dev-master, I found a few issues:
-
Dragged items can resolve to the wrong shortcut
- Dragging Windows 11 Media Player resolves to the legacy Windows Media Player shortcut instead of the actual item dragged.
- Other dragged items sometimes appear as
A.lnkafter dropping.
-
.lnkextension is missing from the display name- Unlike
master, dragged shortcuts are shown without the.lnkextension.
- Unlike
-
UWP icons render smaller than
master
I also haven't tested the other parts of the changes yet, so there may be additional issues to address.
I've manually reverted this on my end for now to keep dev-test stable for other testing. Happy to review a follow-up PR once these are addressed, feel free to open a new one with the fixes.
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.

Summary of Changes
This Pull Request addresses three major issues regarding Windows shortcut handling, web app icon fidelity, and popup load performance in
AppGroup:1. Unicode & Localized Shortcut Support (
ShellInterop.cs).lnk) contain Unicode / non-ASCII characters (e.g., Arabic names or localized user paths), standard COM shell interfaces throw exceptions or fail to resolve the target path.2. Clean High-Resolution PWA & Browser App Icons (
IconHelper.cs)--app-id=...) often extracted blurry icons or rendered with the Windows shortcut overlay arrow.3. Instant Popup Load Performance & Caching (
PopupWindow.xaml.cs&ShellInterop.cs)LoadIconAsyncto bypass redundant disk and shell lookups when custom icons are already cached, dropping load time to under 1ms.ConcurrentDictionary) inShellInteropfor resolved runnable paths and Start Menu shortcuts to eliminate redundant filesystem traversal.Verification