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

Ilya Fedin fedin-ilja2010 at ya.ru
Thu Oct 20 17:18:30 CEST 2022


On Thu, 20 Oct 2022 08:03:25 -0700
Thiago Macieira <thiago.macieira at intel.com> wrote:

> On Thursday, 20 October 2022 00:48:33 PDT Ilya Fedin wrote:
> > I just tried to press PrtSc while having an open context menu in
> > Firefox and it's closed as soon as I pressed the key, Spectacle
> > created a screenshot without the menu  
> 
> You can test other global shortcuts too, like Alt+Tab or Alt+F[123].
> The menus in both Firefox and in Chrome, but not in Emacs or
> pavucontrol, visibly disappear when you press the Tab or the function
> key. Emacs behaves like KMail: nothing happens.
> 
> Those are all Gtk3 applications.
> 

Chrome is like Qt: uses gtk to get theming/styling information, but
draws everything using its own native backends.

And it seems I can reproduce: Chrome, unlike Firefox, allows to
screenshot the menu.


More information about the Development mailing list