Bug 490257 - flag --background don't work with flag --region
Summary: flag --background don't work with flag --region
Status: RESOLVED WORKSFORME
Alias: None
Product: Spectacle
Classification: Applications
Component: General (other bugs)
Version First Reported In: 24.02.2
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2024-07-14 07:02 UTC by Artemiy
Modified: 2025-07-01 03:47 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Artemiy 2024-07-14 07:02:23 UTC
STEPS TO REPRODUCE
1.  send in terminal `spectacle -br `

OBSERVED RESULT
make screenshot with GUI

EXPECTED RESULT
make screenshot without GUI

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: Plasma 6.1.2 
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.0
Comment 1 angry.cake7278 2025-04-18 14:26:24 UTC
reproduced on spectacle 6.3.4

issue affects both wayland and X11 session

based on replies to this post https://www.reddit.com/r/kde/comments/yxe38v/make_spectacle_silently_copy_what_you_snipped_to/ this seems to have worked properly at some point

clarification on expected behavior:
1. $ spectacle -br
2. select region
3. region screenshot is saved, without needing to click anything or press enter after making the selection

Operating System: CachyOS Linux 
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.12.0
Qt Version: 6.9.0
Kernel Version: 6.14.2-2-cachyos (64-bit)
Graphics Platform: Wayland
Graphics Processor: NVIDIA GeForce RTX 2060 SUPER
Comment 2 Noah Davis 2025-06-01 21:36:21 UTC
I just tried it and it seems to work in a way that is expected for me. This is what I see:

1. run `spectacle -br` and it shows the region selection UI.
2. Select a region. This can only work with a GUI of some kind, so I'm assuming you mean the viewer window when you say GUI rather than the rectangle selection GUI.
3. Confirm the selection by pressing Enter or double clicking the selection or clicking the Accept button. In 22.12 (the old version), you still needed to press enter or double click to accept the region unless you had the "Accept on click and release" setting enabled. That setting is also available in the current version.
4. It will be saved with a notification, which is expected when using `--background` unless you use `--nonotify`

Is this not the expected default behavior for you?
Comment 3 Bug Janitor Service 2025-06-16 03:47:36 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2025-07-01 03:47:43 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.