Also tried on Linux (Lubuntu x64), same behaviour. ________________________________ From: Matic Kukovec <[email protected]> Sent: Wednesday, December 8, 2021 2:25 PM To: Roland Hughes <[email protected]> Cc: QScintilla <[email protected]> Subject: Some shortcuts not propagating
Hi Roland, 1.) Same behavior with both control keys? Yes 2.) Are you running in a VM? No, straight Windows 10 x64, Python3.8.4 x64, PyQt5.15.4, QScintilla2.13.0. Regards ________________________________ From: Roland Hughes <[email protected]> Sent: Wednesday, December 8, 2021 1:03 PM To: [email protected] <[email protected]> Subject: Re: QScintilla Digest, Vol 161, Issue 3 Stupid question. Okay, more than one stupid question. 1.) Same behavior with both control keys? 2.) Are you running in a VM? On 12/8/21 6:00 AM, [email protected] wrote: > Send QScintilla mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://www.riverbankcomputing.com/mailman/listinfo/qscintilla > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of QScintilla digest..." > > > Today's Topics: > > 1. Some shortcuts not propagating (Matic Kukovec) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 8 Dec 2021 10:08:22 +0000 > From: Matic Kukovec <[email protected]> > To: QScintilla <[email protected]> > Subject: Some shortcuts not propagating > Message-ID: > > <ve1pr09mb3280b80e041eb254fe517b0ed7...@ve1pr09mb3280.eurprd09.prod.outlook.com> > > Content-Type: text/plain; charset="iso-8859-1" > > Hi guys, > > I am trying to understand why shortcuts "Ctrl+/", "Ctrl+-" and "Ctrl++" do > not get propagated > from the QSciScintilla widget to the QMainWindow, which has these shortcuts > defined. > > Example: > QMainWindow has a QShortcut "Ctrl+/" defined and bound to a simple > 'print("HERE")' function. > The QMainWindow also has a QSciScintilla widget with a few other widgets on > it. > When activating the shortcut when focus is in the QSciScintilla widget, the > shortcut does NOT work > (The QScintilla widget does NOT have that key shortcut bound to anything), > the QScintilla editor > just adds '/' characters. But when focusing with the mouse on any other > widget, the shortcut works! > Also, if I change the shortcut to "Ctrl+*" for example, then it works, even > inside the QSciScintilla widget! > > Can anyone explain this behaviour? > > Thanks, > Matic > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > <https://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20211208/2aab20e0/attachment-0001.htm> > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > QScintilla mailing list > [email protected] > https://www.riverbankcomputing.com/mailman/listinfo/qscintilla > > > ------------------------------ > > End of QScintilla Digest, Vol 161, Issue 3 > ****************************************** -- Roland Hughes, President Logikal Solutions (630)-205-1593 http://www.theminimumyouneedtoknow.com http://www.infiniteexposure.net http://www.johnsmith-book.com http://www.logikalblog.com http://www.interestingauthors.com/blog
