SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. Run VCMI 2. Minize it 3. Use other windows 4. Restore it OBSERVED RESULT Kwin's compositor stops working EXPECTED RESULT Kwin's compositor stays on... SOFTWARE/OS VERSIONS Linux/KDE Plasma: 5.23.4 (available in About System) KDE Plasma Version: 5.23.4 KDE Frameworks Version: 5.88 Qt Version: 5.15.2 ADDITIONAL INFORMATION video card is GTX 1080 Ti running Nvidia proprietary drivers version 495.44. KWin info: https://pastebin.com/tBStFxJf
After investigating a bit more, I've discovered that this only happens while VCMI is still open, and once closed compositing resumes. I've now added a rule to disable compositing blocking (left click title bar -> more actions -> configure special application settings: Add Property -> Block compositing (force No)). Now my compositing works while the game is running. I wonder if it wouldn't be smarter to default to compositing in windowed mode, and block compositing only for fullscreen by default.