Bug 363319

Summary: Auto-Update
Product: [Applications] krita Reporter: X-Raym <extremraym>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED LATER    
Severity: wishlist CC: halla, scottpetrovic, tamtamy.tymona
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description X-Raym 2016-05-20 12:28:37 UTC
Krita updates are cools and frequent (which is a good thing).
But updating Krita is a manual process, that could benefit from some automatism.
See steps to reproduce below.

These features could be cool
- telling the user that there is a new version of krita at krita start via a popup window or an discrete icon somewhere
- let the user choose if he want to be warn for beta updates or only stable versions
- having a way to auto-download the new version right from krita
- having a way to automatically launch the new install (so that the user can choose if he prefer to install the new version somewhere else)

Reproducible: Always

Steps to Reproduce:
- You go to Krita website
- You go to Krita Download
- You download the file
- You extract the zip
- You replace your old version by this one

Actual Results:  
Krita get updated.
Comment 1 Scott Petrovic 2016-05-21 23:03:34 UTC
Over IRC we discussed this a bit. It might be a good idea to make this an opt-in to even check. Some people seemed a bit worried that Krita might be spying on everyone if we do this.

Two ways we could do this is to just alert the person when there is a new version available and give them a link. This would take a little time. The second solution would be to auto-update kind of like how Google Chrome does it without needing to manually go to the site. This would take longer to do.

The one negative potential for this background update is if we introduce a build that would have bugs that would break things. We don't have much of a QA team, so this could potentially give people problems. They could always opt-out if they don't want to be on it.
Comment 2 X-Raym 2016-05-22 11:44:06 UTC
Sure, the Chrome kind of autoupdate (notifications + click to download following by auto install + relaunching the software) would be the more handy solution.
To prevent unexpected bug introduction, the user could choose in preference if he want to be warn for stable version only or also for betas.
If you thing there is too much risk for a beta user to have unexpected bugs, then you could have a rollback solution : the previous version is not deleted when you update to the new one. But this may be a bit complicated, and there is other priorities for sure.

Anyway, thanks for your answer and support !
Comment 3 Halla Rempt 2016-05-23 12:25:30 UTC
Note that if you get Krita on Steam, you already get automatic updates (though you need to enable the beta channel for now, that's going to change after we release 3.0). I'm actually not sure I want to invest time in setting up another update mechanism, so this is definitely a patches are welcome, if someone volunteers to be a maintainer kind of thing.
Comment 4 Tiar 2020-11-03 19:08:06 UTC
The situation in the time of writing this comment:

- there is a small notification on the Welcome Screen that an update is available.
- when you click the notification (it's underlined, signaling it's a link), it brings you to the blog post on krita.org about the release so the user can download a new version.

Still not completely automatic, but that's an improvement.

Moreover automatic updates are possible both on Steam, Windows Store, Google Play and Linux repositories.
Comment 5 Halla Rempt 2021-02-21 17:09:53 UTC
autoupdates have been implemented for krita5 for appimages on Linux. For the rest, steam, windows store, snap, krita lime and flatpak autoupdate. We don't autoupdate on macos, because we're not in the macos store (where Krita would be a paid option), because we're not happy with krita on macos as it is. When we are happy with that, krita will be in the store. The krita.org downloads for macos and windows won't get autoupdating.