I have recently updated my Ubuntu from 23.04 to 23.10. I was trying to take a screenshot using the Flameshot software (which has been my default screenshot software for a year) while a top panel item was open but it is not taking any screenshots. By "top panel item" I mean the calendar and notification section and the quick menu in the top right corner. There is no issue with taking screenshots with all that closed.
I found none of the configurations and settings that might help the Flameshot software. The native screenshot application in Ubuntu works fine but I need to use some marking and selection tools that are not available.
This is expected behavior in all software in all Operating Systems. When you have a menu open, the keys you press will be sent to that application. if you want to take a screenshot of a window you have one option: set timer. For setting timer you have multiple ways:
flameshot launcher
and set the timerflameshot gui --delay 3000
for 3 seconds delaysleep 3s && flameshot gui
You can read more about our CLI (CommandLine Interface) here.
What probably will work is to take a screenshot with some delay. Instruct Flameshot to take a screenshot after 5 seconds. Within that five seconds, open the item on your top bar (e.g. calender). Wait until Flameshot has taken the screenshot.
You also could take a screenshot with the native software, then use Flameshot or another graphical application to edit the screenshot. The native tool places your screenshots in the
~/Pictures/Screenshots
directory in.png
format.