Fix: Fixed an issue where start menu pins had the wrong icon#18735
Draft
Lamparter wants to merge 17 commits into
Draft
Fix: Fixed an issue where start menu pins had the wrong icon#18735Lamparter wants to merge 17 commits into
Lamparter wants to merge 17 commits into
Conversation
Lamparter
commented
Jul 18, 2026
Contributor
Author
There was a problem hiding this comment.
- You can no longer pin any item that is not an executable
- There is a bad framing border (might not be possible to fix)
- Clicking on tiles that link to a file shows an error in the app
- The app cannot process file open events (change activation handler)
- Use completely unique start menu IDs (Guid)
- It's possible to pin an item inside an archive
- Some files do not open correctly
The top zip file opens correctly, but the bottom one does not. Both open in File Explorer when they ought to open in Files (because they are zip files)
Lamparter
commented
Jul 18, 2026
Contributor
Author
3 tasks
Member
Folders are meant to be allowed to pin |
Contributor
Author
|
Yes, that checklist is for the bugs I accidentally introduced in this PR that I'm working to fix / parts of the PR that aren't finished yet |
This comment was marked as resolved.
This comment was marked as resolved.
[skip-ci]
Lamparter
force-pushed
the
start-tile-icon
branch
from
July 19, 2026 21:04
0e3275a to
a9f1e55
Compare
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.

Resolved / Related Issues
Steps used to test these changes
This PR is pretty complicated, but this is how you can test every part of it:
The pin/unpin from start actions are now only executable if they are appropriate (you can only pin if the item is not already pinned, and you can only unpin if the item is already pinned)
Pinning/unpinning is possible and works correctly when multiple files/folders are selected
Pinning an item to the start menu now shows the item's icon in the start menu
Pinned a file to the Start menu via the 'pin' action
Ran the 'pin' action and accepted the dialogue
Opened the Start menu
Observed that the item is now pinned, and that the file thumbnail is its icon
Start menu tile IDs are now fully unique
%localappdata%\FilesDev_ykqwq8d6ps0ag\LocalState\startmenuin File Explorer5a346596-28e7-bf9a-1743-91335747ad8e.png) - each image name corresponds to its identical pinned start tile ID (this ensures that start tile IDs will always be the same)