wxTaskBarIcon on OSX and two-finger click

Please create a ticket about this at trac.wxwidgets.org with the component set to wxOSX-Cocoa.

···

On 9/10/12 2:33 PM, JA wrote:

Hi I'm working on an app on OSX using Python 2.7 and wxPython/Cocoa 2.9.

I have a wxTaskBarIcon set in the upper right menu bar (like a Menu
Extra). It works exactly as expected, when you click on it or even
Ctrl+click, i.e. the menu drops down. I'm developing on a Macbook with a
Trackpad and when I two-finger click, the menu doesn't open, it simply
selects the icon in the menu bar, nothing else. (The 'two-finger' click
is similar to a Ctrl+click, and if you do it in Finder, you get the same
menu Ctrl+click.)

I've tried Bind() on all the possible EVT_TASKBAR_* events, like
EVT_TASKBAR_CLICK, etc, and none of them seem to make a difference. If I
two-finger click, it simply selects the icon and does not display the
menu. I had thought that this would be sent to wxPython as
EVT_TASKBAR_RIGHT_DOWN or UP.

Is there something obvious I'm missing? Thanks.

--
Robin Dunn
Software Craftsman

I did, thanks. [
http://trac.wxwidgets.org/ticket/14646 ]

···

On Tuesday, September 11, 2012 12:43:50 PM UTC-6, Robin Dunn wrote:

On 9/10/12 2:33 PM, JA wrote:

Hi I’m working on an app on OSX using Python 2.7 and wxPython/Cocoa 2.9.

I have a wxTaskBarIcon set in the upper right menu bar (like a Menu

Extra). It works exactly as expected, when you click on it or even

Ctrl+click, i.e. the menu drops down. I’m developing on a Macbook with a

Trackpad and when I two-finger click, the menu doesn’t open, it simply

selects the icon in the menu bar, nothing else. (The ‘two-finger’ click

is similar to a Ctrl+click, and if you do it in Finder, you get the same

menu Ctrl+click.)

I’ve tried Bind() on all the possible EVT_TASKBAR_* events, like

EVT_TASKBAR_CLICK, etc, and none of them seem to make a difference. If I

two-finger click, it simply selects the icon and does not display the

menu. I had thought that this would be sent to wxPython as

EVT_TASKBAR_RIGHT_DOWN or UP.

Is there something obvious I’m missing? Thanks.

Please create a ticket about this at trac.wxwidgets.org with the
component set to wxOSX-Cocoa.


Robin Dunn

Software Craftsman

http://wxPython.org