I'm running OS X Mavericks on a computer with two displays that are not mirrored.
One of them is configured as the primary display using the menu bar location in Displays System Preference, pre-Mavericks style. (Although both displays actually have the menu bar.)
Problem: cmd + tab Task Switcher sometimes appears in secondary display instead of the primary. Once it starts appearing on the secondary display, it might soon move back to the primary, too.
Why this happens? I have seen it happen more than once but haven't yet figured out the pattern.
How to configure the task switcher to appear only on the primary display?
According to similar question How to choose on which display Application Switcher shows?, the behavior depends on which display has the dock. Follow-up variant question:
2'. How to configure the dock to appear only on the primary display?