Maintain Selected Changes During Update & Restart
Please describe the problem you think should be solved Currently doing an update & restart will lose any selected changes and revert back to all changes being selected. This discourages me from doing timely updates (and leaves the banner coming up to annoy me) as I often use selected changes as an 'in-progress' tracker for my next commit, as commits aren't always in chronological order if I find a small change I can make an atomic commit, I'll go ahead and do that before I forget. As such I'll avoid doing an update during this time lest I lose these subset of changes. I could do a commit and then undo it after the restart, but this feels hackish, and if there's changes selected on multiple repositories is a pin.
I've limited the scope of the title to just update & restart rather than maintaining selected changes between closing and starting the program. That seems like a trickier thing to handle since the files may have changed while the program was closed, so the cached selected changes no longer apply. The update & restart seems like a small enough window where it's unlikely anything will change during that time.
Thanks for the report @dsanders11! Persisting the selected changes state across updates definitely makes sense to me (similar to https://github.com/desktop/desktop/issues/5315 in how we don't persist the zoom state on Windows after an update occurs). I'm going to label this as a bug.
Chatted with @billygriffin about this and we concluded that we should change the label to enhancement since it aligns more with something we could improve on versus something that broke.
Requested in https://github.com/desktop/desktop/issues/16871.