Unfortunately, I don't remember exactly what I did. I just played with the options, too and was able to reproduce the problem in maverick, but not in natty. (I am using onboard from the word completion branch, but I don't think it to be relevant.)
In fact, the Alt Gr key did not change the layout, when I activated the "Right Alt" checkbox in "keys to change layout" in the Options dialog of the Keyboard control panel.
However, the settings of the Options seem not to stick; thus I closed and reopened the Keyboard dialog after the changes to verify. Moreover, I also quitted and restarted onboard after the changes.
Finally, for your information: I am also using 3 layouts: Belgium, Switzerland French and Germany. However, to change layouts, I don't use the keyboard shortcut, I use the indicator in the top menubar.
Unfortunately, I don't remember exactly what I did. I just played with the options, too and was able to reproduce the problem in maverick, but not in natty. (I am using onboard from the word completion branch, but I don't think it to be relevant.)
In fact, the Alt Gr key did not change the layout, when I activated the "Right Alt" checkbox in "keys to change layout" in the Options dialog of the Keyboard control panel.
However, the settings of the Options seem not to stick; thus I closed and reopened the Keyboard dialog after the changes to verify. Moreover, I also quitted and restarted onboard after the changes.
Finally, for your information: I am also using 3 layouts: Belgium, Switzerland French and Germany. However, to change layouts, I don't use the keyboard shortcut, I use the indicator in the top menubar.