Hi,
I’m on OS X with Qt 4.5.

In my application I use several QDockWindowswith QSpinBoxs. The problem is that when these are floating and I click inside a dockwindow, the whole dock window does not recieve any focus unless I click its title bar. So, it is not possible to directly select a spin box, as the cursor won’t show up in there. Clicking the up and down arrows of the spin box works, though.

The problem can also be seen with the dockwidgets example from Qt documentation.
When for example I set the paragraphs widget to floating, then click one of the customers, and then click inside the paragraphs widget, the selected line is greyed out, meaning that actually the dockwidget has no focus. After clicking the title bar, however, the line turns blue, which I think should be the default behaviour.

Anyone else having this problem or knows a fix to it?

Thanks