We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02240d6 commit 0e1e456Copy full SHA for 0e1e456
1 file changed
src/platform/linux.rs
@@ -353,7 +353,16 @@ impl LinuxUiBackend {
353
None
354
};
355
356
- let range = self.get_range_info(bname, opath).await;
+ // Only query Value interface for element types that actually use ranges.
357
+ // Chrome advertises Value on elements that don't implement it, causing
358
+ // noisy ATK assertion spam: "impl_get_CurrentValue: assertion 'ATK_IS_VALUE'"
359
+ let range = match element_type {
360
+ ElementType::Slider
361
+ | ElementType::SpinButton
362
+ | ElementType::ProgressBar
363
+ | ElementType::ScrollBar => self.get_range_info(bname, opath).await,
364
+ _ => None,
365
+ };
366
let actions = self
367
.collect_actions(bname, opath, &element_type, is_keyboard_focusable)
368
.await;
0 commit comments