I have the "Capture Rectangular Region" action bound to the PrtScr button. If it is pressed several times, then a corresponding amount of Spectacle instances is invoked, which is very confusing because the instruction message does not disappear after being followed. If it is pressed and held (a cat on the keyboard reproduces this nicely) then the system rapidly becomes completely unusable because of memory exhaustion. If it is pressed twice in very rapid succession (this is somewhat hard to reproduce) then sometimes Spectacle locks up. All of these issues would be solved by refusing to reenter this action if it's already in progress.
This is exactly why I'd initially coded Spectacle to never launch a new instance when invoked via the keyboard shortcuts, but at some point after I gave up maintainership this was changed. This, and the fact that you can abuse the PrintScr button to prank someone by holding it down and essentially fork-bombing the computer. I'm all for reverting it back to the old behaviour, but I'd like to get @ngraham's opinion on this.
Hi, I did the printscreen to open a new instance change. However this was after this bug report.
I think this should probably be configurable behaviour that defaults to "use the current instance".
It actually is. The default is to take a new screenshot.
Oh, so it is! Let's close this as fixed then.
How exactly is this fixed? I can still reproduce the problem and there is no configuration setting.
Make sure you have the latest version of Spectacle, then click Configure in the main window. The first option on the first page should be what you need to adjust. Note that this only works if you use DBus invocation for your custom khotkeys configuration.