wulkano / Kap

An open-source screen recorder built with web technology
https://getkap.co
MIT License
17.82k stars 818 forks source link

Kap trying to access smb servers #945

Open JaninaWibker opened 3 years ago

JaninaWibker commented 3 years ago

macOS version: Catalina (10.15) Kap version: 3.3.2

When opening Kap it tries to access smb servers (this was already mentioned in #130) but fails as they are not currently available. The problem (besides this happening at all) is that this doesn't happen immediately but takes exactly 1 minute until macOS determines that the server is unreachable.

Screenshot 2020-10-09 at 10 44 11

This isn't exclusive to opening Kap, when opening the preferences this also happens.

Steps to reproduce

Mount a network share, somehow make it unavailable and then open Kap. Kap will try to connect to it and timeout after 1 minute

Expected behaviour

Don't scan for available drives / shares when opening (I presume this is whats happening).

Additional information

The menubar item only fully appears after the pop-up appears. In the meantime when hovering over the spot where the icon will appear you only see the mac os beach ball.

I've looked at the code that runs when starting Kap but nothing seemed like it could cause this issue. In #130 it was mentioned that this could be an electron issue but I couldn't find anything when searching for such an electron issue and other electron applications are working fine.

sindresorhus commented 3 years ago

I think this is an Electron bug. I remember seeing something about this. So it will likely be fixed by upgrading Electron. However, upgrading Electron is blocked by some other issues.