This can be reproduced in the live environment. Here's how:
 1. When you get to the Try/Install screen, select Try Lubuntu to get to
the live environment.
 2. When in the live environment, logout.

At this point the SDDM login screen will be shown with the virtual
keyboard shown.

To get back into the live environment, click on the button to dismiss
the virtual keyboard (it's to the right of the space bar) and then hit
enter to login. This will get you back to the Try/Install screen. Click
Try Lubuntu.

Once back in the live environment, you can implement the solution: add
the following to /etc/sddm.conf:

[General]
InputMethod=

Yes, that's a null assignment. Anything other than the three valid
options results in the same effect: no input method (including no
virtual keyboard).

The three valid options (see `man sddm.conf`) are:
 1. qtvirtualkeyboard
 2. ibus
 3. compose

I think the only reason why the options you added didn't work is perhaps
because you didn't save the settings. I find that the SDDM Configuration
Editor is a little unintuitive, at least relative to a lot of other
dialogs we have. The two buttons at the bottom, in order, are:
 1. Save
 2. Close

The first time I tried to use it, I hit close. In the Shortcut Keys
dialog, this has the effect of saving the changes you made. I didn't
even notice save at first until I saw the changes I made had no effect,
especially after I had looked up what the valid options are.

There is another possible solution: uninstall
qt6-virtualkeyboard-plugin.

So now that gets us to why this happens. That's a little trickier.

Here's what I discovered in my research:
 * The manpage does not say what the default for InputMethod is. It does
suggest leaving it empty if unsure, which is to say it is suggesting
that an empty value has the effect of disabling all input methods.
 * Looking at the code, I can see that qtvirtualkeyboard is the default
value:
https://git.launchpad.net/ubuntu/+source/sddm/tree/src/common/Configuration.h#n48
 * This default value has existed since 0.17.0:
https://github.com/sddm/sddm/commit/ef7e0812dab3d2e56b2ad388e6c45ca5c84391d7
 * Of course that default value has no impact if the virtual keyboard
plugin isn't installed, which is why this probably hasn't affected us.
At that time, qtvirtualkeyboard-plugin was made a Suggests.
 * Late last year, after Oracular was released, qtvirtualkeyboard-plugin
was upgraded from a Suggests to a Recommends:
https://git.launchpad.net/ubuntu/+source/sddm/commit/?id=8c28b7475c8235204ec182865e7fac4d6064b2ea
 * Of course, we're on Qt6 now so I think it really didn't have an
impact until that was changed to qt6-virtualkeyboard-plugin.

It seems there's a valid reason to have this set up (make it easier for
tablets, as stated in the changelog), but it tends to be annoying,
albeit not insurmountable on desktops. I'm inclined to believe we should
probably keep this the way it is for better or for worse.

Should Lubuntu want to expressly change this, we would need to ship our
own sddm.conf.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to sddm in Ubuntu.
https://bugs.launchpad.net/bugs/2091958

Title:
  After install and rebooting the login screen shows a virtual keyboard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sddm/+bug/2091958/+subscriptions


-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to