Bug 490483 - [Feature Request] Open straight into edit mode in fullscreen
Summary: [Feature Request] Open straight into edit mode in fullscreen
Status: REPORTED
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Manjaro Linux
: NOR wishlist
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-19 09:18 UTC by J D
Modified: 2025-01-24 05:57 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description J D 2024-07-19 09:18:01 UTC
SUMMARY
I'd like to be able to open Spectacle from the command line straight into its editing mode in fullscreen, without having to manually go into the edit mode and maximizing Spectacle.
There does not seem to be any command line argument to achieve this at the moment.

My current workaround is to take a screenshot with Spectacle in the background and then open that created file in an editor (eg. "spectacle -a -b -n -o bla.png && krita --nosplash bla.png"). This command I have laid on a shortcut so I can trigger it easily on a single button press and can get right into annotation.
While this works, Krita is certainly overkill for quick screenshot annotation.
You can get closer to the desired result with this: "spectacle -a -b -n -o bla.png && spectacle -E bla.png", however this will open Spectacle in some default size and not maximized.

Something like this would be nice "spectacle -a --maximized --edit_mode".  
Or maybe instead of "--edit_mode" allow the "-E" argument to not load an existing file, instead using whatever screenshot was taken by the other arguments.
Comment 1 dajomu 2025-01-22 15:11:34 UTC
I would really like to be able to configure Spectacle to automatically launch a screenshot directly into the editor as well.
Comment 2 Noah Davis 2025-01-22 21:25:26 UTC
Is your request only for CLI or do you also need a way to do this for the GUI?

> Or maybe instead of "--edit_mode" allow the "-E" argument to not load an existing file, instead using whatever screenshot was taken by the other arguments.

That sounds like a good idea. Maybe I'll also shorten --edit-existing to --edit to make the name more generic. I'll probably leave --edit-existing available as a deprecated command for a while if I do that.
Comment 3 J D 2025-01-24 05:57:34 UTC
(In reply to Noah Davis from comment #2)
> Is your request only for CLI or do you also need a way to do this for the
> GUI?
> 
For me, it's mostly about the CLI so I can put it on a shortcut.  
But of course, UI functionality that goes immediately into editing mode after taking a screenshot would not be a bad idea, either.  
Maybe an additional checkbox in the "Screenshot settings" section below the "Take a new screenshot" buttons?

> Maybe I'll also shorten --edit-existing to --edit to make the name more generic. I'll probably leave --edit-existing
> available as a deprecated command for a while if I do that.
Sounds good to me.