A curious observation: 
both ctrlaltleft and ctrlaltright are affected by the same bug, but differently.
Given the faces are numbered 0..3 (I'm using the gnome workspace switcher to 
track faces/virtual screens):
ctrlaltleft moves to an odd numbered face
ctrlaltright moves to an even numbered face
8-/
curiouser and curiouser.

except it's not the last key press, but the last-but-one key press that
counts!

ctrlaltleft ctrlaltleft - gets an odd face
ctrlaltleft ctrlaltright - gets an odd face!
ctrlaltleft ctrlaltright ctrlaltright - gets an even face!!

A variable is being used before initialization (although initialization is 
occuring). Race condition?
Maybe the move is happening twice, once with uninitialized state, and once with 
initialized state. Doesn't explain the left>odd, right>even pattern.

I have noticed that this pattern breaks down when I press the buttons
quickly, but I can't pin down the new pattern. More evidence of a race.

I tried 6 virtual screens, and the same pattern occurs. ctrlaltleft
cycles 153153, and ctrlaltright cycles 024024.

I tried 5 virtual screens. ctrlaltleft cycles 420420420, ctrlaltright
cycles 024024024.

I can still get the odd faces by fast-keying, but the 024/420 pattern 
re-establishes itself quickly when I return to a slow pace.
However, if I am at an odd face, I can move between them reliably unless I try 
to go around the end:
Starting at face 1, ctrlaltright gets me face 3
Starting at fare 3, ctrlaltleft gets me face 1
Starting at face 1, ctrlaltleft gets me face 4
Starting at face 3, ctrlaltright gets me face 0
The end-of-list code is affecting the odd/even thing. Also, I can't see the 
last-but-one effect. Could just be a side effect from the bug.

-- 
cube usually rotates by 2 faces when using ctrlaltleft or ctrlaltright
https://bugs.launchpad.net/bugs/157588
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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

Reply via email to