| Summary: | Using background mode with `-b` to hide the GUI and just save to a file with `-o` no longer works with `-region`. | ||
|---|---|---|---|
| Product: | [Applications] Spectacle | Reporter: | incoming |
| Component: | General | Assignee: | Noah Davis <noahadvs> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | normal | CC: | kde |
| Priority: | NOR | ||
| Version First Reported In: | 23.04.0 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
incoming
2023-04-23 18:39:21 UTC
Note, you're supposed to use `--region` or `-r`, not `-region`. If you use `--region`, does it work for you? Ah, my screenshot tool had `-region` hardcoded as an option, I'm assuming it was being parsed as `-r` previously and worked just fine, using `-r` or `--region` works just fine now! Thank you for letting me know :) (In reply to incoming from comment #2) > Ah, my screenshot tool had `-region` hardcoded as an option, I'm assuming it > was being parsed as `-r` previously and worked just fine, using `-r` or > `--region` works just fine now! Thank you for letting me know :) Just so you know, here's what's going on when you use `-region`. All of the letters together just happen to be valid single letter flags and single letter flags can be combined without spaces when putting a single dash at the front of all of them: -r, --region: Capture a rectangular region of the screen -e, --no-decoration: In background mode, exclude decorations in the screenshot -g, --gui: Start in GUI mode (default) -i, --new-instance: Starts a new GUI instance of spectacle without registering to DBus -o, --output <fileName>: In background mode, save image to specified file -n, --nonotify: In background mode, do not pop up a notification when the screenshot is taken `-g` currently gets precidence over `-b` because `-g` would otherwise be a completely useless flag, which is what was causing the change in behavior. If I knew of a way to make the last specified flag override the previous incompatible option, I could make using `-region` work again. Ah, thank you! That's helpful :) |