Keys.OnPressed for TextInput not called for certain non-english languages (Korean/Japanese)



  • TextInput {
    	id: myTextInput
    	text: ""
    
    	onTextChanged: {
        	    // Logic for after the text has been entered into myTextInput
       	}
    
       	Keys.onPressed: {
       	    // Logic that should happen as a key is pressed, before it's inserted into myTextInput
       	}
    }
    

    Entering characters in english works fine and the Keys.onPressed callback get's triggered, but changing my keyboard to 2-Set Korean or one of the Japanese keyboard configurations results in the Keys.onPressed method never being called. Instead the character is directly entered into myTextInput and onTextChanged is triggered.

    Please advise on why Keys.onPressed is ignored for certain language inputs.


  • Moderators

    Hi! Please report the issue at https://bugreports.qt.io.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.