Skip to content

accessibility feature have big performance impact on big listview #3867

@qarmin

Description

@qarmin

Slint 1.3.0 - 2acaa22

Steps to reproduce

git clone https://github.com/qarmin/czkawka.git
cd czkawka
git checkout 727dd4fce805205052ae4238daacbada15b5e7f1
cargo run --bin krokiet # should run build without accesskit
# Uncomment here line in Cargo.toml about accessibility
cargo run --bin krokiet

running app with accessible feature

simplescreenrecorder-2023-11-06_21.41.30.mp4

I was able to found that this was caused by enabling accessible feature, because i_slint_backnd_winit::accesskit took most of the time of running app

Acces

Running app without feature

simplescreenrecorder-2023-11-06_21.38.37.mp4

output

Not sure if this problem is fixable, so if it can't be fixed, there should be a mention in the documentation about possible performance problems in certain situations

Metadata

Metadata

Assignees

No one assigned

    Labels

    a:accessibilitySupport for assistive technologies (mS,bT)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions