Bug 463107

Summary: Window rule does not apply automatically after restarting a Wine application
Product: [Plasma] kwin Reporter: ian karlsson <themvrules>
Component: rulesAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: isma.af
Priority: NOR    
Version First Reported In: 5.26.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description ian karlsson 2022-12-16 10:10:10 UTC
SUMMARY
This happens when I run the application GraphicsGale v2.08.24 (https://graphicsgale.com/us/) in Wine. I have tried a few other applications, both Wine and native but couldn't reproduce.

This application appears to create an invisible window when starting, clicking it in the taskbar does nothing. The actual window has the property "Skip taskbar" automatically set. I created a rule to force "Skip taskbar" to "No", however when the application is restarted, the rule does not apply, unless I first set it to "Yes" and then "No" again.

The invisible window might be a separate issue, I'm not sure exactly where it should be filed. This report concerns the issue where the window rules are not reapplied after the restart.

STEPS TO REPRODUCE
1. Open GraphicsGale
2. Right click icon in window title bar, select More actions -> Configure Special Window Settings
3. Add a property "Skip taskbar", "Force", "No"
4. Another window icon will appear in the taskbar
5. Close and restart GraphicsGale
6. Minimize

OBSERVED RESULT
A second window icon that appears can be clicked to restore the window

EXPECTED RESULT
The second window icon does not appear, clicking the existing icon does nothing.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: EndeavourOS
(available in About System)
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION