I'm trying to take a screenshot of this program while it is running.
When I press the print screen button, it raises a key down event which makes some elements in the program disappear.
I'm not able to get the right screenshot because the on pressing the button, things are changing on my screen.
I use Ubuntu 12.04.
NOTE: The program I'm trying to take a screenshot of, changes even in response to mouse clicks.