Bug 467527

Summary: Never quits when --nonotify and --region is specified
Product: [Applications] Spectacle Reporter: Magnus Boman <magunasu.b97>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nate, noahadvs
Priority: NOR    
Version First Reported In: 23.03.80   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 23.03.90
Sentry Crash Report:

Description Magnus Boman 2023-03-18 15:43:20 UTC
SUMMARY

STEPS TO REPRODUCE
1. Run `spectacle --background --nonotify --region --output test.png`
2. Take screenshot
3. Notice how the application never quits

OBSERVED RESULT
Spectacle does not quit, process just sits there.

EXPECTED RESULT
Spectacle to take the screenshot and quit, like previously.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.27.3
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.6-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 47.0 GiB of RAM
Graphics Processor: AMD Radeon RX 6600 XT
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B450M DS3H

ADDITIONAL INFORMATION
It seems to quit if you then take another screenshot in another mode, such as `spectacle --background --nonotify --fullscreen --output test2.png`
Comment 1 Nate Graham 2023-04-04 20:30:27 UTC
Can reproduce with the upcoming 23.04 release.
Comment 2 Noah Davis 2023-04-10 14:25:57 UTC
Fixed in abf044557f36115c8e1ace0ba86a5c020422288f on master. I will cherry-pick it to 23.04.