Elektrine lite

← Feed

@_the_cloud@mastodon.social

Post #2221451

2026-03-17 05:15 UTC

@theirongiant@hachyderm.io @kalleboo@bitbang.social Based on that screenshot, it looks like the crash occurs because something in CanvasWGetState attempts to access a field of the canvas window, and is dereferencing a nil handle. Doesn't WindowShade work by setting the visRgn to nil or something along those lines? What status is it accessing?

Replies (2)

  • @kalleboo@bitbang.social 2026-03-17 05:22

    @_the_cloud@mastodon.social @theirongiant@hachyderm.io CanvasWGetState doesn’t touch anything related to the actual Mac WindowPtr, just my internal window information structure with the status of if we’re connected, waiting to place a pixel, etc. That structure is only released when you’ve actually closed the window (click in goAway or File>Close)

    Open ##2221452

  • @kalleboo@bitbang.social 2026-03-17 05:33

    @_the_cloud@mastodon.social @theirongiant@hachyderm.io Could WindowShade be messing with RefCon? I think that’s where I’m stashing my pointer

    Open ##2221455