PR #7772 is not enough to fix the issue with QCompleter.
Steps to reproduce the issue in current build: open Debug window, go to Console, close it, open it again, start writing some rpc command and try to pick it from the list using arrow keys, hit Enter. Note that edit field is not being cleared as it should be, works on second try only (i.e. same as before).
Using event filter to forward messages from autoCompleter popup to lineEdit instead of using connect method solves the issue.