The parent is a window that is painted and immediately made invisible on the
screen, it's hard to notice it. From what I could see it didn't look like it
fit into the layout either.

Is there anything that can be done without changing the source code of
KeePassX?

Best regards, Kent

On Tue, May 24, 2011 at 21:56, Uli Schlachter <[email protected]> wrote:

> On 22.05.2011 13:08, Kent Larsson wrote:
>
>> I use some Java programs, like KeePassX and my Bank ID, and I've
>> noticed that their windows are created on top of the other windows and
>> are not fitting into the layout I am using at the moment.
>>
>> Is there something I can do to force them to conform to the layout I am
>> using?
>>
>> In the case of KeePassX the first window, asking me for a password and
>> optionally a keyfile is displaying the problem described above.
>> However, the next window that opens indeed fits into the layout. I
>> don't know if that information is of any help, but I wrote it just in
>> case. :-)
>>
>
> Right now, Kent Larsson wrote:
> [...]
>
>  I'll show you some KeePassX data. xprop for the first Window of
>> KeePassX asking me for password and/or key:
>>
> [...]
>
>  _NET_WM_STATE(ATOM) = _NET_WM_STATE_MODAL
>> WM_TRANSIENT_FOR(WINDOW): window id # 0x1000097
>>
> [...]
>
>> _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG,
>>
>> _NET_WM_WINDOW_TYPE_NORMAL
>>
> [...]
>
>
>> When closing that Window KeePassX opens the normal usage Window. It
>> behaves as it should and fits into the layout. The xprop for it reads:
>>
> [...]
>
>  _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
>>
>
> The password-asking window is a "dialog" in state "modal". That means that
> it's parent (0x1000097, dunno which window that is) is unusable as long as
> this window is open. As a result, awesome will make the client floating and
> place it above its parent. So what is the parent client here?
>
> The second window has type "modal" and no _NET_WM_STATE, so it acts like a
> normal window. :-)
>
> So, what is the parent and why does this not have the right behavior?
>
> Cheers,
> Uli
>
> --
> - He made himself, me nothing, you nothing out of the dust
> - Er machte sich mir nichts, dir nichts aus dem Staub
>
> --
> To unsubscribe, send mail to [email protected].
>

Reply via email to