omarchy icon indicating copy to clipboard operation
omarchy copied to clipboard

Save as on taking screenshot closes satty

Open sparky0520 opened this issue 1 year ago • 4 comments

System details

Intel i3 4th gen, Omarchy v3.0.2

What's wrong?

  1. Pressed SHIFT + PrintScreen for screenshot.
  2. Selected a window using left mouse click.
  3. Tried to save as. Window just closes, no notification, no image saved.

https://github.com/user-attachments/assets/a54f0637-fcfb-4709-9472-74cb4b0040cb

sparky0520 avatar Oct 13 '25 03:10 sparky0520

This occurs because ~/.local/share/omarchy/bin/omarchy-cmd-screenshot launches satty with the --early-exit flag.

This flag enables a streamlined workflow where pressing Enter:

  1. Copies the screenshot to clipboard (--actions-on-enter save-to-clipboard)
  2. Saves it to the default location (--save-after-copy)
  3. Closes satty immediately (--early-exit)

However, --early-exit conflicts with the "Save As" button. When clicked, "Save As" should open a file picker to choose a custom save location, but satty closes before the dialog can complete, preventing the file from being saved.

When you comment out --early-exit it should work exactly as intended.

dazzatronus avatar Oct 13 '25 07:10 dazzatronus

We may want to remove --early-exit and set up something like this: --actions-on-enter: save-to-clipboard,save-to-file,exit

But it would break closing after shortcuts like Ctrl+S or Ctrl+C.

Also, created bug in Satty, maybe they will fix it, because Save As function was added only one month ago https://github.com/Satty-org/Satty/pull/292

killeik avatar Nov 03 '25 12:11 killeik

This appears to no longer reproduce on current master. The likely cause was the --early-exit flag on the satty invocation in bin/omarchy-cmd-screenshot — in pre-0.20.1 Satty, --early-exit also terminated the Save As dialog before the file could be written. It was removed in 01d7296 on 2026-02-17 ("We no longer need early exit since default is not to edit Closes #4569"). Tested on Omarchy master with satty 0.20.1-2 (Arch extra): Save As opens the file chooser and writes the file as expected.

Probably safe to close.

Vladkarok avatar Apr 24 '26 16:04 Vladkarok

Closing as fixed, resolved, or superseded by the current Quattro implementation based on the open-issue review.

dhh avatar Jul 18 '26 19:07 dhh