At first, I don't know if it's a bug in Xfce or in Qt. This bug is a bit related to (#228). 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. Reproducible: Always 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. 5. Cancel Actual Results: "Sidbar" window is focused Expected Results: Main window should be focused The window sets _NET_WM_WINDOW_TYPE_UTILITY, maybe that field can be used for determination.
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: http://www.xfce.org/~olivier/preview/xfwm4-4.2.1.CVS200504142223.tar.gz
Works here, thanks! You can close the bug.
As per the reporter's request: resolving as FIXED.