Great work, guys! Parallel to that, I went through the diffs in src/gui/kernel between those Qt 5.5 and 5.6 sources. They shows a lot of differences, but nothing obvious that seems to be related to the window focus.