package_control icon indicating copy to clipboard operation
package_control copied to clipboard

Warn about theme update before deactivating it

Open jomo opened this issue 10 years ago • 4 comments

It can be quote annoying when you start ST, it suddenly it looks all messed up and you have no idea why.

Package control does warn about this, but it only does so after updating the theme: screenshot

Shouldn't this warning appear before disabling the active theme?

jomo avatar Jun 19 '15 10:06 jomo

Showing this exact warning before the upgrade might cause the user to resart ST before the update is finished. It would have to be a different warning and the current one would still have to remain so that the user waits until all packages have been upgraded, meaning it has to show two messages. I'm not sure if that might be too many, but I think it's better than currently.

FichteFoll avatar Jun 19 '15 10:06 FichteFoll

Actually, before I figured out why this was happening, I thought ST had some weird inconsistency in loading themes and thus restarted ST immediately after the theme broke. That surely caused the update to fail.

jomo avatar Jun 19 '15 10:06 jomo

Having multiple prompts when a theme upgrade happens does not seem user friendly. Especially if it happens frequently.

Did the default theme look corrupted, or did you just think something was weird because the theme switched back to the default?

wbond avatar Jun 19 '15 13:06 wbond

It wasn't that bad, but I have a dark theme and dark color scheme, then the sidebar suddenly turned all white. I'm not sure if it was actually corrupted or just looked weird.


This is my default look: default look


This is how it looks after removing the theme from the settings, I'm not sure if that's how it looked while updating. It looks a bit weird IMO, but it's not broken: no theme This is where I used to restart ST3 because I thought it failed to load the theme, or I went to settings and manually set the theme key.


And this is how it looks after switching back to my theme, and how it looked after updating, which is obviously broken: after update


Maybe - when there's an update for the active theme - you could ask the user to update theme now or to do it later?

jomo avatar Jun 19 '15 13:06 jomo