When you open a right-click menu in Xfce, for example in Thunar or anywhere else in Xfce, then hotkeys no longer work (while the right-click menu is open). It causes issues when wanting to take a screenshot using a hotkey when a right-click menu is open. Almost any type of right-click menu in Xfce seems to cause this behavior.
Oh, that's absolutely normal and inherent to X11 design, menu are popup window (aka override redirect windows) and have an active grab on the keyboard, therefore the apps that manage keyboard shortcuts (being either xfce-settigns or xfwm4) cannot receive the key events. Not something we can fix at the level of xfce, at least as long as it's using X11.
Would it be possible for X11 to fix this issue upstream?
(In reply to Heart Of A Lion from comment #2) > Would it be possible for X11 to fix this issue upstream? No, it's inherent to X11 and its input device grabbing mechanism, basically, any X11 desktops have the same issue. And it gets even worse than keyboard shortcut, for example, when a menu is opened, the screen-locker cannot grab the keyboard either, means that if you leave your computer unattended with a menu opened, the screen lock won't be able to activate. Wayland doesn't have that problem, but it's an entirely different protocol from X (going off topic for bugzilla here, which is not intended for such general discussion, so I'll stop there) For your specific problem with screenshots, I would advise to use delayed snapshots, either from the command line (something like sleep 5; screenshot) or else The Gimp has that feature as well (and probably others).