Flameshot: No screenshot is taken if the context menu is open

Created on 23 Jan 2019  Â·  1Comment  Â·  Source: flameshot-org/flameshot

Flameshot version
Flameshot v0.6.0
Compiled with Qt 5.11.1

Describe the bug
No screenshot is taken if the any context menu is open.

To Reproduce
Call the context menu and try to take a screenshot

Expected behavior
Take a screenshot

System Information
OS: openSUSE Tumbleweed 20190115
KDE Plasma: 5.14.5
Qt: 5.12.0
KDE Frameworks: 5.53.0
Kernel: 4.20.0-1-default
Architecture: x64
CPU: 4 × Intel® Core™ i3-3220 CPU @ 3.30GHz
RAM: 7,7 GiB

Most helpful comment

I think you should be able to take a screenshot of a context menu using delayed option like this:

  1. run flameshot gui --delay 5000 , this will delay 5 seconds before taking the screenshot
  2. do whatever to open the context menu during those 5 seconds
  3. wait for the flameshot to take the screenshot

As for the normal command without delay, I think this is due to the limitation of X11 protocol, that the context menu grabs X11 session level keyboard events thus prevents other things to open, those other things include screenshot apps, screen lockers, etc.

>All comments

I think you should be able to take a screenshot of a context menu using delayed option like this:

  1. run flameshot gui --delay 5000 , this will delay 5 seconds before taking the screenshot
  2. do whatever to open the context menu during those 5 seconds
  3. wait for the flameshot to take the screenshot

As for the normal command without delay, I think this is due to the limitation of X11 protocol, that the context menu grabs X11 session level keyboard events thus prevents other things to open, those other things include screenshot apps, screen lockers, etc.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thiswillbeyourgithub picture thiswillbeyourgithub  Â·  3Comments

gdude2002 picture gdude2002  Â·  4Comments

bingoIsCoder picture bingoIsCoder  Â·  4Comments

omkarnathsingh picture omkarnathsingh  Â·  4Comments

ronjouch picture ronjouch  Â·  3Comments