Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly rethrow RegisterTick errors instead of returning generic E_FAIL #14938

Merged
merged 1 commit into from
Mar 25, 2024

Conversation

maxkatz6
Copy link
Member

What does the pull request do?

This PR is mostly for testing. Can be merged, can be not.

@avaloniaui-bot
Copy link

You can test this PR using the following package version. 11.2.999-cibuild0046130-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@maxkatz6 maxkatz6 merged commit e3e42b2 into master Mar 25, 2024
7 checks passed
@maxkatz6 maxkatz6 deleted the macos-handle-timer-error branch March 25, 2024 06:51
@maxkatz6 maxkatz6 added the backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch label Mar 25, 2024
@maxkatz6 maxkatz6 added backported-11.1.x and removed backport-candidate-11.1.x Consider this PR for backporting to 11.1 branch labels Apr 20, 2024
@ltetak
Copy link
Contributor

ltetak commented May 20, 2024

@maxkatz6 we've deployed this to production a couple of days ago. This is the error message we got

Avalonia.Native was not able to start the RenderTimer. Native error code is: -6661

I won't paste it here but LLM chat suggests looping through all active displays since this first one seems unavailable (CGGetActiveDisplayList + CVDisplayLinkCreateWithCGDisplay). It looks like a good fallback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants