Opened 2 years ago

Last modified 2 years ago

#3078 new bug

OSX menubar and accelerator keys broken

Reported by: Cas Owned by:
Priority: minor Milestone: 2.x
Component: GTK UI Version: develop
Keywords: Cc:

Description (last modified by Cas)

The switch to gtkbuilder has broken menubar_osx from setting the accelerators from ctrl to command key on OSX.

For now I have commented out the remove line to fix the following error and at least show the OSX menu items.

deluge/ui/gtkui/menubar_osx.py:19: GtkWarning: gtkwidget.c:4560: no accelerator (111,4) installed in accel group (0x7ff258e58240) for GtkImageMenuItem (0x7ff258e6f8f0)
  item.remove_accelerator(group, ord(skey), smod)
deluge/ui/gtkui/menubar_osx.py:19: GtkWarning: gtkwidget.c:4560: no accelerator (110,4) installed in accel group (0x7ff258e58240) for GtkImageMenuItem (0x7ff258e6f9c0)
  item.remove_accelerator(group, ord(skey), smod)
deluge/ui/gtkui/menubar_osx.py:19: GtkWarning: gtkwidget.c:4560: no accelerator (113,5) installed in accel group (0x7ff258e58240) for GtkImageMenuItem (0x7ff258e6fa90)
  item.remove_accelerator(group, ord(skey), smod)
deluge/ui/gtkui/menubar_osx.py:19: GtkWarning: gtkwidget.c:4560: no accelerator (112,4) installed in accel group (0x7ff258e58240) for GtkImageMenuItem (0x7ff258e6fc30)
  item.remove_accelerator(group, ord(skey), smod)
deluge/ui/gtkui/menubar_osx.py:19: GtkWarning: gtkwidget.c:4560: no accelerator (109,4) installed in accel group (0x7ff258e58240) for GtkImageMenuItem (0x7ff258e6fd00)
  item.remove_accelerator(group, ord(skey), smod)

Change History (1)

comment:1 Changed 2 years ago by Cas

  • Description modified (diff)
  • Summary changed from OSX specific accelerator keys not working to OSX menubar and accelerator keys broken
Note: See TracTickets for help on using tickets.