tdf#122774 Make all ScCheckListMenuWindow items keyboard accessible
commit3e50aea3c723e82ea4acf32aae8d72e875d4b321
authorJim Raykowski <raykowj@gmail..com>
Tue, 16 Jul 2019 07:41:55 +0000 (15 23:41 -0800)
committerJim Raykowski <raykowj@gmail.com>
Tue, 23 Jul 2019 05:58:10 +0000 (23 07:58 +0200)
treef38d48fc95ec92f8fa975966601cd98d5a042f52
parentac933bb93a7afa8af10382cf2d47e64b31fe2567
tdf#122774 Make all ScCheckListMenuWindow items keyboard accessible

This patch provides keyboard tab navigation to the menu window menu
items.

In addition to the Ok button being already disabled when search is empty
the patch disables the check list box, toggle all check box select,
single button and unselect single button. This prevents keyboard focus
from being trapped in the check list box and from tab navigation visting
useless controls when search is empty.

This patch also provides a hack fix for tdf#122772

Change-Id: I7677d544ae63acc8eca08877ecd001d394fcfaca
Reviewed-on: https://gerrit.libreoffice.org/75684
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
sc/source/ui/cctrl/checklistmenu.cxx