In new version 2.9.10 and earlier i see often one bug - swap foreground and background color don't work. It hapens when Krita was in fullscreen mode, after press Alt+Tab, go to other window, and again Alt+Tab back to Krita. After this manipulations Swap don't work.
*** This bug has been marked as a duplicate of bug 352846 ***