Re: [wmii] gnucash disappearing

From: Ross Palmer Mohn <rpmohn_AT_waxandwane.org>
Date: Wed, 07 Jun 2006 12:57:03 -0400

On Wed, 2006-06-07 at 11:34 +0200, Anselm R. Garbe wrote:

> On Tue, Jun 06, 2006 at 04:37:22PM -0400, Ross Palmer Mohn wrote:
> > Here's what I get: '2562 17 1280 1007'. Certainly looks as if it's
> > offscreen!
>
> Yes, it is offscreen for some reason. I'll have a look at this
> issue asap.
>
> > My rule for gnucash is: '/Gnu[Cc]ash:.*/ -> gc', but I'd like to force
> > it to be in the managed layer. How?
>
> There is no special rule, because apps which don't have a ~ rule
> or set the WM_TRANSIENT_FOR hint are managed, except the
> floating layer has been focused.
>
> Can you check with xprop(1) if the app has the TRANSIENT_FOR
> hint set?

Here's the output of xprop on the main gnucash window. I don't see
anything about TRANSIENT, but I'm not exactly sure how to read this. I
wonder if it has to do with whether or not the transient Scheduled
Transactions window opens first or not?

$ xprop
XdndAware(ATOM) = ARC
_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5,
0xb7, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xbc, 0xbf, 0x10, 0x0, 0x0, 0x0
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
WM_CLASS(STRING) = "GnuCash", "GnuCash"
WM_LOCALE_NAME(STRING) = "en_US"
WM_CLIENT_MACHINE(STRING) = "porcupine"
WM_ICON_NAME(STRING) = "Accounts - GnuCash
(/home/rpmohn/Financials/GnuCash/FoodenMohn.xac)"
WM_NAME(STRING) = "Accounts - GnuCash
(/home/rpmohn/Financials/GnuCash/FoodenMohn.xac)"
WM_CLIENT_LEADER(WINDOW): window id # 0xa00001
WM_HINTS(WM_HINTS):
                Client accepts input or input focus: True
                Initial state is Normal State.
                bitmap id # to use for icon: 0xa00007
                bitmap id # of mask for icon: 0xa00009
                window id # of group leader: 0xa00001
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                program specified location: 0, 0
WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS

Also, this time it happened to appear within the monitor coordinates:

$ wmiir read /view/0/sel/geom
302 256 1280 1007

-RPM
Received on Wed Jun 07 2006 - 18:57:16 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:08:31 UTC