subsoap / defos

Extra native OS functions for games written using the Defold game engine
Creative Commons Zero v1.0 Universal
112 stars 16 forks source link

Custom OS cursor breaking for macOS since recent update? #110

Open subsoap opened 4 years ago

subsoap commented 4 years ago

In FSH since last update the mouse cursor is now the system cursor and switches to game cursor when over something clickable. It also sometimes flashes between the 2 when over a clickable card.

10.9.5

subsoap commented 4 years ago

Not sure if it's our fault but we have not touched that code in forever in our game.

britzl commented 4 years ago

@jcash might have some input here. Did we make any changes to the macOS application startup process or was this only for iOS? Also, the merge of the Vulkan stuff, could this have some impact on mouse cursors? Or did we update the build pipeline on macOS maybe?

JCash commented 4 years ago

No, there are no changes to the OSX app that should have caused this imo. We have done some vulkan preparation (it's not enabled yet) so we did some preparation for it, but I don't actually suspect that part.

Can you pinpoint at what engine version this started to happen?

dapetcu21 commented 4 years ago

I don't have the same issue in Interrogation. The custom cursor works fine. I'm loading and setting it once at game startup then I forget about it.

subsoap commented 4 years ago

Engine version is 1.2.164. Unfortunately we have very few macOS players so I only have info from one person. I'll try to get more people to test and see if they experience the same issue.

dapetcu21 commented 4 years ago

@subsoap Is this FSH? I can test that if you want to.

subsoap commented 4 years ago

Yes, it is. Latest should be the same, make sure custom hardware cursor is active in settings then try to hover buttons and such. See if system cursor appears randomly while doing so.

dapetcu21 commented 4 years ago

@subsoap check slack pls

britzl commented 4 years ago

It works for me with 1.1.19.11.25 on Mojave

britzl commented 4 years ago

Although if you move the mouse cursor back and forth very quickly the accessibility thing that shows a magnified mouse cursor appears instead of the custom one.

dapetcu21 commented 4 years ago

Yeah, no issues here with 1.1.19.11.25 on Catalina

subsoap commented 4 years ago

Need to make a tester app which relatively quickly swaps the custom cursor then to see if any system cursor appears when it should not.