I reproduced this bug (once only) by doing the following:
1. I ran xev.
2. I did the key combination for 'brightness down'. The brightness dimmed but xev reported a continuous series of 101 key press / release events. This keycode 101 is listed at https://wiki.ubuntu.com/KubuntuLaptopKeycodes as being the brightness down key for some Dell laptops like mine.
3. I did the key combination for 'brightness up'. The brightness increased and xev reported a single key press / release combination for key code 212. The stream of 101 keycodes stopped.
After step 3, the key modifiers all work.
However, I haven't been able to make it happen again. Brightness down normally generates no key events as far as xev is concerned (although the brightness does dim) and brightness up generates a single press / release sequence for keycode 212.
So might the bug be related to the brightness controls? Note bug 188775, where X changes the screen brightness at random intervals for some users. I haven't noticed that bug on my system for a while now, but X now also rarely forgets key modifiers - it seems to happen after resume or in the 'brightness down' sequence in step 2 above.
I reproduced this bug (once only) by doing the following:
1. I ran xev.
2. I did the key combination for 'brightness down'. The brightness dimmed but xev reported a continuous series of 101 key press / release events. This keycode 101 is listed at https:/ /wiki.ubuntu. com/KubuntuLapt opKeycodes as being the brightness down key for some Dell laptops like mine.
3. I did the key combination for 'brightness up'. The brightness increased and xev reported a single key press / release combination for key code 212. The stream of 101 keycodes stopped.
After step 3, the key modifiers all work.
However, I haven't been able to make it happen again. Brightness down normally generates no key events as far as xev is concerned (although the brightness does dim) and brightness up generates a single press / release sequence for keycode 212.
So might the bug be related to the brightness controls? Note bug 188775, where X changes the screen brightness at random intervals for some users. I haven't noticed that bug on my system for a while now, but X now also rarely forgets key modifiers - it seems to happen after resume or in the 'brightness down' sequence in step 2 above.