• Bug#267013: devilspie: Cannot match window_titles with an ampersand in

    From Gergely Nagy@1:229/2 to All on Fri Aug 20 10:50:10 2004
    From: [email protected]

    Package: devilspie
    Version: 0.5-1

    I'm trying to match evolutions "Send & Receive Mail" window, with the
    following snippet:

    <matchers>
    <matcher name="DevilsPieMatcherWindowName">
    <property name="application_name" value="evolution" />
    </matcher>
    <matcher name="DevilsPieMatcherWindowName">
    <property name="window_title" value="Send &amp; Receive Mail" />
    </matcher>
    </matchers>

    (I'm using &amp; since devilspie complained when I tried & in itself)

    However, none of the actions seem to have any effect at all, so I'm
    pretty sure devilspie fails to match the window title (maybe it doesn't
    decode the &amp; or so?).

    --
    Gergely Nagy



    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Gergely Nagy@1:229/2 to All on Fri Aug 20 12:30:12 2004
    From: [email protected]

    However, none of the actions seem to have any effect at all, so I'm
    pretty sure devilspie fails to match the window title (maybe it doesn't decode the &amp; or so?).

    I can't replicate this. The following flurb:


    <flurb>
    <matchers>
    <matcher name="DevilsPieMatcherWindowName">
    <property name="application_name" value="evolution" />
    </matcher>
    <matcher name="DevilsPieMatcherWindowName">
    <property name="window_title" value="Send &amp; Receive Mail" />
    </matcher>
    </matchers>
    <actions>
    <action name="DevilsPieActionDebug"/>
    </actions>
    </flurb>

    Correctly puts the debug information on the console when I press Send & Receive. Can you try this test?

    Yeah, it works.. *wonder* (I somehow managed to miss
    DevilsPieActionDebug in the docs, shame on me)

    I can even set the yoffset/xoffset, but minimizing does not work, not
    even if I try setting wintype to NORMAL..

    Might be a bug in evolution then - anyways, putting the window out of my
    way is a start! :)

    Thanks for the help!
    --
    Gergely Nagy



    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Ross Burton@1:229/2 to Gergely Nagy on Fri Aug 20 12:50:12 2004
    From: [email protected]

    On Fri, 2004-08-20 at 10:15 +0200, Gergely Nagy wrote:
    However, none of the actions seem to have any effect at all, so I'm
    pretty sure devilspie fails to match the window title (maybe it doesn't decode the &amp; or so?).

    I can't replicate this. The following flurb:


    <flurb>
    <matchers>
    <matcher name="DevilsPieMatcherWindowName">
    <property name="application_name" value="evolution" />
    </matcher>
    <matcher name="DevilsPieMatcherWindowName">
    <property name="window_title" value="Send &amp; Receive Mail" />
    </matcher>
    </matchers>
    <actions>
    <action name="DevilsPieActionDebug"/>
    </actions>
    </flurb>

    Correctly puts the debug information on the console when I press Send & Receive. Can you try this test?

    (also note that the properties in the window name matchers are regular expressions)

    Ross
    --
    Ross Burton mail: [email protected]
    jabber: [email protected]
    www: http://www.burtonini.com./
    PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF



    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)