# Missing footer on first Beamer slide of TikZ example [duplicate]

I'm having problems with this particular TikZ example:

http://www.texample.net/tikz/examples/prims-algorithm/

When I change the theme, for instance:

\usetheme{Madrid}


the footer is not working on the first slide, but it is on the rest of them. Any idea how to solve this particular problem?

-

## marked as duplicate by Joseph Wright♦Nov 17 '13 at 16:17

(The newer question has a better mwe, so I propose to close the old question as a duplicate of the new one.) –  Caramdir Jun 24 '11 at 11:40

I don't know why, but the \pause command seems to be causing troubles. If you replace

\begin{pgfonlayer}{background}
\pause
\foreach \source / \dest in {d/a,d/f,a/b,b/e,e/c,e/g}
\path<+->[selected edge] (\source.center) -- (\dest.center);
\foreach \source / \dest / \fr in {d/b/4,d/e/5,e/f/5,b/c/6,f/g/7}
\path<\fr->[ignored edge] (\source.center) -- (\dest.center);
\end{pgfonlayer}


by

\begin{pgfonlayer}{background}
\foreach \source / \dest / \fr in {d/a/2,d/f/3,a/b/4,b/e/5,e/c/6,e/g/7}
\path<\fr->[selected edge] (\source.center) -- (\dest.center);
\foreach \source / \dest / \fr in {d/b/4,d/e/5,e/f/5,b/c/6,f/g/7}
\path<\fr->[ignored edge] (\source.center) -- (\dest.center);
\end{pgfonlayer}


it works.

-
I had this problem with different first slides also in my presentations. There must be some bug in beamer. –  Martin Scharrer Feb 12 '11 at 15:10