[[ Bug 14152 ]] Avoid to lock the screen when text is typed