Qt5 IM allow committing empty strings
This is a really nasty bug, which is mainly triggered by focus change. It happens because Qt tries to delete the surrounding text on the first key press after focusing in, sending an empty commit string via QInputMethodEvent. To reproduce: * type some dummy word in Writer * select a part of the word * Alt+Tab to a different window to switch focus * Alt+Tab back to Writer * Press Alt => deletes the selected text Instead of Alt+Tab you can also switch the IM via hotkey. Change-Id: I0ce4c64aebf93a422bd3067f204da1d8f326a327 Reviewed-on: https://gerrit.libreoffice.org/71796 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Showing
Please
register
or
sign in
to comment