kpxc-search update and keepass with accessibility

This commit is contained in:
cubernetes 2026-10-23 12:29:52 +02:00
parent 972436ba13
commit 226bb9df69
3 changed files with 15 additions and 2 deletions

View file

@ -88,6 +88,10 @@ def is_line_edit(role, states):
and states is not None
and states.contains(Atspi.StateType.SHOWING)
and states.contains(Atspi.StateType.EDITABLE)
# A disabled (greyed-out) field still reports EDITABLE, e.g. the
# search box while the database is locked.
and states.contains(Atspi.StateType.ENABLED)
and states.contains(Atspi.StateType.SENSITIVE)
and not states.contains(Atspi.StateType.MULTI_LINE)
)