[openbox] What tools to use while figuring out a problem with modal dialogs ?

Rafał Mużyło galtgendo at gmail.com
Sat Dec 19 16:12:41 EST 2015


This will be about a problem, that's an interaction between wine and
openbox, but there are strong hints, that's wine at fault here.

While it's not quite common, still with many Windows apps run with wine,
while wine is letting the window manager manage the windows, modal
dialogs aren't getting opened at the correct layer.

That is a modal dialog, that's supposed to be opened *on top* of the
window is opened below it and sometimes in a way that somehow prevents it
from being risen with Alt-Tab.

There's an old bug about it in wine's bugzilla (WM_TRANSIENT_FOR (#37052)
and another one (#26693)), but it's not seeing any progress, as a comment
or two there suggest that by ICCCM, wine is doing the wrong thing.

So my questions are:
- what tools would be most covenient to use to figure out what's wine
  doing ?
- what is wine supposed to be doing (those bugs probably describe the
  problem better than I do) ?
- does anyone see a place in wine's x11 code where this is going wrong
  and has an idea of a fix ?



More information about the openbox mailing list