TEMP="$(mktemp -d | tee /dev/stderr)"
cat >"$TEMP/.emacs" <<EOF
(setq custom-file "/dev/null")
(package-initialize)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(package-install 'ctrlf)
EOF
HOME="$TEMP" emacs
M-x ctrlf-mode
C-s emacs
- click with the mouse anywhere in the buffer
Things are now in a --- for lack of a more technical term --- goofy state. You can move around, type words etc, but all of the ctrlf faces are still applied and typing M-x gives the "use minibuffer while in minibuffer" error. Typing C-s again seems to get things back into a reasonable state.
NOTE: I keep falling into this case without using the mouse, but I'm not sure how. This is a small reproduction case for what I hope is the same issue (or at least a similar one).