Comment 0 for bug 1324955

Revision history for this message
Michael Sheldon (michael-sheldon) wrote :

At the moment if a user is using predictive text or the pinyin keyboard (which always uses predictive text for Chinese character input) text is placed in to a "pre-edit" buffer prior to being committed to a text area. If text is still in the pre-edit buffer when a button is pressed it can be lost. To avoid this currently apps need to call Qt.inputMethod.commit() when a button is pressed (and a lot of apps currently don't do this), it would be nicer for app developers if this is handled by default in AbstractButton's onPressed.