Before you do that (and file a bugreport) please test the following scenario:
in OI:
- MaskEdit1.EditMask = ''; //empty mask
- MaskEdit1.Text := ''; //no text
Build and run as normal user.
Set focus to MaskEdit1 and type '12345'
How many times do you see TCustomMaskEdit.KeyPress debug output in the console?
If you don't see the KeyPress debug output for one or more of the keys, run the app as root and repeat the process.
Also, to determine if this is caused by changing text in TextChanged, do the following:
in OI
- MaskEdit1.EditMask = ''; //empty mask
- MaskEdit1.Text = ''; //no text
- MaskEdit1.CharCase = ecUpperCase;
This will force the text in the control to be changed to uppercase, and this happens in TCustomEdit.TextChanged.
Build and run as normal user.
Set focus to MaskEdit1 and type 'abcde' (lower case)
How many times do you see TCustomMaskEdit.KeyPress debug output in the console?
If you don't see the KeyPress debug output for one or more of the keys, run the app as root and repeat the process.
Bart