Bug 514248

Summary: Interference with apps running in Wine that create their own windows
Product: [Plasma] kwin Reporter: spamless.9v5xj
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: minor    
Priority: NOR    
Version First Reported In: 6.5.4   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description spamless.9v5xj 2026-01-06 21:32:05 UTC
Apologies for the esotericism and convoluted steps but I don't know how else to recreate the issue.

Affinity suite, a MS Windows-based drawing program, suffers functionality loss when running in KDE; being not possible to rearrange the UI as one desires by dragging panels around, they can undock but redocking is impossible. There are probably other programs that spawn windows in similar manner with this issue but this is the only one I know of. The clicking and dragging works fine with Gnome, so the issue seems to lie with how KWin handles windows.

STEPS TO REPRODUCE

1. Follow the instructions of this Github page to install Affinity suite: https://github.com/seapear/AffinityOnLinux
2. Launch the application
3. Click and drag one of the panels, noticing how they detach but not attach
4. Close the application
5. Run winecfg for the virtual Windows environment for the application
6. Uncheck the option called 'Allow the window manager to control the windows'
7. Repeat steps 2 and 3, but note that now attaching is possible

ADDITIONAL INFO

Forum thread discussing this
  https://discuss.kde.org/t/affinity-suite-issue-under-kwin-cant-dock-panels/42048