Keyboard focus is not the same as window activation. Some platforms treat it as one, others don't. Qt follows the platform behaviour. Could you describe what exactly the problem is? Losing focus upon click? You can do that with an event filter on the application object...
Bookmarks