[Branched from the "Decreasing seams in scaled windows" thread]
> There is a further problem with current Ubuntu+Wayland in that the windows for autocompletion and calltips fail as they do not have an owning window as their transientParent.
It turns out that setTransientParent can be called inside the showEvent of a QWidget and that makes the popup appear successfully.
Please report any bugs with this change.
Neil