Fwd: Qt 5.7+ and Command+Shift shortcuts on Mac : isShiftAsModifierAllowed() involved.

Kevin Funk kfunk at kde.org
Sun Jan 8 10:48:08 UTC 2017


On Saturday, 7 January 2017 23:45:11 CET René J.V. Bertin wrote:
> On Saturday January 07 2017 13:32:22 René J.V. Bertin wrote:
> > After saving the shortcuts to the current scheme and restarting the app:
> > - the shortcut is shown as Command+<
> > - it no longer works
> 
> In fact, that was testing in KDevelop, which has a hardcoded Ctrl+< shortcut
> for the (popup menu) action I was testing, one that isn't defined via
> KXmlGui but directly via QAction::setShortcut(). Changing that to
> Ctrl+Shift+, has the intended effect.
> 
> I probably have to go back to my testing because I realised that the simple
> Qt application I tested with puts the actions under a native menubar. That
> is likely to change my tests because AFAIK those shortcut events for such
> menuitems are handled differently from shortcut events for QActions shown
> in a pop-up menu.
> 
> @Kevin : sorry to drag you into an ongoing discussion. Have you ever used
> the "Locate current document" shortcut (from kdevprojectmanagerview) on
> Mac, and if so did it work and does it still work?

Nope, sorry, never tried.

I'm happy to receive any patches that improve shortcut handling in KDevelop on 
Mac.

Cheers,
Kevin

> 
> R.


-- 
Kevin Funk | kfunk at kde.org | http://kfunk.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170108/048641e6/attachment.sig>


More information about the Kde-frameworks-devel mailing list