I have two keyboard layouts: English and Russian. Among others I use the following command to configure keyboard:
setxkbmap -option grp:switch
This made keyboard in English layout temporarily issue Russian characters as long as AltGr (right Alt) was pressed, and likewise temporarily issue English characters in Russian layout as long as AltGr is pressed. Main usecase was to type certain characters from English layout that are not present in Russian one, e.g. / or '.
Since recently, however, grp:switch doesn't work as it used to. In Russian layout it doesn't make any difference if AltGr is pressed or not, largely defeating the main purpose I used it for. I.e. in Russian layout AltGr+. used to type / (as it is the character on that key in English layout), now it types the dot, as if AltGr is not pressed.
Note that in English layout AltGr still works as before, so it's not like it completely doesn't work.
$ setxkbmap -version
Created attachment 128187 [details] [review]
workaround for altgr toggle from ru layout
Have same layout (us.ru) and recently have troubles with switching back from russian layout. According to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=704209 there is a workaround for epo layout in bugtracker.
Russian patch can be created like same.
Fixed as of bf0263d2f8e7e0ff0135c47f9b7213931345fa94
*** This bug has been marked as a duplicate of bug 97057 ***