why does a KCM trigger virtualGeometryChanged

Martin Koller kollix at aon.at
Tue Mar 11 14:24:49 GMT 2025


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
-- 
Best regards/Schöne Grüße

Martin
A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?

()  ascii ribbon campaign - against html e-mail 
/\                        - against proprietary attachments

Frühstück, Geschenkideen, Accessoires, Kulinarisches: www.lillehus.at




More information about the Kde-frameworks-devel mailing list