issue #4861, add requestFocus method and the layout current can get focus
closed #4861, finished focus