Fix settings URL for plasma 6#228
Conversation
| if (qEnvironmentVariable("PLASMA_PLATFORM").contains(QStringLiteral("phone"))) { | ||
| QDesktopServices::openUrl(QUrl("systemsettings://kcm_mobile_onscreenkeyboard")); | ||
| } else if (qEnvironmentVariable("KDE_SESSION_VERSION").contains(QStringLiteral("6"))) { | ||
| QDesktopServices::openUrl(QUrl("systemsettings://kcm_regionandlang")); |
There was a problem hiding this comment.
This won't work. The KCM for configuring Maliit is only for Plasma Mobile. The normal Layouts config in Plasma is only for physical keyboards, not Maliit.
There was a problem hiding this comment.
Then, is there any relevant page in desktop Plasma settings?
There was a problem hiding this comment.
There is not, as far as I know. I think the kcm_mobile_onscreenkeyboard for Plasma Mobile is also wrong now, as someone decided to change the name of the kcm yet again, in KDE, though. So simply changing it to the correct new value would be accepted.
There was a problem hiding this comment.
After doing a quick search kcm_mobile_onscreenkeyboard still seems to be used in Plasma Mobile. Unfortunately I got no easy way of verifying this, as I do not use Plasma Mobile. One more idea - how about opening kcm_virtualkeyboard as that is at least somewhat relevant? (not very useful though)
When opening settings from language menu I get:

So update the url to open
Region & Languagesettings page (though I am not sure if it should be the Keyboard/Keyboard/Layouts page instead) in plasma 6.