justinfrankel / licecap

LICEcap simple animated screen capture tool for Windows and OS X
http://www.cockos.com/licecap
5.24k stars 441 forks source link

Not working in macOS 11 beta #92

Closed joseph-tran-tn closed 3 years ago

joseph-tran-tn commented 3 years ago

on macOS Big Sur 11 Beta, it just shows the frame, and the results after recording is totally black

Screen Shot 2020-07-31 at 10 45 29

rstockm commented 3 years ago

I can confirm this for the Developer Betas 1 to 4. REAPER is running almost flawfless though, with one exception: the old Theme development/tweaker windows:

image

Maybe these two are connected?

jjozsi commented 3 years ago

I can confirm it's still the same with Big Sur 11.0.1 Release Candidate 1

4N7 commented 3 years ago

I've also confirmed this bug for Big Sur 11.0.1 (20B29). Permission to record screen has been granted, as shown in the attached image. (The mouse is recorded when dragged over the recording area.)

img

kenji21 commented 3 years ago

Clone the project (needed to change build setting for c++ CLANG_CXX_LIBRARY = "libc++";, and minimal version to macOS 10.9 because of Xcode 12)

Capture seems to work: capture

Captured View Hierarchy to determine which view is having the window not transparent:

Screenshot 4

The NSVisualEffectView below the SWELL_APP_PREFIX_hwnd is not opaque

Tried to make it inactive:

(lldb) expr -- [((NSVisualEffectView *) 0x7fa4c172df90) setState:2]

without success

mzl980425 commented 3 years ago

+1

guoxiangke commented 3 years ago

+1

esaruoho commented 3 years ago

+1 - please would it be possible to make LiceCap work on macOS Big Sur and M1 processors?

esaruoho commented 3 years ago

@fregante what's with the thumbdowns ;)

fregante commented 3 years ago

Stop spamming with "me too" comments.

Of course it doesn't work for anyone. Comments will not make the fix appear any faster.

And you specifically leaving the same request in 2 duplicate issues.

esaruoho commented 3 years ago

without success

Ok, I'll try that: Screenshot 2021-01-07 at 11 22 58

After accepting the changes, I clicked on macOS Deployment Target 111. There's still 5 issues, which are: Screenshot 2021-01-07 at 11 24 06

so i start with migrating the four (french, english, german, japanese). will press Migrate on everything: Screenshot 2021-01-07 at 11 24 26

German Japanese went quickly, but English says stuff like this:

Screenshot 2021-01-07 at 11 24 54

Since I'm working in the blind, I'll just press Migrate.

And the last one which is Enable Base Internationalization - again, working in the blind, clicking Finish. Screenshot 2021-01-07 at 11 25 27

Now the topbar does not show any warnings or errors. Pressing Build. After it, 17 warnings and 2 errors - with build failed. Looking at what else to fix here that would get rid of some of the warnings.

Screenshot 2021-01-07 at 11 26 33

now changed Apple Clang - Language - C++ to libc++. Screenshot 2021-01-07 at 11 27 36

that reduced warnings from 17 to 13, and 2 errors still exist.

so the most updated list is here: Screenshot 2021-01-07 at 11 44 27 Screenshot 2021-01-07 at 11 44 43

sorry, there might be some redundant data there in the above two screenshots. i don't really know how to proceed, but i'll try to click away blindly and see what happens :)

esaruoho commented 3 years ago

after running through the possible misuse of comma operators and fixing them, i got this far: 6 warnings, 2 errors: Screenshot 2021-01-07 at 12 37 11 not entirely sure how to proceed. i did add Metal framework, but did not change OpenGL for anything.

Feels like the Value Conversion issues are new ones caused by the "comma operator" fixes. but also feels like stat64 is a huge thing.

Not sure how to change the "Couldn't load spec with identifier 'com.intel.compilers.icc.11_1_0' in domain 'macosx'" -> should it maybe be macOS?

esaruoho commented 3 years ago

Clone the project (needed to change build setting for c++ CLANG_CXX_LIBRARY = "libc++";, and minimal version to macOS 10.9 because of Xcode 12)

hi @kenji21 - can you specify where you changed CLANG_CXX_LIBRARY to libc++, please? I tried some changes, but i'm not sure if i got them all.

wojosc commented 3 years ago

Thank you for working on this. I also have the same problem with the licecap window on macOS Big Sur showing just grey.

esaruoho commented 3 years ago

Intel (Please post whether this is sufficient for Arm as well; I am not able to test at the moment)

Hi, I tried your stuff with M1, but unfortunately am still seeing issues such as the following:

Screenshot 2021-02-04 at 14 09 31

Not sure how to solve them. But thanks for chiming in! BTW, took a while to figure out when you modified something, and when you added something, and whcih filenames were the files in question. Otherwise, was able to figure it out out of the attached screenshots, so I do appreciate the work involved for sure!

(still not sure how to upgrade to M1 compatible WDL version, for instance..)

noestreich commented 3 years ago

Hi @matt, any chance you could provide a binary?

logananderson commented 3 years ago

Hey folks, really needed Licecap this morning for a presentation so I followed @matt's instructions. Here's a fork if it helps anyone: https://github.com/logananderson/licecap

Working for me on Big Sur 11.0.1 (20B50) on a MacBook Pro (Retina, 15-inch, Mid 2015).

esaruoho commented 3 years ago

Working for me on Big Sur 11.0.1 (20B50) on a MacBook Pro (Retina, 15-inch, Mid 2015).

Interesting, let's see how far I get with this fork and M1. Hopefully less errors? Did you update WDL?

well this is looking crazy! just the localization errors?? nothing else?? :O

Screenshot 2021-02-04 at 22 58 16
esaruoho commented 3 years ago

Ok, unfortunately even with the @logananderson fork, I get all these after trying to build:

Screenshot 2021-02-04 at 22 59 23 Screenshot 2021-02-04 at 22 59 55

and after clicking Fix randomly at everything, the end result is:

Screenshot 2021-02-04 at 23 03 48

well! if it works with Big Sur on Intel, that's awesome. Hopefully there will be some sort of M1 build eventually too. :)

ganjarpanji commented 3 years ago

for anyone who need the latest app, dyou can download here https://drive.google.com/file/d/1zJjtR0Ba23zRW1cWV7kXs27gGPKv_4lr/view?usp=sharing

rstockm commented 3 years ago

for anyone who need the latest app, dyou can download here https://drive.google.com/file/d/1zJjtR0Ba23zRW1cWV7kXs27gGPKv_4lr/view?usp=sharing

Thank you so much. This actually works under Rosetta2/ARM on a M1! One Bug though: the title screen appears only for a split-second no matter what time I set. But that's a minor complain.

esaruoho commented 3 years ago

yay, i was able to install and run it on my Big Sur 11.2.1 and M1. Works as expected. I hope that #101 will be merged in by @justinfrankel soon.

itsthomas commented 3 years ago

for anyone who need the latest app, dyou can download here https://drive.google.com/file/d/1zJjtR0Ba23zRW1cWV7kXs27gGPKv_4lr/view?usp=sharing

Thanks mate. I confirm that it's also working on Intel Macs.

dialex commented 3 years ago

Fixed in the latest version Licecap 1.31 (this commit https://github.com/justinfrankel/licecap/commit/641c098841f8d85bd871332b6b4ae9510022f986) 🎉 You can close this issue @sweettimes