'All Cameras' window pops up every time I open a terminal/iTerm window or tab

Senna_F1
edited March 2022 in SecuritySpy

Every time I start iTerm2 or Terminal or just open a new tab in either of those apps, SS opens up the All Cameras window (Command-0). Is there a way to stop that?

Also, it would be nice if when I specifically click on the SS dock icon, we could customize which window pops up, Command-i, Command-1, etc. instead of always Command-0. Since I duplicate cameras for the purpose of customizing Actions, All Cameras popping up is never the window I really want to see.

Comments

  • I have no idea why this would happen when a new Terminal window opens! This is certainly not something we have designed for, and it does not happen on any of our testing machines.

    Apple's user interface guidelines state that if an app is open with no windows, and the user double-clicks on that app's icon in the Finder, or clicks on its icon in the Dock, the app should open a window. This is why SecuritySpy opens the "All Cameras" window when its dock icon is clicked in this circumstance. This is done by the system sending SecuritySpy a "reopen" message.

    So for some reason, your use of the Terminal app is causing SecuritySpy to be sent a reopen message - can you think of any reason why this could be the case?

    I agree that it would be useful to be able to specify which window gets opened in this situation - I'll see if we can add this as an option in a future update.

  • Senna_F1
    edited March 2022

    I have no idea. I'll see what happens in Safe Mode. But it gets a bit weirder. This also happens with Visual Studio Code, and only these 3 apps. No other apps do this. And, if SS is not running, launching any of these 3 apps also launches SS! :)


    It's acting similar to how a file extension and default handler might behave. Like double clicking on a certain file launches the app for that extension. But here launching a certain kind of app launches SecuritySpy.

  • I used this to see if I could find any connection to SecuritySpy, but SS doesn't even show up as an App anywhere in there.

    https://github.com/Lord-Kamina/SwiftDefaultApps

    Is it OK to uninstall SS and re-install? I don't want to lose anything. Just drag to trash?

  • Deleting the SecuritySpy application, and then downloading and installing it again is worth a try. You won't lose anything by doing this.

    One possibility is that the shell has an initialisation file that (for some reason) contains a command to open SecuritySpy. Try opening Terminal and running each of these following commands, which deletes these initialisation files:

    rm ~/.bashrc

    rm ~/.zshrc

    Does this make any difference?

  • Senna_F1
    edited March 2022

    I don't have either of those 2 files in my home dir. So I deleted the app, then started iTerm, Terminal, and VSCODE. No errors or anything, and of course Ss didn't pop up. Installed 5.4.0 and the problem was still there. Trashed 5.4.0 and installed 5.4.1, and again, SS still pops up. In fact I launched VSCODE before even starting SS for the first time, and so when VSCODE was launched, the "SS in an app downloaded from the internet. Do you still want open it" message pops up. Crazy. Anyway, not a big deal, more weird than anything. It does only happen when I initially launch the other apps, and not when I simply click on their dock icon if they are already running.