SUMMARY kwin_x11's --replace flag has no effect: ``` $ kwin_x11 --replace kwin: another window manager is running (try using --replace) ``` (and nothing else happens) STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Works fine for me. Is the other wm still responsive when running kwin_x11 --replace? It seems like kwin fails to select substructure redirect events.
Works for me. Are you by any chance using Wayland?
Not reproducible, needs a lot more info.
Ah, it happens when trying to replace fluxbox with kwin_x11. Steps to reproduce: 1. Start a Plasma X11 session 2. Open a terminal (e.g. Konsole or Yakuake) 3. Run `kwin_x11 --replace`. (This is handy to then terminate the window manager altogether.) 4. Press Ctrl+C to terminate kwin_x11. (fluxbox won't start otherwise.) 5. Run `fluxbox` 6. In another terminal tab, run `kwin_x11 --replace` OBSERVED RESULT ``` $ kwin_x11 --replace kwin: another window manager is running (try using --replace) ``` EXPECTED RESULT Should terminate fluxbox and start kwin_x11.
--replace is meant to restart KWin itself. Not to kill it and start another window manager, or vice versa.
(In reply to Nate Graham from comment #5) > --replace is meant to restart KWin itself. Not to kill it and start another > window manager, or vice versa. Okay. Then the error message probably shouldn't suggest "try using --replace" when it cannot have effect.
Fair enough.
fluxbox doesn't release WM_S selection. I can reproduce this issue with other WMs too, e.g. openbox. Please report this issue to fluxbox developers.