Bug 467294

Summary: New spectacle window opens without new screenshot if taken while another has the annotate toolbox
Product: [Applications] Spectacle Reporter: David <david.cortes.rivera>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nate, noahadvs
Priority: NOR    
Version First Reported In: 22.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description David 2023-03-13 19:36:30 UTC
SUMMARY
From other bug report: https://bugs.kde.org/show_bug.cgi?id=467118

STEPS TO REPRODUCE
1. Launch spectacle.
2. Click "Configure".
3. Select "While Spectacle is running" -> "Press screenshot key to" -> "Open a new Spectacle window".
4. Close spectacle.
5. Press "print screen".
6. In the spectacle window that pops up, click "Annotate".
7. Press "print screen" again.

OBSERVED RESULT
Opens a new spectacle window **with the old screenshot** that's being annotated in the previous window.

EXPECTED RESULT
Should open a new spectacle window with a snapshot of the screen at the moment I pressed the print screen button.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-6-amd64 (64-bit)
Graphics Platform: X11
Processors: 20 × 12th Gen Intel® Core™ i7-12700H
Memory: 62.5 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: SLIMBOOK
Product Name: Executive
ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-03-14 20:13:07 UTC
Cannot reproduce with the 22.12 version. At step 7, I get a new window with the correct contents.