https://bugs.kde.org/show_bug.cgi?id=411965
--- Comment #33 from Christoph Cullmann <cullm...@kde.org> --- I debugged a bit more, and yes, for the Kate case, the widget->nativeParentWidget() function returns nullptr. Therefore you get some 0 id from the effectiveWinId(). For a normal konsole start, all is fine. Either one is OK with a "bad" WINDOWID env var or one needs to add e.g. a fallback to QApplication::activeWindow()->winId() (if a window there). This fallback could be used for the "no views" case, too. But I think that is something for the konsole devs to decide. At least the current code doesn't introduce native widgets our of thin air. -- You are receiving this mail because: You are watching all bug changes.