Skip to content

Keyboard layout switches by itself on focus at password field #13595

@grillonbleu

Description

@grillonbleu

Distribution

Mint 22.3

Package version

Cinnamon 6.6.7

Graphics hardware in use

AMD Radeon RX 6750 XT [Discrete]

Frequency

Always

Bug description

Whenever I focus on a password field in Firefox the keyboard layout reverts to the topmost one in Keyboard > Layout.

Discussed on the Linux Mint Forum: https://forums.linuxmint.com/viewtopic.php?p=2753496

This does not happen in Google Chrome for example.

Steps to reproduce

  1. Have at least to two keyboard layouts set in the Keyboard application, in the Layouts tab.
  2. Select the second layout.
  3. Start Firefox.
  4. Focus on an input of type password.
  5. They keyboard layout has changed.

Expected behavior

Keyboard layout should not change within an application unless the user explicitly requests it.

Additional information

I have used this temporary workaround with success.

Create ’~/.xprofile’ with the following settings then reboot.

export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim
export XMODIFIERS=@im=none

This is clearly not a ideal solution as it reverts to an input method Mint has abandoned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions