! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
region capture corrupts
Status:
RESOLVED: FIXED
Product:
Xfce4-screenshooter
Component:
General

Comments

Description steveamigauk 2012-05-06 16:13:31 CEST
Created attachment 4399 
Grab showing problem

Using xfce4-screenshooter 1.8.1 to capture a region introduces corruption into the grab (see attached).

Full screen and active window grabs don't exhibit this behaviour.
Comment 1 Jérôme Guelfucci editbugs 2012-05-06 19:00:18 CEST
Thank you for your bug report. Is is new with Xfce 1.8.1? Does this happen all the time?
Comment 2 steveamigauk 2012-05-06 20:19:59 CEST
Thank you. I don't know about earlier versions. However, this is a constant problem with 1.8.1, reproducable every time. My workaround at the moment is to take a full window/screen grab and crop it in gimp (so non-critical, at least).
Comment 3 steveamigauk 2012-05-08 13:00:44 CEST
Additional information:

This problem only presents itself when using compiz with windows animations. A slight delay, maybe 0.5 seconds, before capturing the image would likely fix it (the grab is capturing the remnants of the animation).
Comment 4 Matias Wilkman 2015-11-30 03:23:51 CET
Created attachment 6542 
fixes the gray overlay with delays >= 1 secs

Hi,
this patch helps a little: as long as the delay is >0, I've not had the problem reappear.
Comment 5 Landry Breuil editbugs 2015-11-30 08:59:07 CET
If you look at the screenshot in the first comment, i think the corruption/symptons are not exactly the same - in that case maybe that's due to compiz.
Comment 6 Matias Wilkman 2015-11-30 14:11:59 CET
Actually, I think the larger patch from https://bugzilla.xfce.org/show_bug.cgi?id=12336 might be necessary to circumvent this issue. Why? Because with delay=0 (the only mode in the current release version for region capture, despite the spinner saying, at minimum, 1), I still get this grayness. But with delay enabled and set to >= 1, I don't.
Comment 7 Landry Breuil editbugs 2015-11-30 21:50:08 CET
*** Bug 11922 has been marked as a duplicate of this bug. ***
Comment 8 Landry Breuil editbugs 2015-11-30 22:04:51 CET
Should be fixed by recent commits from bugs 12336 & 11922. Note that if you try 'active window' mode (in the UI) and set the delay to 0, the root window is captured, not the 'active window after screenshooter window disappears', so i think allowing a 0-delay introduces new bugs..

Doesnt happen with 'xfce4-screenshooter -w -d 0'
Comment 9 Landry Breuil editbugs 2015-11-30 22:06:02 CET
Marking this one as 'worked around', even though you can still get corruptions with a 0-delay...
Comment 10 Jérôme Guelfucci editbugs 2015-12-09 21:40:35 CET
Hello,

The "1 second" minimal delay was a dirty workaround to a series of bugs I was never able to solve which lead to graphical corruptions and even crashes on some setups. X darkness I could never figure out. Thus, If I were you I would keep that way. Up to you though!

Cheers,

Jérôme

Bug #8838

Reported by:
steveamigauk
Reported on: 2012-05-06
Last modified on: 2015-12-09
Duplicates (1):
  • 11922 Dark overlay of "-r" region is captured in quick screenshots

People

Assignee:
Jérôme Guelfucci
CC List:
3 users

Version

Version:
unspecified

Attachments

Grab showing problem (92.59 KB, image/jpeg)
2012-05-06 16:13 CEST , steveamigauk
no flags
fixes the gray overlay with delays >= 1 secs (748 bytes, patch)
2015-11-30 03:23 CET , Matias Wilkman
no flags

Additional information