GNOME Bugzilla – Bug 699844
No throttling on screenshot repeat rate
Last modified: 2015-04-15 13:15:45 UTC
Created attachment 243499 [details] Screenshot showing the series of screenshots taken when holding down the print screen key (up to 25 screenshots per second!) As of f33cd1921b4c32eecf54d37d15f9bec0232aa9e3 [1], the print screen button has no rate control over how often it takes screenshots. Previously, holding down and releasing the print screen button resulted in a single screenshot being taken. Under the new implementation [2], there is no limit to how quickly screenshots can be dispatched. Holding down the print screen key results in multiple screenshots being taken in rapid succession as the key auto-repeats; many of the resulting screenshots contain the white `flash' effect, resulting in a totally blank white image (see attached screenshot). [1] https://git.gnome.org/browse/gnome-settings-daemon/commit/?id=f33cd1921b4c32eecf54d37d15f9bec0232aa9e3 [2] https://bugzilla.gnome.org/show_bug.cgi?id=681844
We'd probably need to add a flag so that mutter rate-limits keypresses, or only acts upon key release.
Like bug 336750 ?
(In reply to comment #2) > Like bug 336750 ? Yup.
Is there a mutter version of the bug?
Not as far as I'm aware, no.
This was fixed with https://bugzilla.gnome.org/show_bug.cgi?id=737456 in the shell so the bug should be closed. I also cannot reproduce this anymore either (3.14.2-0ubuntu1~utopic1)
(In reply to Srdjan Grubor from comment #6) > This was fixed with https://bugzilla.gnome.org/show_bug.cgi?id=737456 in the > shell so the bug should be closed. There's no rate limit outside the lock screen...
(In reply to Bastien Nocera from comment #7) > (In reply to Srdjan Grubor from comment #6) > > This was fixed with https://bugzilla.gnome.org/show_bug.cgi?id=737456 in the > > shell so the bug should be closed. > > There's no rate limit outside the lock screen... No, the rate limit applies to all screenshots (in fact, screenshots are now disabled on the lock screen, so a rate limit there wouldn't make sense).
(In reply to Florian Müllner from comment #8) > (In reply to Bastien Nocera from comment #7) > > (In reply to Srdjan Grubor from comment #6) > > > This was fixed with https://bugzilla.gnome.org/show_bug.cgi?id=737456 in the > > > shell so the bug should be closed. > > > > There's no rate limit outside the lock screen... > > No, the rate limit applies to all screenshots (in fact, screenshots are now > disabled on the lock screen, so a rate limit there wouldn't make sense). None of the bugs linked in this bug have any mention of rate-limiting being implemented in gnome-shell, only the disabling of screenshots in the lock screen.
The first patch limits screenshot requests to one per sender at any moment, so while there's no particular number called "rate limit", screenshots are throttled by the capacity of the system to grab pixels from the screen and write them to disk.
Marking as a dupe of bug 737456 then. Thanks. *** This bug has been marked as a duplicate of bug 737456 ***