NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.31k stars 13.54k forks source link

Enabled Virtual Keyboard at login is stuck afterward #55423

Open AMDphreak opened 5 years ago

AMDphreak commented 5 years ago

Issue description

Clicked on the Virtual Keyboard once, and it is now called every time I click on password input box. Click Virtual Keyboard button. Toggle button off. Click on password field to type. Virtual Keyboard comes back. Try to dismiss by clicking the "hide" button. It hides, but after clicking on the password field again, it shows up again.

Steps to reproduce

Click Virtual Keyboard button. Toggle button off. Click on password field to type. Virtual Keyboard comes back. Try to dismiss by clicking the "hide" button. It hides, but after clicking on the password field again, it shows up.

Technical details

(Please run nix-shell -p nix-info --run "nix-info -m" and paste the results.)

CRTified commented 5 years ago

In what scenario does the keyboard appear? Do you mean the virtual keyboard in sddm?

louis-frayser commented 5 years ago

Yes, SDDM. I have the same problem. The virtual keyboard covers the login dialog. Every time I try to login, the keyboard pops up and blocks the view. I enabled it once and don't know how to disable it.

[frayser@NixOS:~]$ nix-shell -p nix-info --run "nix-info -m" these paths will be fetched (0.05 MiB download, 0.28 MiB unpacked): /nix/store/ial8a56ys2rswfq4j2abm3cl99li5b6p-bash-interactive-4.4-p23-dev copying path '/nix/store/ial8a56ys2rswfq4j2abm3cl99li5b6p-bash-interactive-4.4-p23-dev' from 'https://cache.nixos.org'...

20190327_222841

ezgif-5-20234cb445f2

CRTified commented 5 years ago

Ah, I know that problem. My workaround is the following:

  services.xserver.displayManager.sddm.extraConfig = ''
    [General]
    InputMethod=
  '';

The manpage (sddm.conf (5)) tells the following about this option:

InputMethod=
    Set the Qt input method for the greeter. Tablet users with Qt Virtual Keyboard installed can set this to "qtvirtualkeyboard" for the on-screen keyboard. Other known values are "ibus" for the Intelligent Input Bus, or "compose" for dead keys support. Leave this empty if unsure. 
louis-frayser commented 5 years ago

Thanx Richard. I'm back in business.

InputMethod=

did the trick.

stale[bot] commented 4 years ago

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.
CRTified commented 4 years ago

This is still relevant. Disabling my fix still opens up the keyboard by default.

stale[bot] commented 3 years ago

I marked this as stale due to inactivity. → More info

cronyakatsuki commented 7 months ago

Still happens 2024 with sddm if I set a custom theme.

Edit:

To fix with newer versions of sddm settings I had to add this to configuration:

  services.xserver.displayManager.sddm.settings = {
    General = {
      InputMethod="";
     };
   };