Forum > QT
Problem with hotkey Ctrl+/ on Qt5
(1/1)
AlexTP:
If I call in CudaText console command
dlg_hotkey('')
and press in appeared dlg the hotkey Ctrl+/, I get
* on GTK2 version: Ctrl+/ as result of ShortcutToText()
* on Qt5 version: Ctrl+NumDiv as result of ShortcutToText()
I guess I may make a demo app to show this.
AlexTP:
I made a primitive demo.
Run the app.
Code sets TMenuItem.Shortcut to TextToShortcut('Ctrl+/') but Menu-item shows 'Ctrl+2' instead!
Bug?
App reacts to Ctrl+2 then (it shows new form caption)! App don't react to Ctrl+/ .
zeljko:
Open issue, but please attach example project without 3rd party components.
AlexTP:
Yes, sir. Opened: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/40589
Navigation
[0] Message Index