This code does not work when no other windows are open in current desktop (or all other windows are minimized) and the dialog is called from a keyboard shortcut or ROX panel. However it works when the mouse pointer is over the JWM tray. It also works on such otherwise empty desktop when any one of the conditions
- action signal="focus-out-event"
is removed. It also works when height is set to a smaller size or window-position set to 1
On desktops where at least one other window exists everything works as expected. Any idea how to prevent this bug?