# Latex Beamer - white space in navigation after partpage

I am giving a long talk and would like to split the presentation in several parts. The presentation is based on a theme with navigation bars (I like the small circles there), say for instance the Frankfurt theme. Now I notice the following behaviour:

1. As long as there is no \frame{\partpage} included the naviagtion bar ist just fine.
2. Using \frame{\partpage} directly after \part leads to white spaces in the top left corner of navigation bar (see for instance the white space over section name "P2 / Sec 1" in the MWE below). So the navigation bar will be shifted to the right.

Is there a possibility to remove these white spaces?

Here is the MWE:

\documentclass[]{beamer}
\usetheme{Frankfurt}
\begin{document}
\part[Part 1]{Part 1}
\frame{\partpage}
\section[P1 / Sec 1]{Part 1 - Section 1}
Text
\end{frame}
\section[P1 / Sec 2]{Part 1 - Section 2}
Text
\end{frame}
\part[Part 2]{Part 2}
\frame{\partpage}
\section[P2 / Sec 1]{Part 2 - Section 1}
Text
\end{frame}
\section[P2 / Sec 2]{Part 2 - Section 2}
Text
\end{frame}
\end{document}


Here are two screenshots identifying white space. The left screenshot shows the top left corner of a frame of part 1, where everything is just fine - the first circle is aligned perfectly. The reight screenshot shows the top left corner of a frame of part 2 - please notice the circle moved to the right - the aligment of part to is different relative to part 1.

• Welcome to TeX.SE! I cannot reproduce these observations on my up-to-date TeXLive 2018 distribution. Note that this does not mean you are doing something wrong or so, I just want to mention that this issue seems not to exist on all distributions. – marmot Sep 7 '18 at 5:55
• Dear marmot, thank you for the prompt response. I am using miktex 2.9 - I will try this with TeXLive on another computer today. – The_Lucky_Luke Sep 7 '18 at 5:58
• Did you update your distribution(s) recently? – marmot Sep 7 '18 at 5:59
• I just updated miktex but no changes regarding the white space. – The_Lucky_Luke Sep 7 '18 at 6:44
• @The_Lucky_Luke Could you please tell us which version of beamer you are using and which engine you use for compiling? – user36296 Sep 7 '18 at 8:10

I think this boils down to the same issue as https://github.com/josephwright/beamer/issues/456

Workaround based on https://github.com/josephwright/beamer/issues/461

\documentclass[]{beamer}
\usetheme{Frankfurt}

\makeatletter
\makeatletter

\makeatletter
\AtBeginPart{\beamer@tocsectionnumber=0}
\makeatother

\begin{document}

\part{Part 1}

\end{frame}

\section{P1 - S1}
\end{frame}

\part{Part 2}

Shift visible here
\end{frame}

\section{P2 - S1}