Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Code Quality: Sync the jump list with Explorer #17564

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
0x5bfa wants to merge 2 commits into files-community:main
base: main
Choose a base branch
Loading
from 0x5bfa:5bfa/CQ-JumpListManager

Conversation

Copy link
Member

@0x5bfa 0x5bfa commented Sep 7, 2025
edited
Loading

Resolved / Related Issues

TODOs

  • Completely deletes the binaries for the Files' jump list on startup and on every update
  • Watches the changes to the Explorer's jump list
  • Watches the changes to the Files' jump list
  • Replicates the Explorer's jump list to the Files' jump list
  • Replicates the Files' jump list to the Explorer's jump list

Steps used to test these changes

  • Build the app
  • Cold-launch the app
  • See its jump list being the same as the Explorer's jump list
  • Pin/unpin an item from the Explorer's jump list
  • See that of Files also gets updated
  • Do the way around of above
image image

@0x5bfa 0x5bfa force-pushed the 5bfa/CQ-JumpListManager branch from 71afbb3 to 9eb7ae9 Compare September 7, 2025 17:00
@0x5bfa 0x5bfa changed the title (削除) Code Quality: Sync the jump list with Explorer (削除ここまで) (追記) Code Quality: Sync the jump list with Explorer at the startup (追記ここまで) Sep 7, 2025
@yaira2 yaira2 added the ready for review Pull requests that are ready for review label Sep 7, 2025
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this code used at all? If not, we can remove it.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah used.

<Extension Category="windows.updateTask" EntryPoint="Files.App.BackgroundTasks.UpdateTask" />

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may need to put something in place to prevent stale jumplists after updating Files or Windows.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can do the same as what we do at the startup, clear all and fetch items from Explorer.
Should we do it?

Copy link
Member

@yaira2 yaira2 Sep 8, 2025
edited
Loading

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does the update task run even if Files is closed? In that case, I think we should do this.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now when the app is updated, the old jump list will be deleted and re-fetched from Explorer.

@0x5bfa 0x5bfa marked this pull request as draft September 9, 2025 19:04
@yaira2 yaira2 force-pushed the main branch 2 times, most recently from 97999e5 to 806f922 Compare September 9, 2025 21:12
@0x5bfa 0x5bfa force-pushed the 5bfa/CQ-JumpListManager branch 3 times, most recently from 278a971 to 33efe98 Compare September 11, 2025 09:45
@0x5bfa 0x5bfa marked this pull request as ready for review September 11, 2025 09:45
@0x5bfa 0x5bfa changed the title (削除) Code Quality: Sync the jump list with Explorer at the startup (削除ここまで) (追記) Code Quality: Sync the jump list with Explorer (追記ここまで) Sep 14, 2025
Copy link
Member

yaira2 commented Sep 14, 2025

This might help with #14526

Copy link
Member

Would this fix #17659

Copy link
Member

yaira2 commented Sep 19, 2025

Would this fix #17659

I think so. @0x5bfa can you confirm?

Copy link
Member Author

0x5bfa commented Sep 19, 2025
edited
Loading

Yes. This is one of the motivation. (I updated the PR to include this)

@0x5bfa 0x5bfa force-pushed the 5bfa/CQ-JumpListManager branch from a038857 to 3669604 Compare September 29, 2025 14:53
@yaira2 yaira2 removed the ready for review Pull requests that are ready for review label Sep 29, 2025
@yaira2 yaira2 marked this pull request as draft September 29, 2025 22:14
@0x5bfa 0x5bfa force-pushed the 5bfa/CQ-JumpListManager branch from 9daefd6 to 032a523 Compare September 30, 2025 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@yaira2 yaira2 yaira2 left review comments

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

AltStyle によって変換されたページ (->オリジナル) /