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

Crashes when enable system text cursor indicator effect #18211

Open
hi-xiaoxin opened this issue Feb 16, 2025 · 2 comments
Open

Crashes when enable system text cursor indicator effect #18211

hi-xiaoxin opened this issue Feb 16, 2025 · 2 comments

Comments

@hi-xiaoxin
Copy link

hi-xiaoxin commented Feb 16, 2025

Describe the bug

Publish app with partial triming , crashes when enable system text cursor indicator effect,it's 100% reproducibled on our company's computers

To Reproduce

  • Windows 10/11
  • Enable the system text cursor indicator effect (in accessibility features)
  • Create a default Ava example, partial triming publish
  • The program crashes immediately when running

Expected behavior

No response

Avalonia version

11.2.4

OS

Windows 10 / 11

Additional context

No response

@hi-xiaoxin hi-xiaoxin added the bug label Feb 16, 2025
@maxkatz6
Copy link
Member

I don't think Avalonia support this effect, but I also can't reproduce any crash on 11.2.4.
Do you have any stacktraces or specific repro projects?

Publish app with partial triming

Just in case if it related to windows accessibility APIs, can you try with nightly builds? These have better support for accessibility when app is trimmed.

@hi-xiaoxin
Copy link
Author

hi-xiaoxin commented Feb 17, 2025

hi @maxkatz6

thank you for your reply

The problem has been resolved after updating to the 11.3.999-cibuild0054958-alpha version, which is great. But problem still exists in the 11.3.999-cibuild0052371-alpha ( the first version of 11.3.999)

In versions 11.1.x and 11.2.x, this crash problem indeed occurs 100% <TrimMode>partial</TrimMode>. There are two scenarios for testing:

  1. It is the modification of the system text cursor color as mentioned before.
  2. Install third - party software with word - selection/highlight - translation functions (such as translation software, like https://fanyi.youdao.com/). When you select text for translation in the system, a crash will also occur.

We can only obtain information about the crash from the system logs, but it only tells us that the application has crashed.

When will version 11.3 be released? Currently, this situation is quite common (mainly due to the second point above). We are even considering updating to the 11.3.999-cibuild0054958-alpha to solve this problem, but we don't know what new impacts it may bring.

Thank you

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

No branches or pull requests

2 participants