Comment 31 for bug 743176

Revision history for this message
BDSword (thetruebloodsword) wrote :

Is this bug fixed? It's still there on my 16.04.

I found it's related to the delay timeout here.

https://github.com/GNOME/gnome-screenshot/blob/master/src/screenshot-area-selection.c#L296

Although this is not the code in gnome-utils package, similar code can be found in gnome-utils package. (Try to search the number 200 in the source code.)

One workaround is to set this timeout to a larger number.

Another solution is to change the behavior of area-selection, for example:

1. Cover the whole screen with pink layer.
2. Transparent the user-selected area.
3. Take a screenshot with the selected area.

Here is a simple example to fix this issue:

https://github.com/bdsword/gnome-screenshot/commit/4648caedd1ac621e0663ffd6618b376513e0e0d7

The attachment is the result of above patch.