Skip to content

KSysGuardProcessList: Don't call winId() on the window()

Kai Uwe Broulik requested to merge work/kbroulik/dont-call-winid into master

All API (e.g. KAuth) operates on QWindow these days. Doing winId() on a child widget causes funky input and repaint problems when the widget is forcefully turned into a native window.


Thanks @nicolasfella for the pointer (you gave me weeks ago) :D

My Systemmonitor (Ctrl+Esc) repaints properly now.

I still get Polkit prompts (one of the users of the ProcessController::window) when trying to kill someone else’s process. Needs testing on X11, though, I guess.

Merge request reports