Several instances of Vivaldi in Finder > Open with
I have this issue with Vivaldi in Finder: on right click -> open with I have several instances of Vivaldi... how do I fix that?
I've been using Vivaldi for a few months, had no reinstalls, just updates from within the browser (skipped some tho).
You have backups of the Vivaldi app somewhere. I know it mostly shows 2 versions for me (depending on how often Vivaldi is updated), one lives on my ssd, the other on is on my separate hd, where I backup the disk. Since you have so many instances, it's likely time machine is responsible, although I can't say for sure, because I don't use it. Are you using time machine?
This is a quirk (feature?) of macOS; it will find every runnable version of an application that's installed on the system. If I look in System Preferences / General, it gives me the option to set my default browser to any of several versions of Vivaldi that I have installed, including those that are locally installed in a totally separate test account.
No, I dont use Time Machine, I have no backup software at all. And I dont think it is "Mac OS quirk / feature": you can see I have more browsers, some of which I also update from time to time the same way as I do with Vivaldi, but they dont multiply in this menu.
@superkot Do you have old versions of Vivaldi.app in your Trash?
@xyzzy Trash was the first thing I checked. I had about 5 different versions of Vivaldi in Trash, but only 2 showed up in the Finder Menu. Exactly the current one and the one on my backup. This means it isn't related to Trash.
@luetage You can also try locating Vivaldi installations by running the following command as an admin user:
$ sudo find / -type d -name Vivaldi.app -print
This will print the path of every directory named Vivaldi.app on your system.
If that doesn't find anything new, the only other thing I can suggest is starting your Mac in Safe Mode. This will perform a disk check and purge some system caches that might have stale data.
@xyzzy, no, I did not have any cases of deletion or reinstallation of Vivaldi.
Your command gave me the following:
find: /dev/fd/3: Not a directory
find: /dev/fd/4: Not a directory
/Users/kot/Library/Caches/com.vivaldi.Vivaldi/Sparkle/Vivaldi 1.11.917.43 1/Vivaldi.app
/Users/kot/Library/Caches/com.vivaldi.Vivaldi/Sparkle/Vivaldi 1.12.955.36 1/Vivaldi.app
@superkot That's weird... looks like the updater (Sparkle) is keeping old versions around. I don't think that should be happening.
If you're curious to see if those are all valid app bundles, you can try the following command:
spctl -a -vv /Applications/Vivaldi.app
This command checks the integrity of the app bundle itself; basically another way of doing what Gatekeeper does when you install a new application. That's the syntax to check the default install location; just change the path to check another instance. Admin privileges are not require to run
spctlbut you do need permission to access the path of the application bundle that you are checking.
Be aware that the version numbers in Finder right-click menu and the ones found in the user library aren't the same. So even if this shouldn't happen, it has nothing to do with the versions that are available.
@superkot I think that it's safe to delete those old versions of Vivaldi. In fact, opening one of those old versions using "Open With" could corrupt your Vivaldi profile. And whatever you do, do not try running one of those other versions while /Applications/Vivaldi.app is running.
@superkot How did you install and update Vivaldi on your system? Did you install it with an Admin account and then update with that same account? Installed from one account and updated using another?
The reason I ask is that I just tried installing an older version of Vivaldi (stable) in a test account. When I launched it, Vivaldi updated to the latest version and the old version was placed in my Trash folder, which I then deleted.
I have only one account and it is probably admin.
I've deleted those files in the Library folder and it looks ok for now, but I'll have to see what happens with the next update.
@luetage the numbers are actually the same, although the menu did have not all of them.
Has anybody else run into this issue on macOS? I haven't seen any other reports and can't reproduce the problem on my system. I'm just trying to confirm whether this was simply a strange glitch or a more widespread issue that the Vivaldi QA team needs to investigate.
@superkot Did you run into any problems after installing this morning's update?
@xyzzy everything is ok so far, no new copies in caches.
@superkot Thanks very much. I'm glad that you were able to get your Mac back into a good state and that there were no problems with the last Vivaldi update.
FYI, I opened a bug just in case this was a problem that needed to be investigated immediately. If you can think of anything that might have triggered this glitch, please let me know. Otherwise, if nobody else follows up here with a similar report, I'll let the QA team know that the issue has been resolved.