I'm trying to prettyprint a beamer slide with \pause in it using the tcblisting environment. It shows the listing first and then the compiled result. The problem is that the page footer is gone for the first frame (displayed before the \pause).
The MWE is the following:
\documentclass{beamer}
\usetheme{CambridgeUS}
\usepackage[listings]{tcolorbox}
\begin{document}
\begin{frame}[fragile]
\frametitle{Pause in a listing}
\begin{tcblisting}{colback=red!5!white,colframe=red!75!black}
\begin{itemize}
\item The first item
\pause \item The second item
\end{itemize}
\end{tcblisting}
\end{frame}
\end{document
Is there a way of getting the footer back? Or may be I'm doing something wrong here? The working \pause is a desirable outcome.
Here are the first and the second PDF pages that come from this example:


\item<2-> The second itemis a better way here – Jun 11 '17 at 18:31\begin{itemize}[<+->]– samcarter_is_at_topanswers.xyz Jun 11 '17 at 18:33\item<2->certainly works, and it'll be at the next slide. But is there a way to make\pausework as well? – Sergei Golovan Jun 11 '17 at 18:34\pauseis a very crude command. In the long run, you will gain more possibilities and fine control if you use alternatives. – samcarter_is_at_topanswers.xyz Jun 11 '17 at 18:36beamer. Even if I write "Don't ever use it", I'd like to demonstrate it first (or may be this footer problem can be used as a live demo of its shortcomings?) – Sergei Golovan Jun 11 '17 at 18:39tcolorboxand\pausedon't seem to be friends, another example: https://tex.stackexchange.com/q/326585/36296 – samcarter_is_at_topanswers.xyz Jun 11 '17 at 18:42after lower=\onslide<1->to thetcblistingenvironment. – Sergei Golovan Jun 11 '17 at 19:04