Qt 5.7+ and Command+Shift shortcuts on Mac

Samuel Gaist samuel.gaist at edeltech.ch
Sun Jan 8 22:47:26 UTC 2017


> On 8 Jan 2017, at 19:09, René J.V. Bertin <rjvbertin at gmail.com> wrote:
> 
> So...
> 
> It seems we are indeed looking at a Qt regression.
> 
> https://github.com/RJVB/shortcut-test-qt5
> 
> 
> That's an adapted version of Qt's menus example which adds a shortcut test action with a configurable shortcut string and commandline options to add it to the menubar and/or the context menu, plus an option NOT to use the native menubar.
> 
> I cannot get shortcuts like Ctrl+! but also Meta+! (resp. Command+! and Ctrl+! on Mac) to work unless the action is a menuitem in the native menubar.
> 
> That's with Qt 5.7.1; with Qt 5.6.2 they work as expected.
> 
> Writing them as Ctrl+Shift+1 or Meta+Shift+1 makes them work, but that's not really a nice solution...
> 
> Is there anyone who can try the above example with Qt 5.7.1 or newer, possibly compare it to Qt 5.6?
> 
> Thanks!
> 
> 


Hi,

https://bugreports.qt.io/browse/QTBUG-57990 is about a similar problem for Ubuntu.

Coming from this https://forum.qt.io/topic/74872/ forum thread.

5.7.0 works correctly for him but not 5.7.1

Regards
Samuel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170108/182c74fa/attachment.sig>


More information about the Kde-frameworks-devel mailing list