[Unity-api-bugs] [Bug 1380702] Re: No keyboards shortcuts in QT apps

2016-11-02 Thread Robert Orzanna
I can share an example with you, if you want. In Ghostwriter [1] I press Ctrl+o to open a file but the file chooser window is not being shown on Ubuntu 16.10. [1] https://github.com/wereturtle/ghostwriter -- You received this bug notification because you are a member of Unity API bugs, which

[Unity-api-bugs] [Bug 1380702] Re: No keyboards shortcuts in QT apps

2016-11-02 Thread Dmitry Shachnev
Albert: that's because in Konsole (and other applications using KXmlGui) all actions are attached to the main window. To be more precise, KXMLGUIClient::beginXMLPlug calls actionCollection()->addAssociatedWidget(w), and addAssociatedWidget attaches all actions in the collection to the passed

[Unity-api-bugs] [Bug 1380702] Re: No keyboards shortcuts in QT apps

2016-11-02 Thread erio
Open Xenial 16.04 desktop (with Unity) , install pyqt5 using apt (sudo apt install python3-pyqt5). Make a program that has a menu bar, the shortcuts are not shown by the side and they don't work. Uninstall python3-pyqt5, apt install python3-pip. Use pip3 install pyqt5, pyqt5 will install and

Re: [Unity-api-bugs] [Bug 1380702] Re: No keyboards shortcuts in QT apps

2016-11-02 Thread Robert Orzanna
Erio, so this is a workaround? On Wed, Nov 2, 2016 at 11:39 AM, erio <1380...@bugs.launchpad.net> wrote: > Open Xenial 16.04 desktop (with Unity) , install pyqt5 using apt (sudo > apt install python3-pyqt5). Make a program that has a menu bar, the > shortcuts are not shown by the side and they

[Unity-api-bugs] [Bug 1380702] Re: No keyboards shortcuts in QT apps

2016-11-02 Thread Dmitry Shachnev
Albert: there are no shortcuts when a global menu is used (i.e. Unity or the brand new Plasma global menu). There *are* shortcuts for actions exposed on a toolbar (or attached to any other widget), so remove the toolbars before testing. I have just written a patch for this: https://codereview.qt-

[Unity-api-bugs] [Bug 1380702] Re: No keyboards shortcuts in QT apps

2016-11-02 Thread Albert Astals Cid
Using konsole, no toolbar, press Ctrl+Shift+N and i get a new window -- You received this bug notification because you are a member of Unity API bugs, which is subscribed to sni-qt. https://bugs.launchpad.net/bugs/1380702 Title: No keyboards shortcuts in QT apps Status in appmenu-qt5: In