On May 26, 2020, at 16:10:26, Gabriel Zachmann via Cocoa-dev
wrote:
>
> I've just had a crash in
> CGImageSourceCreateThumbnailAtIndex( new_image, 0, imageOpts );
We went through this quite a while ago in private emails.
CGImageSourceCreateThumbnailAtIndex is fine to use from any thread. Are
I've just had a crash in
CGImageSourceCreateThumbnailAtIndex( new_image, 0, imageOpts );
The new_image and imageOpts were created/assigned just a few lines earlier in
the code.
(and in the debugger they appear to be non-null.)
So I was wondering if CGImageSourceCreateThumbnailAtIndex() is thre
>
>> I can confirm: this is indeed critical. Otherwise, the .saver does not
>> receive mouse events.
>>
>> Unfortunately, it seems that I still cannot get key events.
>
> If you are trying to get events from arrow or modifier keys, you have to use
> keyDown and not keyUp. But you may not be
On May 25, 2020, at 3:43 PM, Gabriel Zachmann via Cocoa-dev
wrote:
> I can confirm: this is indeed critical. Otherwise, the .saver does not
> receive mouse events.
>
> Unfortunately, it seems that I still cannot get key events.
If you are trying to get events from arrow or modifier keys, you
>> Unfortunately, with -addGlobalMonitorForEventsMatchingMask: ,
>> the event is still passed on to the higher-up objects, so that makes the
>> screensaver engine terminate the screensaver immediately.
>
> Does this mean you’re unable to set up a global event tap/monitor? If you
> are able, how
Gabriel,
> On May 26, 2020, at 04:21, Gabriel Zachmann wrote:
>
> Thanks a lot for your response!
>
> Unfortunately, with -addGlobalMonitorForEventsMatchingMask: ,
> the event is still passed on to the higher-up objects, so that makes the
> screensaver engine terminate the screensaver immedia
Thanks a lot for your response!
Unfortunately, with -addGlobalMonitorForEventsMatchingMask: ,
the event is still passed on to the higher-up objects, so that makes the
screensaver engine terminate the screensaver immediately.
Best regards, Gabriel
> On 26. May 2020, at 00:54, Sandor Szatmari