Kap icon indicating copy to clipboard operation
Kap copied to clipboard

Recording UI appears after 3 seconds

Open mortenjust opened this issue 4 years ago • 20 comments

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.

mortenjust avatar Jan 31 '22 09:01 mortenjust

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)

avm99963 avatar Feb 01 '22 12:02 avm99963

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

bastienmenis avatar Feb 02 '22 18:02 bastienmenis

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

imjoshellis avatar Feb 02 '22 18:02 imjoshellis

Same!

MacOS 12.1 - MBP 14" M1 Pro - Kap 3.5.3

rubeonline avatar Feb 10 '22 08:02 rubeonline

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)

steveharman avatar Feb 11 '22 11:02 steveharman

Same issue with 3.5.3 (3.5.3.1804)

image

tobbbe avatar Feb 15 '22 12:02 tobbbe

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

firasm avatar Feb 16 '22 07:02 firasm

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

dcooney avatar Feb 16 '22 14:02 dcooney

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

imjoshellis avatar Feb 17 '22 21:02 imjoshellis

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 😅

Ldoppea avatar Mar 21 '22 10:03 Ldoppea

Getting constant beach ball with Monterey 12.2.1.

Render process getting blocked?

raine avatar Mar 22 '22 09:03 raine

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

ckurtm avatar Apr 13 '22 04:04 ckurtm

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

ejerskov avatar Apr 29 '22 11:04 ejerskov

Same issue. image

xc1427 avatar May 07 '22 08:05 xc1427

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

kerryj89 avatar May 21 '22 03:05 kerryj89

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

atticoos avatar Jul 06 '22 13:07 atticoos

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

TurekBot avatar Nov 30 '22 23:11 TurekBot

Bump, same issue.

  • Macbook Pro M1 14"
  • Thunderbolt 4 Dock
  • two 4K Monitors + one Laptop Screen

markus-arndt-fioneer avatar Jun 01 '23 09:06 markus-arndt-fioneer

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

  • Macbook Pro M1 14"

eifr-vault avatar Jun 21 '23 09:06 eifr-vault

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

michaeljelly avatar Feb 13 '24 23:02 michaeljelly