Why is there a space ' ' missing in the title, although I wrote \frametitle{\insertsection - \insertsubsection} with the equivalent space.
Here is my MWE:
\documentclass{beamer}
\usetheme{Boadilla}
\begin{document}
\section{Section}
\subsection{Subsection}
\begin{frame}
\frametitle{\insertsection - \insertsubsection}
Frame
\end{frame}
\end{document}

\⎵or~. – Ingmar Nov 19 '21 at 15:19--or---instead of just one-. – Jasper Habicht Nov 19 '21 at 16:04