BAMF gets confused with StartupWMClass and multiple WM_CLASSes

Bug #1002046 reported by Jjed on 2012-05-20
This bug affects 2 people
Affects Status Importance Assigned to Milestone

Bug Description

Given a window with multiple WM_CLASSes, .desktop launchers will often trigger a notify event by binary match even if their StartupWMClass hint is not matched.

To reproduce, put the following .desktop launchers in ~/.local/share/applications:

    [Desktop Entry]
    Exec=gnome-terminal --disable-factory --class=FooWindow

    [Desktop Entry]
    Exec=gnome-terminal --disable-factory --class=BarWindow

Pin both to the Unity launcher, and click Foo to launch.

The desired effect is that only Foo launcher should pulsate. Currently, both Foo and Bar do.

Jjed (jjed) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers