Repository navigation
Disable mouse rect test on null backend - #3680
Conversation
The SDL_SetWindowMouseRect function returns false on unsupported backends since <libsdl-org/SDL@2a873be>. Signed-off-by: Marcin Serwin <marcin@serwin.dev>
π WalkthroughWalkthroughUpdates skip conditions for Changes
Estimated code review effortπ― 2 (Simple) | β±οΈ ~5 minutes π₯ Pre-merge checks | β 2 | β 1β Failed checks (1 warning)
β Passed checks (2 passed)
βοΈ Tip: You can configure your own custom pre-merge checks in the settings. β¨ Finishing touches
π Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro π Files selected for processing (1)
π§° Additional context usedπ§ Learnings (2)π Common learningsπ Learning: 2025-08-30T21:11:00.240ZApplied to files:
β° Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (20)
π Additional comments (1)
βοΈ Tip: You can disable this entire section by setting Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
LGTM, thanks for the PR! π
This is something I had already noticed in my SDL3 porting PRs (and already implemented a similar fix sometime back at #3562). I'm curious how you found this, I'm presuming this fail come up with sdl2-compat?
Anyways, I'm in favour of merging your PR first. My PR is slow moving at the movement and it would be good to get this fix in fast.
Yes, I help with maintaining SDL libraries in nixpkgs and this came up after the latest sdl3/sdl2-compat bump. Since you're also working with SDL3, there are two more tests that started failing after the bump: I haven't had time to look into it yet, but perhaps you've also run across them and know the cause. |
|
I noticed these fails too when I was testing out something in an arch box. I didn't investigate it yet but I plan to do it when I get the time. All I can tell is that its something that broke very recently, as I do not get these issues on my ubuntu 25.10 machine which is on an older SDL3 and sdl2-compat. |
|
For the I looked in into the Merging this PR for now. Once there is a resolution on the SDL side I will update both tests accordingly in a new PR. |
The SDL_SetWindowMouseRect function returns false on unsupported backends since libsdl-org/SDL@2a873be.