why does a KCM trigger virtualGeometryChanged

Vlad Zahorodnii vlad.zahorodnii at kde.org
Wed Mar 12 07:34:36 GMT 2025


Hello,

Not sure if it's related but we have a similar reported issue where kwin 
receives output change randr events when a window moves. It happens only 
in the X11 session. This can result in all sorts of undesired events 
coming from the window manager. No idea how it can happen. If somebody 
knows how it can, that'll be amazing...

https://bugs.kde.org/show_bug.cgi?id=489230

On 3/11/25 4:24 PM, Martin Koller wrote:
> In liquidshell I open e.g. the KCM for the bluetooth configuration via
>
> dialog = new KCMultiDialog(this);
> dialog->addModule(KPluginMetaData("plasma/kcms/systemsettings/kcm_bluetooth"));
>
> addModule() however seems now (KF 6.11.0, Qt 6.8.2, X11) to have an undesired
> side effect leading to messing with the whole screen, that is:
> The Desktop Panel is suddenly made invisible, then visible again, but positioned
> ABOVE the previous Panel Position (above the strut which I defined earlier
> with KX11Extras::setStrut()
> Also I see that this code above triggers the signal QScreen::virtualGeometryChanged()
>
> Why that???
> What's going on here? This did not happen with KF5


More information about the Kde-frameworks-devel mailing list