Closed Bug 1787658 Opened 3 years ago Closed 1 year ago

Add Ctrl+C keyboard shortcut to copy screenshot to clipboard

Categories

(Firefox :: Screenshots, enhancement, P2)

Firefox 105
Desktop
All
enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1864038

People

(Reporter: lucas.werkmeister, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:105.0) Gecko/20100101 Firefox/105.0

Steps to reproduce:

  1. Begin taking a screenshot (Right click > Take Screenshot; or press Ctrl+Shift+S)
  2. Select a region (click on an element, or click and drag anywhere)
  3. Press Ctrl+C (or the platform’s usual “copy” keyboard shortcut)

Actual results:

Nothing.

Expected results:

I think it would be useful to make this a keyboard shortcut for the existing “copy screenshot to clipboard” functionality (a button labeled “Copy”). GNOME Shell also supports this keyboard shortcut in its screenshot functionality.

If you agree that this would be nice to have, I think I’d like to try implementing it myself :) (unless you think it would be unusually difficult or for other reasons inadvisable)

The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core

Hm, actually, I think this is already supposed to work? At least there’s some relevant-looking code in browser/extensions/screenshots/selector/uicontrol.js (keydownHandler(), Ctrl+F KeyC) – but it doesn’t seem to be working properly, at least on my platform…

Component: Widget: Gtk → Screenshots
Product: Core → Firefox

Confirmed on latest FF Beta 105.0b5 on Win10. Mark issue as New so that developers can have a look. Thank you.

Severity: -- → S4
Status: UNCONFIRMED → NEW
Has STR: --- → yes
Ever confirmed: true
OS: Unspecified → All
Hardware: Unspecified → Desktop

Thanks for the suggestion. Done right this might be really handy.

Priority: -- → P2
Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1864038
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.