Currently we can click on the copy button in the application to copy a screenshot
to the clipboard. However, when used with the -m option, the window never appears
and clicking the button requires to first restore the window. Then you must close the window
after clickling the copy button. This is very tedious, and should be done automatically
(with an option). For example, calling screengrab -rmc can copy a region of the screen
to the clipboard, without interacting with the application. -c here automates the process.
Current Behavior
As explained above, the current flow is, you open the application, click on the copy
button and then close the application. With a new parameter, this can be automated.
Possible Solution
A new parameter -c will automatically copy the screenshot to the clipboard.
It behaves as if the user clicked the copy button.
Steps to Reproduce (for bugs)
Context
I am frequently taking partial screenshots of my screen through operating system
shortcuts and pasting them into whatsapp, gimp, etc. Without this feature, I have
to interact with the screengrab window everytime. This is a big problem for me
as I use i3wm with autotiling and everytime a new window is opened the existing
windows are affected from this. They get resized and moved. Sometimes I can
even lose the content I would take a screenshot of.
Expected Behavior
Currently we can click on the copy button in the application to copy a screenshot to the clipboard. However, when used with the -m option, the window never appears and clicking the button requires to first restore the window. Then you must close the window after clickling the copy button. This is very tedious, and should be done automatically (with an option). For example, calling screengrab -rmc can copy a region of the screen to the clipboard, without interacting with the application. -c here automates the process.
Current Behavior
As explained above, the current flow is, you open the application, click on the copy button and then close the application. With a new parameter, this can be automated.
Possible Solution
A new parameter -c will automatically copy the screenshot to the clipboard. It behaves as if the user clicked the copy button.
Steps to Reproduce (for bugs)
Context
I am frequently taking partial screenshots of my screen through operating system shortcuts and pasting them into whatsapp, gimp, etc. Without this feature, I have to interact with the screengrab window everytime. This is a big problem for me as I use i3wm with autotiling and everytime a new window is opened the existing windows are affected from this. They get resized and moved. Sometimes I can even lose the content I would take a screenshot of.
System Information