wulkano / Kap

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

Kap is extremely slow to show capture selection (10 seconds) #1125

Open nicmar opened 2 years ago

nicmar commented 2 years ago

macOS version: 10.12.1 Kap version: Version 3.5.4 (3.5.4.1810)

Steps to reproduce

Pressing Kap button in the menubar

Current behaviour

Takes 8-10 seconds before i can select an area to record. Also right click "About Kap" doesn't give any information or feedback.

Expected behaviour

In the earlier versions, this was extrememly fast, like less than 1 second, but it has been slower in later versions, like 3-4 seconds. It was still acceptable.

Workaround

No workaround, just have to wait.

It might have been worse since upgrading to Monterey but I'm not sure.

berkowitze commented 2 years ago

Same; on Big Sur (11.6.5)

malandles commented 2 years ago

Same behavior on macOS Monterey 12.4 with Kap version 3.5.4 (3.5.4.1810).

sveggiani commented 2 years ago

Noticing this for a time now. It have made it almost unusable for me :/

carlosperate commented 2 years ago

Having the same issue in an Intel Macbook Pro with macOS Monterey 12.1. In my case even when the controls appear they are very irresponsive (beach ball cursor coming on and off), making the app close to unusable.

As mention in https://github.com/wulkano/Kap/issues/1123#issuecomment-1162217960, I also have an external monitor constantly plugged in, so this might be a factor. The next time I'm unplugged I'll try the latest version and see if the problem persist in that configuration.


I've tried going back to each version from the releases pages until one of them worked well. In this case I had to go back to v3.4.1.

v3.4.2 didn't work (likely the signing issues indicated in the release notes) and v3.5.0 already shows this problem. Looking at the diff, is fairly small, so maybe we can try manually reverting these changes to see if it makes a difference: https://github.com/wulkano/Kap/compare/v3.4.1...v3.5.0

It might be useful for the rest of the people with this isue if they could confirm if the problem persist with v3.5.0 and goes away in v3.4.1.

When going back to v3.4.1, the app asked to be added the "Screen recording" rights in the "Securit & Privacy" settings. It seems to crash while doing this, but after manually closing Kap, removing it from the settings and adding it again, then it worked fine.

wkoutre commented 2 years ago

Same issues here, macOS 12.4 w/ multiple monitors.

Downgrading to 3.4.1 as @carlosperate suggested has worked for me.

atticoos commented 2 years ago

Can confirm 3.4.1 resolved the issue for me as well.

atticoos commented 2 years ago

@carlosperate this contribution stands out to me in that diff, https://github.com/wulkano/Kap/pull/1051 -- upgrading electron & supporting different build target architectures

@codetheweb @sindresorhus can you see that impacting this behavior?

atticoos commented 2 years ago

Cross referencing similar thread https://github.com/wulkano/Kap/issues/1088

codetheweb commented 2 years ago

Hmm, something must have changed in the new Electron version.

Might be related: https://github.com/desktop/desktop/issues/12978

literalpie commented 2 years ago

Any idea if going to a newer version of electron would fix this? The latest is v19.0, and Kap is on 12.x. Going to new electron would also move this from Node 14.x to 16.x.

codetheweb commented 2 years ago

Possibly, but upgrading versions would require quite a few changes.

nicmar commented 2 years ago

Yeah 3.4.1 seems to have worked. But how do I prevent it from autoupdating? I don't see any option like that, but I assume it did cause I never updated it manually.

nicmar commented 2 years ago

I keep getting this error, which I guess is a good sign that it can't update :P

Unhandled Promise Rejection Error: Could not get code signature for running application at Server. (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/electron-updater/out/MacUpdater.js:105:44)

glebignatieff commented 2 years ago

Yeah, I've noticed the same slowdown recently.

nicmar commented 1 year ago

To author: Please have auto updates as an option as well, to prevent future issues like this. Thanks :)

Vignesh-Au commented 1 year ago

Same here. 10 seconds after clicking kap icon.

xinatcg commented 1 year ago

same 3.5.5, hard to use

pkoziol commented 1 year ago

Same here after upgrading from Catalina to Monterey (12.5.1). Probably also upgraded Kap currently on 3.5.5.1825

Kap 3.4.1 is ineed much faster.

jesshart commented 1 year ago

For anyone looking to download older versions, I went ahead and did this:

  1. Go to https://github.com/wulkano/Kap/releases
  2. Find the release you want
  3. Click Assets and find your corresponding download file.
  4. Download the file.
  5. Run the download file.

All of the downloads <3.5.5 had a pop-up warning on my Mac. Proceed at your own risk by clicking the app while holding control. Follow the prompt and choose to open or not.

okyr-ux commented 1 year ago

macOS version: Monterey 12.6.1 (21G217) Kap version: 3.6.0 MacBook Pro (Intel) + external monitor.

I've just updated from 2.2.0 to 3.6.0 and at first I didn't even realise what's going on: after clicking the menubar icon nothing happens, then there's a rainbow ball, then the whole screen becomes dark (I already get that it's a feature), the laptop starts to take off, according to the fans sound.

Version 2.2.0 was also not very responsive, but it was definitely more user-friendly.

I'll go try the 3.4.1 now.

sveggiani commented 1 year ago

macOS version: Monterey 12.6.1 (21G217) Kap version: 3.6.0 MacBook Pro (Apple M1 Pro) + external monitor.

For me, v3.6.0 is not slow anymore. Everything looks good again 🙌

wkoutre commented 1 year ago

image

Kap 3.6.0 is better, but still takes 7-10 seconds from initializing a session to seeing the GUI appear

timothyis commented 1 year ago

Trying to remedy this by updating Electron, by the way. It's extremely difficult, unfortunately.

wojtiku commented 1 year ago

Some for me, it has been extremely slow in the past months. Trying to downgrade as others suggest.

WilCF commented 1 year ago

Same for me, unusable current version. Beachball of death.

zremboldt commented 1 year ago

Installed the latest version from the get kap homepage and am having this issue too. Also tried downgrading as suggested with no luck.

JeffKko commented 1 year ago

v3.4.1 works for me!

jt3k commented 1 year ago

Version 3.6.0 (3.6.0.1846) iMac Pro 3,2 GHz 8‑core Intel Xeon W, Radeon Pro Vega 56 8 GB, 32 GB 2666 MHz DDR4

still freezes on startup and before the recording interface appears. I see a beach ball instead of a mouse cursor

ischenxin commented 1 year ago

Is there any progress on this issue? I'm still experiencing the same problem in the latest version 3.6.0. Every time I start recording, it's very slow, and it's causing a lot of inconvenience for me.

jdk2pq commented 1 year ago

@timothyis This branch is working great for me on an M1 Macbook Pro, and Kap's back to being speedy again. I built it following the directions from contributing.md. Unfortunately, it doesn't look like the link to the dev builds is working anymore: https://kap-artifacts.vercel.app/main

AMerkuri commented 10 months ago

3.6.0 extremely slow on MacBook Pro 16-inch, 2019 2,6 GHz 6-Core Intel Core i7 macbook. Ventura 13.5.2 (22G91)

CleverCoder commented 10 months ago

@timothyis This branch is working great for me on an M1 Macbook Pro, and Kap's back to being speedy again. I built it following the directions from contributing.md. Unfortunately, it doesn't look like the link to the dev builds is working anymore: https://kap-artifacts.vercel.app/main

I have yet to pull/build locally, but if this addresses the issue, can it be PR'd, merged in?

michaeljelly commented 5 months ago

I've fixed this, it's working nice and quick for me now, it was a few changes around not auto-closing windows all the time, and not triggering full rebuilds of context menus on every click.

If someone wants to clean it up to try to merge it, feel free! Kap is fast again now. https://github.com/wulkano/Kap/pull/1208