Expected behaviour: - press shift + print - select area for screenshot - get a screenshot Actual behaviour: - press shift + print - Cursor flickers once - nothing happens - .xsession-errors shows: ** (xfce4-screenshooter:19839): WARNING **: 11:24:59.578: Failed to grab seat System: ~> lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 19.04 Release: 19.04 Codename: disco ~> uname -a Linux lb01005 5.0.0-13-generic #14-Ubuntu SMP Mon Apr 15 14:59:14 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux ~> dpkg -l |grep xfce4-screenshooter ii xfce4-screenshooter 1.9.5-1 amd64 screenshots utility for Xfce
Additional note: pressing shift + print multiple times triggers sometimes the screen capture, but the chances seem quite low.
Created attachment 8451 increase-delay.diff Can you try with the attached patch? It looks like 100ms is not enough for xfsettings to release the keyboard. Let me know if increasing that solves the problem for you, if so I'm considering to retry the grab about 5 times with a 100ms delay between each attempt.
Hi Andre, I couldn't trigger the error any more after applying the patch. Seems to work fine with that patch.
Andre Miranda referenced this bugreport in commit ffac21adbcb9d6dc75bb253fd388ae182ac5ccee Try to grab seat more than once (Bug #15320) https://git.xfce.org/apps/xfce4-screenshooter/commit?id=ffac21adbcb9d6dc75bb253fd388ae182ac5ccee
Hopefully fixed with the commit above, please reopen if not. Thanks for reporting.