Bug 460811

Summary: [Slide, Dialog Parent] during Slide effect dialogs' parent windows are not darkened
Product: [Plasma] kwin Reporter: phd <phd>
Component: effects-variousAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: ashark, nate
Priority: NOR    
Version First Reported In: 5.25.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: 1-during-slide-effect.png
2-before-and-after-slide-effect.png

Description phd 2022-10-21 14:46:21 UTC
SUMMARY
During Slide effect "Dialog Parent" is not darkening parent windows of opened dialogs.

STEPS TO REPRODUCE
0. activate effects: Slide and Dialog Parent
1. run KWrite
2. input some text, don't save
3. try exiting KWrite, a confirmation dialog will appear (and KWrite's main window will be darkened)
4. switch desktop to a different one and back

OBSERVED RESULT
KWrite's main window stops being darkened during Slide effect.
When Slide effect ends, Write's main window becomes darkened again.

EXPECTED RESULT
Write's main window should always be darkened in this situation, even during the Slide effect.

SOFTWARE/OS VERSIONS
Linux: Ubuntu 22.04
X.org: 1.21.1.3
KDE Plasma: 5.25.5
KDE Frameworks: 5.98.0
Qt: 5.15.3
Comment 1 phd 2022-10-21 14:46:37 UTC
Created attachment 153088 [details]
1-during-slide-effect.png
Comment 2 phd 2022-10-21 14:46:59 UTC
Created attachment 153089 [details]
2-before-and-after-slide-effect.png
Comment 3 Nate Graham 2022-10-21 18:11:36 UTC
Can reproduce on X11. I also noticed that the darkening effect isn't working at all on Wayland. Filed Bug 460819 for that.
Comment 4 Andrew Shark 2023-08-27 01:52:11 UTC
I also noticed that this Close Document dialog with text
```
The document "Untitled" has been modified.
Do you want to save your changes or discard them?
```
is appeared twice. You close it. Then again the similar window appears (but it has a bit another size, and you cannot copy text from there). Now when you close it, it finally disappears.