Bug 413054

Summary: Plasma notification does not show the preview of the first screenshot taken after login
Product: [Applications] Spectacle Reporter: Patrick Silva <bugseforuns>
Component: GeneralAssignee: Boudhayan Gupta <me>
Status: RESOLVED FIXED    
Severity: normal CC: kde.podagric, kde, kde, meven29, popov895
Priority: NOR Keywords: wayland
Version: 20.04.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: screenshot

Description Patrick Silva 2019-10-16 19:52:09 UTC
Created attachment 123252 [details]
screenshot

STEPS TO REPRODUCE
1. start Wayland session
2. take a screenshot by pressing printscreen and enter keys
3. save the screenshot via "Save as..." button

OBSERVED RESULT
As we can see in the attached screenshot, plasma shows a notification without the preview of the screenshot taken. Notification shows a preview if I repeat the same steps above until the next login on Wayland session.

EXPECTED RESULT
notification always shows a preview of the screenshot taken.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.17.0
KDE Frameworks Version: 5.63.0
Qt Version: 5.13.1
Comment 1 Patrick Silva 2020-05-09 17:47:37 UTC
Sometimes this bug also occurs after I take a screenshot on X11, but I can't reproduce consistently.

Operating System: Arch Linux 
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2
Comment 2 Patrick Silva 2020-10-27 17:42:42 UTC
*** Bug 428307 has been marked as a duplicate of this bug. ***
Comment 3 Méven Car 2020-10-28 05:29:40 UTC
Knowing the spectacle code, I suspect this is a KNotification lib issue.
I have encountered this although not predictably.
Comment 4 popov895 2021-07-26 07:53:56 UTC
Looks like this has already been fixed.
Comment 5 Méven Car 2021-07-26 08:27:45 UTC
(In reply to popov895 from comment #4)
> Looks like this has already been fixed.

Can you confirm Patrick Silva ?
Comment 6 Patrick Silva 2021-07-30 15:34:59 UTC
I'm unable to reproduce on Arch Linux running Spectacle 21.08 RC and neon unstable.
Let's consider fixed.
Comment 7 Kai Uwe Broulik 2021-07-30 15:48:01 UTC
Pretty sure this was fixed by https://invent.kde.org/plasma/plasma-workspace/-/commit/5d81c41eb704a85fc92a3e1e3c3c9dbd4c54cfe1