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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1251285

Title:
  [osk] Shift key icon is sometimes offset

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-keyboard/+bug/1251285/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to