hydra-synth / atom-hydra

78 stars 29 forks source link

initScreen returns black screen in atom-hydra #40

Closed fracnesco closed 2 years ago

fracnesco commented 3 years ago

the initScreen function is returning a black screen in atom hydra both on windows and on MacOs. I have been experiencing this after not using hydra in atom for a while, so I am not sure which change caused this problem. Does anyone has any clue?

fracnesco commented 3 years ago

Here is where the function is defined in the repo https://github.com/ojack/atom-hydra/blob/a9d347542410813ca133ebeaa027fa27aaf0ab07/lib/main.js?fbclid=IwAR2J9cYvtNsmH8H-ljrVBF9i37-zGNC_y79ogHilg2SSVzmzJA4jT3FpCl4#L186

fracnesco commented 3 years ago

I tried with older versions of the package 0.3.0 and 0.2.10 and the issue is still there

fracnesco commented 3 years ago

tried various combinations of older versions of atom and atom-hydra but this doesn't solves the issue

fracnesco commented 3 years ago

photo_2021-05-30_17-32-21 Here scr is null photo_2021-05-30_17-32-29 photo_2021-05-30_17-32-46 I think where it says createSource is the point where it should be defined

karen-pal commented 3 years ago

Can confirm. I just reproduced this on a linux machine, fresh installation of atom and atom-hydra.

I'm new to atom-hydra. Did it ever work, @fracnesco ? do you remember in which version?

fracnesco commented 3 years ago

It used to work perfectly. From what I have gathered, the problem is not caused by a hydra or atom updates. I think it's a problem on how the desktopCapturer works in Electron https://www.electronjs.org/docs/api/desktop-capturer it would be very helpful to have some feedbacks from someone that has experience with the Electron framework