I think people who experience this should look at their development practices. Especially if you don't have a clear goal with what you are doing, you find that you don't have the time to do things properly (like reading code or documentation) or you are changing direction frequently. Chances are you are experiencing a lot of stress, which is one of the "best" ways to make people lose interest in other things.