Bug 474363

Summary: Dialogs are marked as normal windows on Wayland
Product: [Plasma] kwin Reporter: Peter Fajdiga <peter.fajdiga>
Component: scriptingAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: major CC: kde, nate
Priority: NOR    
Version: 5.27.7   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Peter Fajdiga 2023-09-10 11:09:31 UTC
SUMMARY
On Wayland, dialogs have the normalWindow property set to true and dialog set to false. On X11 it's the opposite, which is the expected behavior.
Additionally, their windowType property is set to 0. On X11 it's set to 5, which is the expected value.
When I refer to properties, I mean the properties that are exposed in the Kwin Javascript scripting API.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10