Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#1851 closed defect (fixed)

Global keybindings with Ctrl or Shift doesn't work in Plugins

Reported by: mythtv@… Owned by: Isaac Richards
Priority: minor Milestone: 0.20
Component: mythtv Version: 0.19
Severity: medium Keywords:
Cc: Ticket locked: no

Description

libs/libmyth/mythdialogs.cpp line 1077 in function void MythDialog::keyPressEvent( QKeyEvent *e )

if (e->state() != 0)
         return;

prevents that it is not possible to use Ctrl or Shift Global keybindings from the plugins.

I have a remote control that maps the exit key to Ctrl-Shift-H and I can't exit from any plugin. I think something like the following is more usefully or break this code other functions?

if ((e->state() != 0) && !((e->state() & Qt::ShiftButton) || (e->state() & Qt::ControlButton)))
         return;

Change History (2)

comment:1 Changed 14 years ago by Isaac Richards

Resolution: fixed
Status: newclosed

(In [10102]) Fix some brokenness with modifier keys (and jumppoints bound to modifier keys) in plugins.

Fixes #1909 and #1851.

comment:2 Changed 13 years ago by (none)

Milestone: 0.19.1

Milestone 0.19.1 deleted

Note: See TracTickets for help on using tickets.