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

When Brave is re-installed with the same binary, the Relaunch button is shown in brave://settings/help although there is no update available #23649

Open
MadhaviSeelam opened this issue Jun 23, 2022 · 7 comments
Labels
Chromium/waiting upstream Issue is in Chromium; we'll likely wait for the fix OS/Desktop OS/Windows priority/P5 Not scheduled. Don't anticipate work on this any time soon. QA/Yes repros-on-chrome setup/installer

Comments

@MadhaviSeelam
Copy link

Description

As part of the testing of Omaha update to 1.3.36.111, tested install and re-install with same version. During first install, brave://settings/help page shows correct version (without update trigger). However, after re-install of the same binary, brave://settings/help page shows update trigger with Relaunch button. Fidler logs shows same omaha updater version 1.3.36.111 in both install and re-install. Same issue with current public release 1.40.105 Chromium: 103.0.5060.53 which has older Omaha version, 1.3.361.113.

Steps to Reproduce

  1. Download BraveBrowserStandaloneBetaSetup.exe and install standalone binary (Beta v1.41.74 (Chromium 103.0.5060.53))
  2. Go to brave://settings/help
  3. Page renders Brave is up to date message (No update trigger)
  4. Re-install same binary
  5. Go to brave://settings/help

Actual result:

Nearly up to date! message shows with Relaunch button on the second install

image

Expected result:

Relaunch button should not be available if no updates available

Reproduces how often:

Easily

Brave version (brave://version info)

Brave 1.41.74 Chromium: 103.0.5060.53 (Official Build) beta (64-bit)
Revision a1711811edd74ff1cf2150f36ffa3b0dae40b17f-refs/branch-heads/5060@{#853}
OS Windows 11 Version 21H2 (Build 22000.739)

Version/Channel Information:

  • Can you reproduce this issue with the current release? Yes
  • Can you reproduce this issue with the beta channel? Yes
  • Can you reproduce this issue with the nightly channel? Yes

Other Additional Information:

  • Does the issue resolve itself when disabling Brave Shields?
  • Does the issue resolve itself when disabling Brave Rewards?
  • Is the issue reproducible on the latest version of Chrome?

Miscellaneous Information:

@mherrmann

@MadhaviSeelam MadhaviSeelam changed the title When Brave is re-installed with the same binary, an update triggered, and Relaunch button shows up on brave://settings/help page when there are no updates available When Brave is re-installed with the same binary, an update triggered, and Relaunch button shows up on brave://settings/help page Jun 23, 2022
@GeetaSarvadnya
Copy link

GeetaSarvadnya commented Jun 28, 2022

@mherrmann Could you please look into this issue, the issue exists on both the new/old Omaha versions. When we install the standalone/stub/silent installers, we get the brave is up to date in brave:///settings/help, if we re-install the same version, then we get Relaunch in brave://settings/help although there is no new update available. If we click on Relaunch we get the same existing version. According to me, we should not get Relaunch when there is no new update available.
Relaunch issue

@GeetaSarvadnya GeetaSarvadnya changed the title When Brave is re-installed with the same binary, an update triggered, and Relaunch button shows up on brave://settings/help page When Brave is re-installed with the same binary, the Relaunch button is shown in brave://settings/help although there is no update available Jun 28, 2022
@mherrmann
Copy link

My suspicion is that this also happens for Chrome.

@GeetaSarvadnya
Copy link

GeetaSarvadnya commented Jun 28, 2022

@mherrmann Yup, you are right. I am seeing the same behavior in chrome as well. Looks like an upstream bug?

image

image

@mherrmann
Copy link

I would say so, yes.

@GeetaSarvadnya
Copy link

GeetaSarvadnya commented Jun 28, 2022

@mkarolin @simonhong: It's an upstream bug, shall we keep this bug open until chrome fixes the issue? defer to @rebron to take the decision

cc: @LaurenWags @kjozwiak

@LaurenWags LaurenWags added repros-on-chrome Chromium/waiting upstream Issue is in Chromium; we'll likely wait for the fix labels Jun 28, 2022
@rebron rebron added the priority/P5 Not scheduled. Don't anticipate work on this any time soon. label Jun 28, 2022
@rebron
Copy link
Collaborator

rebron commented Jun 28, 2022

@mherrmann Do you know what the upstream bug handy is? I'm not seeing it from this list https://bugs.chromium.org/p/chromium/issues/list?sort=-opened&q=relaunch%20button&can=2

@mkarolin
Copy link
Contributor

I wonder if this is intentional. When you reinstall the same version while the current browser installation is still running the installer doesn't replace the executable on the drive. It instead writes out a new executable (named new_chrome). When you press Relaunch the old executable gets deleted and new_chrome gets renamed into brave.

@rebron rebron added this to General May 28, 2024
@rebron rebron moved this to Needs Info in General May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Chromium/waiting upstream Issue is in Chromium; we'll likely wait for the fix OS/Desktop OS/Windows priority/P5 Not scheduled. Don't anticipate work on this any time soon. QA/Yes repros-on-chrome setup/installer
Projects
Status: Needs Info
Development

No branches or pull requests

6 participants