Comment 3 for bug 1251285

Revision history for this message
Ɓukasz Zemczak (sil2100) wrote :

So, I have been looking into this issue and found ways to reproduce it and some bits that might be responsible. The whole issue is a bit bizarre - it seems like a small and easy issue but it's not. It seems that the keyboard state is changed correctly, things work ok, but the problem seems to appear when we use the Icon coloring through Icon.color. This then switches the Icon to use a shader instead - and once this is used all hell goes loose.

So, when ActionKey.qml does not have the iconImage.color = colorShifted line in the SHIFTED case - all is working correctly all the time. Even when the color is changed by a timer after a massive delay, it still causes the problem to happen. I even asked Gerry about advice regarding this problem - for now he also thinks it might be a ShaderEffect bug, so pointing more into the insides.

We can work-around it easily by not using the coloring and simply creating a colored icon to use instead in the SHIFTED case for the shift key. If it would really be an inside bug, then I guess this will be the only logical solution here.