-
-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notification workflow #253
base: main
Are you sure you want to change the base?
Conversation
Interesting idea. Might just be me, but I liked that there was an option to only copy it, but don't save it. I think it's a fairly common use case to quickly screenshot something & send it & then never look at it again, saving it in these cases would just unnecessarily clutter up the storage. However, if the "screenshot and copy only" keyboard combination remains, this is not a deal braker to me. I installed the package and tried it out, the screenshots do get saved but I don't receive the notification. Note that I have not uninstalled the default version, idk if that could be the culprit |
I prefer the current workflow in Screenshot for a number of reasons:
In terms of the test build, similar to above I also do not receive any notification upon taking a screenshot. The screenshots do get saved in Pictures > Screenshots. Though I'd say there should probably be a way to change the default location for saving. |
I think it is a good idea to be able to open the screenshot in Photos easily and I like the idea that screenshots can (in theory) be accessed from notifications after screenshot dialog has closed. However, this implementation has a number of flaws in my view:
A common workflow for me is to screenshot an app and then include it in a GitHub comment so if a way can be found to do that that does not involve manually finding the file in the Screenshots folder that would be good. Maybe have a list of screenshot objects that can just be dragged into the Github comment or selected and pasted. The same objects could have a button to open them in Photos for editing |
@@ -270,57 +265,36 @@ public class Screenshot.ScreenshotWindow : Hdy.ApplicationWindow { | |||
} while (File.new_for_path (full_file_name).query_exists ()); | |||
|
|||
screenshot.save (full_file_name, format); | |||
|
|||
var file_icon = new FileIcon (File.new_for_path (full_file_name)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not getting a notification when running as Flatpak although it works OK native. It seems to be linked to using a FileIcon (or at least, this one). Using a ThemedIcon works OK in Flatpak.
To easily open Photos, why not just add one button to the screenshot window with that option? Currently, there are three buttons at the bottom of the window after a screenshot has been taken: "Copy to Clipboard", "Cancel", and "Save". One more button could be added that says "Open in Photo Application" and it can open the image in the system's default image viewer.
The easiest and fastest way to do this seems to be taking a screenshot, click "Copy to Clickboard", and then hit paste in the Github comment. Adding notifications or saving the file by default seems to only add frictions, no? |
Maybe this is a better workflow for the screenshot keyboard shortcut rather than the when using the app itself? If I could just hit the key and have the option to copy it to clipboard instead of it saving would be great. Opening the app and using it feels like there much more intention from a user and so should make less assumptions and let them do what they intend. |
@danirabbit Are you intending to press ahead with this change, perhaps modified in the light of comments, at some point? |
@jeremypw yeah converted to draft and added to the OS 8 board. I’d like to revisit this but it’s low priority for me right now |
Fixes #107
Closes #243
Closes #202
Closes #191
Opening this up to discussion! This is fairly large change to the screenshot workflow that takes a lot of responsibility off of Screenshot and puts more of it on Photos.
Instead of asking if and where we should save, we go ahead and save and send a notification. From the notification you can see where screenshots are saved by default.
Since we've saved a file, I'm not sure if we should just go ahead and copy that to your clipboard? Or offer a "Copy" action in the notification? and if that would help resolve issues like #224 and #156 to copy a file instead of image data?
If you choose to open the screenshot from the notification, you can then crop, edit, scale, save in a different location, save in a different file format, etc from Photos. This also makes it more obvious that markup features like #191 belong in Photos, not in the screenshot save dialog which no longer exists
Testers don't forget you can grab a Flatpak bundle if you don't want to manually build :) https://github.com/elementary/screenshot/actions/runs/3588339653