[Development] Print Screen does not work with Qt context menus

Laszlo Papp lpapp at kde.org
Thu Oct 20 09:31:53 CEST 2022


On Thu, Oct 20, 2022 at 7:14 AM Thiago Macieira <thiago.macieira at intel.com>
wrote:

> On Wednesday, 19 October 2022 09:15:02 PDT Giuseppe D'Angelo via
> Development
> wrote:
> > Things like Firefox seem to be able to do the "right thing" --
> > desktop-wide shortcuts are triggered even if a menu is open (although to
> > say it all the menu closes, and then the shortcut triggers, so it won't
> > help OP anyway for their specific use case...).
>
> My guess is that they do grab the key, but once they realise that they
> can't
> do anything with it, they dismiss the menu and reinject into the queue.
>

Can Qt or a Qt application do the same? Chrome also made it work.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20221020/252388b7/attachment.htm>


More information about the Development mailing list