Some shortcuts not propagating

Roland Hughes roland at logikalsolutions.com
Wed Dec 8 14:05:05 GMT 2021


On 12/8/21 7:25 AM, Matic Kukovec wrote:
> 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.


Bummer.


Was hoping you were running in a VM and Oracle was just allocating one 
set of <Ctrl><Alt> keys to the host.


I'm of no use with Python.

>
> Regards
>
> ------------------------------------------------------------------------
> *From:* Roland Hughes <roland at logikalsolutions.com>
> *Sent:* Wednesday, December 8, 2021 1:03 PM
> *To:* qscintilla at riverbankcomputing.com 
> <qscintilla at riverbankcomputing.com>
> *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, qscintilla-request at riverbankcomputing.com wrote:
> > Send QScintilla mailing list submissions to
> >        qscintilla at riverbankcomputing.com
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > https://www.riverbankcomputing.com/mailman/listinfo/qscintilla 
> <https://www.riverbankcomputing.com/mailman/listinfo/qscintilla>
> > or, via email, send a message with subject or body 'help' to
> >        qscintilla-request at riverbankcomputing.com
> >
> > You can reach the person managing the list at
> >        qscintilla-owner at riverbankcomputing.com
> >
> > 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 <kukovecmatic at hotmail.com>
> > To: QScintilla <qscintilla at riverbankcomputing.com>
> > Subject: Some shortcuts not propagating
> > Message-ID:
> > 
> <VE1PR09MB3280B80E041EB254FE517B0ED76F9 at 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 
> <https://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20211208/2aab20e0/attachment-0001.htm>>
> >
> > ------------------------------
> >
> > Subject: Digest Footer
> >
> > _______________________________________________
> > QScintilla mailing list
> > QScintilla at riverbankcomputing.com
> > https://www.riverbankcomputing.com/mailman/listinfo/qscintilla 
> <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.theminimumyouneedtoknow.com>
> http://www.infiniteexposure.net <http://www.infiniteexposure.net>
> http://www.johnsmith-book.com <http://www.johnsmith-book.com>
> http://www.logikalblog.com <http://www.logikalblog.com>
> http://www.interestingauthors.com/blog 
> <http://www.interestingauthors.com/blog>
>
-- 
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/qscintilla/attachments/20211208/ee3d65b6/attachment-0001.htm>


More information about the QScintilla mailing list