wulkano / Kap

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

Recording UI appears after 3 seconds #1088

Open mortenjust opened 2 years ago

mortenjust commented 2 years ago

macOS version: Monterey (12) Kap version: 3.5.2

Steps to reproduce

  1. Start Kap
  2. Click Kap's icon in the top bar to start a recording

Current behavior

Kap's recording UI appears after 3 seconds, sometimes more.

Expected behavior

Kap's recording UI to appear in less than 300ms

Workaround

It looks like I can draw the recording box before the UI appears

M1 Max 64gb, macOS 12.1

Update: Unfortunately, 3.5.3 did not solve the problem for me. I also made sure to use the M1 binary.

avm99963 commented 2 years ago

Same in macOS 12.2, Intel Mac (late 2012), Kap version 3.5.2.

I also get the following error when I try to record due to the same "lag" after pressing the record button:

Recording error
Error: Could not start recording within 5 seconds
    at Timeout._onTimeout (/Applications/Kap.app/Contents/Resources/app.asar/node_modules/aperture/index.js:132:19)
bastienmenis commented 2 years ago

Same issue here, the UI lags and Kap crashes when attempting to record. Issue started after Monterey update. If I reboot the Mac and attempt to do a recording it will work once, then crash at subsequent recording attempts (until I reboot once more).

MacOS 12.1, Kap version 3.5.2, Macbook Pro 13" 2018

imjoshellis commented 2 years ago

Seeing same issue, including the "could not record" error, but I'm still on Big Sur

MacOS 11.6.2 - MBP 16" 2019 Intel - Kap 3.5.2

rubeonline commented 2 years ago

Same!

MacOS 12.1 - MBP 14" M1 Pro - Kap 3.5.3

steveharman commented 2 years ago

When I launch Kap its icon appears in my menubar fairly instantly, but when I click on the icon I always get a spinning beachball and need to wait 5s+ for the UI to render. It's been like that for ages, across multiple Kap versions and macOS increments. Currently I'm on Intel, macOS Monterey 12.2. Kap 3.5.3 (but this is reproducible back to at least 3.4.1 which I've been using up to the release of 3.5.3 that seems to have resolved the recording issue)

tobbbe commented 2 years ago

Same issue with 3.5.3 (3.5.3.1804)

image
firasm commented 2 years ago

I'm also experiencing 3-5 second delay after clicking on Kap in the menubar to show the UI; I'm on a new M1 pro machine

Screen Shot 2022-02-15 at 11 37 43 PM

.

UPDATE: Ah - I just realized I had the "Intel" version of Kap installed. Installing the new 3.5.3 M1 version solved the problem for me!

154218393-b8442175-5f86-4c6f-952c-8620c67a82f6
dcooney commented 2 years ago

Same, Kap is essentially unusable for me on 2020 Intel Macbook. Freezes screen for 10-15 seconds, shows loading beach ball and then UI appears. image

imjoshellis commented 2 years ago

3.5.3 made a difference for me. Still seems slow to launch, but recording functions work as expected again rather than crashing

Ldoppea commented 2 years ago

Hi,

I have the same problem in Big Sur Core i5, the interface takes like 10-15s to appear and I cannot use other apps while waiting: image

I would be happy to help debugging the app, but I struggle at authorising the screen capture access after a yarn start. The System Preferences pane doesn't show the Electron app. If someone knows how to do this 😅

raine commented 2 years ago

Getting constant beach ball with Monterey 12.2.1.

Render process getting blocked?

ckurtm commented 2 years ago

macOS version: Monterey (12) Kap version: 3.5.4 intel Same issue

ejerskov commented 2 years ago

M1 Macbook on Monterey 12 Kap version: M1 version 3.5.4.1810 Same issue.

xc1427 commented 2 years ago

Same issue. image

kerryj89 commented 2 years ago

I'm on an ultrawide monitor and it takes about 5 to 10s before I see the UI to record on my 2015 MBP.

atticoos commented 2 years ago

Hi folks, we narrowed down some improvements in a duplicate thread https://github.com/wulkano/Kap/issues/1125#issuecomment-1168714981

It was discovered that v3.4.1 restores the performance

TurekBot commented 1 year ago

I've noticed having an extra monitor increases the time to load substantially.

markus-arndt-fioneer commented 1 year ago

Bump, same issue.

eifr-vault commented 1 year ago

Bump, same issue without any external monitors... there's also a lag on stopping a recording

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 closing and reloading windows all the time, and not triggering full rebuilds of context menus on every click.

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