Repository navigation
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."
Owner
|
Hi @Eng-Mosab-Alhopishi , Sorry for the late response; I've been busy with work lately. Thank you for your contributions and for addressing the feedback from #94! I really appreciate your effort. For this PR, I'll manually apply and commit the changes I need one by one instead of merging the entire PR, so I can test each change and minimize potential regressions. I'll also credit you as the author of each commit for the changes I apply. Once I've tested all the changes I've selected, I'll close this PR. And for future PRs, may I kindly ask you to separate features and fixes into smaller, focused PRs whenever possible? This would make reviewing and testing much easier. Thanks again for contributing to AppGroup! |
iandiv
pushed a commit
that referenced
this pull request
Oct 24, 2026
Routed packaged modern apps (e.g., Calculator, Store) to launch via explorer.exe shell:AppsFolder\{AUMID}, preventing direct unpackaged crashes or instant window closures. Extract their icon via IShellItemImageFactory instead of showing the explorer.exe icon. (#97)
iandiv
added a commit
that referenced
this pull request
Oct 26, 2026
* Refactor async file ops and improve item removal logic Refactor FindExistingShortcut and FindExistingAppShortcut to run asynchronously for better UI responsiveness. Clean up and clarify RemoveItem_Click, ensuring combo boxes update correctly and icon preview resets or regenerates as needed. Remove redundant code. * #79 Fix wrong workindg directory, Improve process launch context and admin elevation * Improve popup tracking, animation, and show/hide logic * Improve popup closing and admin launch logic - Set _lastHiddenAt to DateTime.Now when closing popup - In TryLaunchApp, set working directory only if it exists - Replace PowerShell-based TryRunAsAdmin with ProcessStartInfo - Use UseShellExecute and "runas" verb for elevation - Handle UAC cancellation (error 1223) gracefully * Use FindAppGroupWindow to avoid matching other apps' windows * Replace FindWindow with FindAppGroupWindow method * UWP Icon Sizing & High-Contrast Store Icon 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. * Fix cache lookup in GetLnkIconAsync * Use stable hash for remote icon cache filenames * Packaged App Launching Stability Routed packaged modern apps (e.g., Calculator, Store) to launch via explorer.exe shell:AppsFolder\{AUMID}, preventing direct unpackaged crashes or instant window closures. Extract their icon via IShellItemImageFactory instead of showing the explorer.exe icon. (#97) * fix(popup): card layout keeps previous theme after Windows theme change * Update AppGroup.ico and EditGroup.ico images * Use system small icon size for tray icon loading Added SM_CXSMICON and SM_CYSMICON constants in NativeMethods.cs to retrieve system small icon dimensions. SystemTrayManager.cs now queries these metrics and loads tray icons at the correct size, replacing the previous hardcoded 16x16 size for better system integration. --------- Co-authored-by: MOSAB_SOFT <[email protected]>
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.
Hi @iandiv,
This is a follow-up PR to #94 addressing all the feedback points mentioned in the previous review:
1. Shortcut Resolution & Media Player
Microsoft.ZuneMusic_8wekyb3d8bbwe!Microsoft.ZuneMusicinstead of falling back to legacy Windows Media Player.A.lnk; clean, robust file name normalization is now enforced.2.
.lnkExtension Display Name.lnkextension in display names across the popup tiles, list views, and group editors to matchmasterdesign and expectations.3. UWP Icon Sizing & High-Contrast Store Icon
GetNonTransparentBounds) so UWP icons fill tiles at standard size matchingmaster, without excess empty padding.IShellItemImageFactoryviashell:AppsFolder. Modern apps (such as Microsoft Store) now render their official 256×256 full-color shopping bag logo with 32-bit ARGB transparency, completely eliminating monochrome/high-contrast wireframe assets.4. Packaged App Launching Stability
explorer.exe shell:AppsFolder\{AUMID}, preventing direct unpackaged crashes or instant window closures.Built and validated with
dotnet publish -c Release -r win-x64 --self-contained true.