You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Johannes Rieken (@jrieken) yeah, this is partially an issue that I cannot explain, e.g. it almost seems like the context menu gets totally out of sync with the entries we put in (e.g. why would the list contain duplicates?).
I pushed a change to try to get this list more under our control: instead of just pushing elements into the list blindly, I clear the list and then fill it from exact those elements that we have in our history.
The added benefit of this approach is that if you remove an individual entry from the history, it should also be gone from the dock menu.
However, if for some reason app.clearRecentDocuments and app.addRecentDocument fails (which are electron methods), I am out of ideas.
Activity
bpasero commentedon Nov 14, 2017
Johannes Rieken (@jrieken) yeah, this is partially an issue that I cannot explain, e.g. it almost seems like the context menu gets totally out of sync with the entries we put in (e.g. why would the list contain duplicates?).
I pushed a change to try to get this list more under our control: instead of just pushing elements into the list blindly, I clear the list and then fill it from exact those elements that we have in our history.
The added benefit of this approach is that if you remove an individual entry from the history, it should also be gone from the dock menu.
However, if for some reason
app.clearRecentDocumentsandapp.addRecentDocumentfails (which are electron methods), I am out of ideas.Revert "Dock context menu is useless (fixes #38199)"
Dock context menu is useless (fixes microsoft#38199)