when I use the placeins package and use the \FloatBarrier, there is a strange (for me) behavior when a float moves to the next page.
Look at this example:
\documentclass[
12pt,
pdftex,
a4paper,
twoside,
openright,
parskip=half,
]{scrreprt}
\usepackage{showframe}
\usepackage{blindtext}
\usepackage{placeins}
\begin{document}
\section{First chapter}
\Blindtext[1][3]
\begin{figure}[htbp]
\rule{14cm}{8cm}
\caption{Here is some caption.}
\end{figure}
Just some text to force the page break to occure. \\
Just some text to force the page break to occure. \\
\Blindtext[1][1]
\FloatBarrier
\section{Second section}
\Blindtext[2][1]
\end{document}
There is no vertical correction (\flushbottom} at the end of page 1. If the \FloatBarrier is removed, the layout is fine.
I know in this case, \FloatBarrier is not needed, but I have some cases where I need it and this looks strange. Of course I could replace the \FloatBarrier with \pagebreak in this cases, but is this the expected behaviour?
\clearpage
. You could add\vspace{0pt plus -1fil}
to eat the extra space.\FloatBarrierFlush
which uses \pagebreak instead of the \newpage and test if it works ...