screenshot keyboard shortcuts depend on release order

Bug #1843214 reported by milesf
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-screenshot (Ubuntu)
New
Undecided
Unassigned

Bug Description

According to this guide, the following keyboard shortcut should capture the current window to clipboard:
Ctrl + Alt + Prt Scrn
https://help.ubuntu.com/stable/ubuntu-help/screen-shot-record.html

Sometimes this sequence will save to the ~/Pictures folder instead.
It depends on the release sequence of the keys. When Ctrl and Alt are released at together, the outcome is seemingly random.

If Ctrl is released before Alt, then the screenshot will unexpectedly bypass the clipboard and be saved to ~/Pictures.

Key sequence to reproduce unexpected behavior:
Press and hold Ctrl
Press and hold Alt
Press and release Prt Scrn
Release Ctrl
Release Alt

It's also strange that the screenshot is actually captured when either Ctrl or Alt is released, and not when Prt Scrn is pressed or released.
For example:
Press and hold Ctrl
Press and hold Alt
Press and Prt Scrn <- Screenshot is not captured here
Release and Prt Scrn <- Neither is screenshot captured here
Wait 10 seconds
Release Alt <- This this is when screenshot is captured
Release Ctrl

Ubuntu 18.04

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.