At first, I don't know if it's a bug in Xfce or in Qt. This bug is a bit related
The problem is that if you opened a utility window (undocked sidbar etc. from
Qt), the focus always falls back to the utility and not to the main window after
closing a dialog.
Steps to Reproduce:
1. Open Qt assistant ("assistant")
2. Double click on the sidbar dock window on the left
3. Focus the main window.
4. Edit -> Settings.
"Sidbar" window is focused
Main window should be focused
The window sets _NET_WM_WINDOW_TYPE_UTILITY, maybe that field can be used for
Sorry, I'm not seeing that here, the main window is focused following the
sequence you described...
Please try a recent version (such as
http://www.xfce.org/~olivier/preview/xfwm4-4.2.1.CVS200504102238.tar.gz for example)
Humm, I'm seeing some odd behaviours there indeed...
Sorry, I didn't have time to test the lastest version. I'll do it on the weekend.
That should be fixed in SVN now, you can get a snapshot here:
Works here, thanks! You can close the bug.
As per the reporter's request: resolving as FIXED.