Proposal: Item removed event for UWP JumpList API
Proposal: Item removed event for UWP JumpList API
Currently UWP JumpList API doesn't offer a removed event so the application can't track when user removes a jumplist item while the app is running.
Summary
Some apps may use the jumplist to store certain things and currently it's not possible to know when something get's removed so apps can't update their UI.
Rationale
Scope
| Capability | Priority |
|---|---|
| This proposal will allow developers to track jumplist item removal | Must |
Why? JumpList tasks can't be removed (I guess?) only Recent items can be removed. This is by design, correct. Why would any want to track the JumpList recent items?
Most of the users won't care about the JumpList recent items (if they do, they can pin it)
Edit: ohhh, so apparently Windows shell will only mark the items as removed when the users remove them (only hide them from the UI). It's the app's responsibility to manually clear them from their internal list.
@ShankarBUS You can remove items which aren't in the tasks list. By default Windows provides Recent and Tasks list but you can create your own.
@Jaiganeshkumaran,
but you can create your own.
I know it. But I was confused on why you did want to track the removal.
So the OS just marks the items as removed and remove them from their UI. But the apps internal list will be the same, it should also be updated to prevent restoring the removed item. Am I right?
@ShankarBUS Yes, some apps may use the jumplist as a storage for something and they can't know when it gets removed. Here's an example: In the jumplist of Explorer it will show pinned folders in the jumplist. When you remove an item from the quick access it will update both because Explorer is the shell and it knows when the user changes the jumplist but other apps don't.