Skip to content

Code Quality: Copy jump list of Explorer to Files via IAutomaticDestinationList #17488

@0x5bfa

Description

@0x5bfa

Description

With the WinRT API, JumpList, we are not capable of having proper collections of jump list items because it heavily wraps the base documented functionalities. Even with the documented Win32 APIs, they heavily narrow down the actual functionalities provided by the undocumented APIs (IAutomaticDestinationList & IInternalCustomDestinationList). These undocumented APIs have not changed since Windows 7 up until Windows 11 and thus I'm pretty sure that the APIs are stable enough to use in Files.

Concerned code

Gains

  • Better UX on the jump list.
  • Unlimited control over the jump list.

Requirements

  • Remove the existing class for the jump list, WindowsJumpListService.
  • Add a whole new manager class under Files.App.Storage.

Comments

I made a POC in https://github.com/0x5bfa/JumpListViewer

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    📋 Planning stage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions