Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


#327 lxpanel double click on a launcher icon opens 3 times

lxpanel (236)

When I double-click (i.e. click twice in a rapid succession) on an icon in the launcher area, it opens the application 3 times instead of 2 times. Also, clicking 3 times in a rapid succession opens 5 instances of the application being launched.

For example, I want to copy some files and I want to open two instances of a file manager so I click it twice in a rapid succession. However, now I have opened 3 windows instead of 2. Same goes for any other launcher icon.

While this is not a big problem, it is a strange bug.

I'm using LXPanel 0.5.6 on a Debian squeeze (x86_64) machine, custom X session setup. Here's the script I use to startup my X session from GDM (although I doubt it has anything to do with it):
compiz --replace &> /dev/null &
thunar --daemon &> /dev/null &
lxpanel &> /dev/null &
konki &> /dev/null &
hsetroot -clear -full /home/natirips/bin/sys/wallpaper.jpg -fill /home/natirips/bin/sys/wallpaper2.jpg


  • Natirips

    • priority: 5 --> 3
  • Natirips

    I see no way to attach it directly. However:

  • Natirips

    --- launchbar.c 2010-12-24 18:09:01.349069238 +0100
    +++ launchbar.c 2011-02-17 17:39:17.865524765 +0100
    @@ -140,6 +140,10 @@
    if (plugin_button_press_event(widget, event, b->plugin))
    return TRUE;

    + /* Doubleclick generates 3 events of which only the regular click events should be considered */
    + if (event->type != 4) /*GKD_BUTTON_PRESS*/
    + return TRUE;
    if (event->button == 1) /* left button */
    if (b->desktop_id == NULL) /* The bootstrap button */

  • alister.hood

    Is there any chance this patch could be applied?

    • status: open --> closed-fixed
    • assigned_to: Lonely Stranger
    • Group: --> -
  • I believe this issue is completely fixed in latest version of LXPanel. Try it, please, and let us know if something is still wrong. Thank you very much.

  • Natirips

    I could not install the latest version of lxpanel on my system because lxpanel depends on libfm which depends on libetpan which (recursively) depends on libfm. But that's another problem altogether.

    Anyway, for a test I just installed Debian testing with full LXDE (including lxpanel 0.7.0) onto a virtual machine (using VirtualBox). The bug seems to be away for double click (opens an application twice as expected).

    However, when I do double click a launcher the panel itself flashes away (becomes invisible) for a short period of time preventing me from opening 3 or more instances of an application in rapid succession.

    Though most users (including me) probably won't find this problematic.

    P.S.: Sorry for the late reply.