FWIW something similar can happen when using KDE Plasma Desktop Workspace. If you change the active layout on the go, shortcuts will still be mapped to the default layout. Maybe it has been fixed in some newer release. However, I think it could be a nice feature in case (a) you're adapting to a new layout, but you haven't had time to adapt your muscle memory for hotkeys and your productivity suffers because of that; (b) you're using some app with QWERTY-centric shortcuts (or Vim, heh); (c) someone changes you your layout as a prank.