10,000 Textbox in Scroll is completely unresponsive to scrolling with mouse wheel/trackpad
Open
Nobody has claimed this yet.
perf
- Dominant language
- Rust
- Stars
- 9.7k
- Forks
- 565
- PR merge metrics
- No merged PRs in 30d
Description
use druid::widget::{Flex, TextBox};
use druid::{AppLauncher, Widget, WidgetExt, WindowDesc};
pub fn main() {
let window = WindowDesc::new(build_widget());
AppLauncher::with_window(window)
.log_to_console()
.launch("".to_string())
.expect("launch failed");
}
fn build_widget() -> impl Widget<String> {
let mut col = Flex::column();
for _ in 0..10000 {
col.add_child(TextBox::new());
}
col.scroll().vertical()
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Run the provided Rust example starting at main and build_widget, which constructs a scrollable column of 10,000 TextBox widgets. Inspect the scroll and TextBox event handling involved in this widget tree. Done means mouse-wheel and trackpad scrolling is responsive with the reproduced example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- desktop, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100