fix #30166: cmdSelectAll issues