xfce4-screenshooter-plugin-1.3.9.2 This occurs with both xfce4-screenshooter and the panel plugin. Delay is set to 4 seconds. The active window at the time that the panel button/OK putton is pressed appears in GIMP or in the SaveAs dialog (depending on the option chosen) - not the window that is active after the 4-second delay. If this initially active window is hidden or partly hidden during the 4-second delay, then the image is corrupted or partly corrupted.
What do you mean by corrupted or partially corrupted ? Could you attach such a screenshot ? For me, even if I drag another window on top of the previous active window, the screenshot is taken correctly. Regarding this issue, my idea was to grab the window which is active when the user presses the button. This enables the user to open menus, to act in any way on this window, and to have his changes grabbed.
Created attachment 1976 Corrupted screenshot This is generated by 'calculator' being fully visible and active at the time that the snapshot button is pressed, and then half-covered by another window before the delay period is finished.
Jerome, The delay is required for the snapshot of the active window. There are a number of situations where moving the mouse and clicking on the snapshot button changes the appearance of the active window. The delay in the program is to give you time to get the active window appearance correct before the snapshot is taken. I will send you an example to illustrate.
Created attachment 1977 Screenshot of Firefox File menu This shows the Firefox File menu with 'Print' selected. It is not possible to produce this screenshot without a delay mechanism.
Ok, I see what you mean. I'll work on fixing this, but not in 1.4.0.
Should be fixed in trunk. I still grab the window that is active before the delay, but the screenshot is not corrupted anymore because I grab it on the root window now. Grabbing the window that is active after the delay is more complicated because it gives bad results when the active widget is a menu (for example).