View Single Post
Old 12-20-2019, 10:02 AM   #42
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,713
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Mister L View Post
Thank you!! Worked perfectly. And now I know what to do if I have the problem again.
No problem. I'm also looking at how Sigil registers the keyboard events in the Shortcut Manager widget (when setting shortcuts) to see if anything can be done to mitigate the issue. It seems to me that MainWindow is registering the correct key sequence event during normal Sigil use (hence why manually entering the key sequence works), but not when registering the entered key sequence in the Shortcut Manager.

@Kevin: if you're reading this, what do you think about Qt's own warning that the Qt::KeyboardModifiers function of QtKeyEvent we use in KeyboardShorcutsWidget.cpp is "untrustworthy" ?

That section of Sigil is deep, dark, unpenetratable magic to me.

Last edited by DiapDealer; 12-20-2019 at 10:05 AM.
DiapDealer is offline   Reply With Quote