Selecting a different object hides all keyframes in timeline? There are two objects in my 3D-view:


A red object 
A white object


Both are overlapping each other.

I have added several keyframes of animation to the red object. 
When I select the white object, all keyframes disappear from timeline.
They reappear if I select the red object again.

Why do keyframes disappear from the timeline?
What am I missing?
This is a feature. You only see keyframes for the selected object in the timeline. If you want to see all your keyframes, I would use the Dope Sheet.

The arrow icon only shows the key frame from the selected object.
The ghost icon shows keyframes form hidden objects.
The life saver :P(I think that the official name?) shows broken drivers.