Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve behavior when Brave can't auto-update on Mac #26103

Closed
mherrmann opened this issue Oct 18, 2022 · 5 comments
Closed

Improve behavior when Brave can't auto-update on Mac #26103

mherrmann opened this issue Oct 18, 2022 · 5 comments
Assignees
Labels

Comments

@mherrmann
Copy link

Chromium has a nice feature where installations that haven't been updated in a while show increasingly pressing warnings in the top right corner:

image

In contrast, our current implementation shows the following obtrusive popup whenever an update becomes available but Brave cannot auto-update:

image

(Brave on Mac cannot auto-update when it doesn't have write access to the installation directory. This includes when Brave was installed via its .pkg installer.)

The goal of this issue (if @rebron et al. agree) is to remove the auto-update popup on macOS in favor of the above implementation. It would supersede #9562.

@mherrmann mherrmann self-assigned this Oct 18, 2022
@rebron rebron added feature/updater priority/P3 The next thing for us to work on. It'll ride the trains. QA/Yes release-notes/include labels Oct 21, 2022
@britalmeida
Copy link

This would be really nice!
It used to be like this? But in the last half year it regressed to being a popup for me :(
Could it be because something changed on my end regarding mac permissions? I thought it was because Brave changed it.

@mherrmann
Copy link
Author

@britalmeida did you install Brave with the .pkg installer? Because if yes, then that's a known bug.

@britalmeida
Copy link

@mherrmann I no longer remember :|
How can I check my setup and correct if needed?

@mherrmann
Copy link
Author

@britalmeida you could reinstall Brave with a .dmg file from https://github.com/brave/brave-browser/releases/tag/v1.52.129 and see if the problem persists :)

@rebron rebron added this to General May 28, 2024
@rebron rebron moved this to P3 Backlog in General May 28, 2024
@mherrmann
Copy link
Author

The two pieces of UI in the description above are actually separate things.

The warning in the top right corner gets shown by upstream logic when the build is more than (I think) 5 weeks old. In this case, upstream believes it is unable to update, and shows the warning to ask the user to re-install.

The popup is shown by Sparkle when it discovers an update but cannot write to Brave's installation directory. This is for example the case when Brave was installed via the PKG installer, because of #39567.

So the warning gets shown when the build is outdated, independently of whether a new version is available. And the popup gets shown when there is a new update, but Sparkle can't write to the installation directory.

We are currently working on migrating from Sparkle to Omaha 4, which will make any plans described here obsolete. So I'm closing this issue as unplanned.

@mherrmann mherrmann closed this as not planned Won't fix, can't repro, duplicate, stale Jul 23, 2024
@github-project-automation github-project-automation bot moved this from P3 Backlog to Completed in General Jul 23, 2024
@rebron rebron removed this from General Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants