After upgrading to kernel 5.0, capturing a region of the screen leaves everything gray and we can not see what will be selected - but if you draw an area on the screen, the capture is performed normally. The problem is occurring on two separate machines, a new machine (i5 8th gen) and an old machine (i5 1st gen).
Which distribution are you using? Which screenshooter version? Try to toggle display compositing on/off (at Window Manager Tweaks -> Compositor), does it make any difference?
I'm using Xubuntu 18.10, xfce4-screenshooter 1.9.3.
(In reply to machado from comment #2) > I'm using Xubuntu 18.10, xfce4-screenshooter 1.9.3. Did you try toggling compositing? It looks like a video driver issue.
When I disable compositing the screenshooter normally works ...
Unfortunately I can't reproduce this issue on any computer I have, it has worked without any issue with intel, nouveau and even nvidia drivers on Arch Linux and Xubuntu. Which video driver are you using (grep Loading /var/log/Xorg.0.log)? If nvidia, then try nouveau. Can you try another video driver or another distribution?
The driver used here is the onboard standard of the core i5 8th gen. See below the grep result: [ 8.622] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 8.674] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 8.675] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so [ 8.676] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so [ 8.710] (II) Loading sub module "fbdevhw" [ 8.710] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 8.736] (II) Loading sub module "glamoregl" [ 8.736] (II) Loading /usr/lib/xorg/modules/libglamoregl.so [ 9.050] (II) Loading sub module "fb" [ 9.050] (II) Loading /usr/lib/xorg/modules/libfb.so [ 9.324] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so [ 9.673] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
Unfortunately I still can't reproduce. My CPU is an i5-4210U running Arch Linux (kernel 5.0.7), I removed the nouveau driver and the grep output shows that I'm using similar drivers: [ 8.311] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 8.322] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 8.324] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so [ 8.336] (II) Loading sub module "glamoregl" [ 8.336] (II) Loading /usr/lib/xorg/modules/libglamoregl.so [ 8.411] (II) Loading sub module "fb" [ 8.412] (II) Loading /usr/lib/xorg/modules/libfb.so [ 8.413] (II) Loading sub module "glamoregl" [ 8.413] (II) Loading /usr/lib/xorg/modules/libglamoregl.so [ 8.863] (II) Loading sub module "fb" [ 8.863] (II) Loading /usr/lib/xorg/modules/libfb.so [ 9.090] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so I also switched back to xfce4-screenshooter 1.9.3, but region capture works fine with compositing enabled. If you are able, please try 1.9.5 from this PPA: https://launchpad.net/~xubuntu-dev/+archive/ubuntu/staging
Hi, I finally isolated the problem! The problem is the XFCE theme I was using. When I switched, the problem was over. Sorry for the inconvenience. Hugs.