Bug 450395

Summary: Spectacle imposes an old captured pic instead of showing the current working desktop to capture images.
Product: [Applications] Spectacle Reporter: Fidel <latinmarketer>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nicolas.fella, noahadvs
Priority: NOR    
Version First Reported In: 21.12.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: all the background is not the windows where I am currently workig (this report for example) but an old image imposed by Spectacle.

Description Fidel 2022-02-16 16:58:27 UTC
Created attachment 146825 [details]
all the background is not the windows where I am currently workig (this report for example) but an old image imposed by Spectacle.

SUMMARY
***
  the app shows up a previous screenshot taken some time before. No matter what capture method, rectangular or full screen or the the trigger method if it is shortcut or dialog option instead of showing the current screen to capture it, the app will show an old image taken I don't know from where.

I have uninstalled and reinstalled several times, it continues doing the same and showing the same image, so I suppose removing the package is not removing configuration.
***


STEPS TO REPRODUCE
1. trigger a screenshot request, no matter the way
2. be dissapointed it shows some old captured image
3. try to get a region screenshot, it will do it but will capture the region of the pic it loaded itself

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  21.12.2
KDE Plasma Version: 5.24.1
KDE Frameworks Version: 5.91.0
Qt Version:5.15.2
kernel:  5.16.9-arch1-1 (64 bits)
graphics platform:   X11

ADDITIONAL INFORMATION
I had to take the pic with a camera as when Spectacle is taking an screenshot it blocks other programs.
There you can see all the background is not the windows where I am currently workig (this report for example) but an old image imposed by Spectacle.
Comment 1 Fidel 2022-02-16 21:36:53 UTC
I found the cause of this bug.
I installed flameshot, another screenshoter and it had exactly the same problem!  So I started looking for common root causes. I found here: 
   https://forum.manjaro.org/t/spectacle-not-taking-screenshots-correctly/74466/13
that the problem was with the compositor so you have to deactivate it when taking screenshots. 

This workaround solves the problem for both Spectacle and Flameshot so the bug should be transferred to compositor interfering other software.
Comment 2 Noah Davis 2023-11-22 12:39:18 UTC
This seems to be fixed.