xpra icon
Bug tracker and wiki

Opened 6 months ago

Last modified 6 months ago

#1542 new defect

FreeBSD, XFCE: Clicking tray icon opens and instantly closes the menu

Reported by: John Smith Owned by: Antoine Martin
Priority: minor Milestone: future
Component: client Version: trunk
Keywords: gui, xfce Cc:

Description

FreeBSD, XFCE: Clicking tray icon opens and instantly closes the menu.
To make the menu stay opened I have to send {LMB Down} event onto the tray icon and thus have the left mouse button held until I hover an inactive menuitem where I can release the click (this way the menu stays open) or release the click over the menuitem I needed to click.
This is a bit annoying.

FreeBSD 11.0-p9, Xfce 4.12_1

Change History (1)

comment:1 Changed 6 months ago by Antoine Martin

Milestone: future

The code that triggers the tray menu can be found here: browser/xpra/trunk/src/xpra/client/ui_client_base.py:

            if button==1 and pressed:
                self.idle_add(self.menu_helper.activate, button, time)
            elif button==3 and not pressed:
                self.idle_add(self.menu_helper.popup, button, time)

I don't think there's much else we can do here, and this works fine in a number of desktop environments.
So I won't be tackling this myself, patches will be accepted though.

Note: See TracTickets for help on using tickets.