[snap] suggestion: alert users when the snap has been refreshed while running
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chromium-browser (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
When the chromium snap is being automatically refreshed to a newer revision while the app is running, undefined behaviour might happen, as well as data loss (because the profile folder is versioned). This issue is regularly being reported (see e.g. the duplicates of bug #1616650).
Jamie has an interesting suggestion to mitigate this situation, until refresh app awareness becomes default:
« […] it would be possible for you to run something in the background that could occasionally see if the current symlink changed, and then alert to restart
whenever refresh app awareness lands, it could be converted to see if something is pending, if so, prompt/alert to stop to have updates applied, or something
simple idea is to nohup a script in a wrapper before invoking chromium proper
iirc, firefox used to have UX built into it letting the user know it needed to be restarted, so there is some precedent for this sort of thing »
Changed in chromium-browser (Ubuntu): | |
status: | Fix Released → Triaged |
Changed in chromium-browser (Ubuntu): | |
assignee: | Olivier Tilloy (osomon) → nobody |
This is an attempt at implementing this: https:/ /git.launchpad. net/~chromium- team/chromium- browser/ +git/snap- from-source/ commit/ ?id=a7dc89ea199 6665cb528701c2c 23a5e17e5508c2