Hi all! A few months ago I put together some experimental patches to the shell, gsd, and the gnome-screenshot tool to move up the timing of the “flash” visual effect and “shutter click” sound effect to before PNG compression, which greatly improves perception of reaction time of screenshots with the PrintScreen key on slower machines with high resolution screens.
I’m hoping to get this back in motion during the new development cycle, but want to first double-check if there’s anything else that might be using the Shell’s screenshot service that might need to be updated, and how important it is to maintain backwards/forwards compatibility with the flash or sound effect behavior.
Ideally, I think the service should manage the ‘flash’ and ‘click’ effects, but these need to be optional in case contacted by an old desktop client that does its own sound effect… I think. Or, I can have the service simply add a signal for when the capture occurs, and let the clients manage their sound effects based on that… but that could lead to getting out of sync with mismatched clients (new shell shows a flash at beginning of compression, then old gnome-screenshot runs a click at the end, or vice versa). I’m worried that mismatched clients are more likely in the Flatpak world where people can easily test new applications on an old shell/host platform…
Anyone have recommendations or can point me in a good direction? Thanks!