[PyQt] Shortcuts are broken. Qt or PyQts fault?
Phil Thompson
phil at riverbankcomputing.com
Fri May 3 13:41:23 BST 2019
On 03/05/2019 13:20, Baz Walter wrote:
> On 03/05/2019 09:02, Phil Thompson wrote:
>> On 02/05/2019 22:29, hgn wrote:
>>>> Not without a short, complete test script that demonstrates the
>>>> problem.
>>>>
>>>> Phil
>>>
>>> I have attached a python file that will enable you to see the
>>> problem.
>>> Run it from the terminal.
>>> Press Ctrlr+1 to see "Foo Bar", press Numpad 1 (with numpad LED
>>> active) to see "Hello World".
>>>
>>> Tested with Python 3.7.3 and 5.12.1
>>
>> Works fine for me. Qt v5.12.3.
>>
>> I'm on a Mac so it's Command-1 and the numpad is permanently active.
>>
>> Phil
>
> What happens when you press Numpad-1 alone (i.e. *without* the Command
> modifier)? This should trigger numpadAction and print "Hello World"
> instead of "Foo Bar".
I was pressing Numpad-1 without the Command modifier...
Command-1: Foo Bar
Numpad-1: Hello World
Command-Numpad-1: Foo Bar
Phil
More information about the PyQt
mailing list