linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.56k stars 744 forks source link

Caps Lock - Enabled when pressed but disabled upon release #12119

Open DeanGrey opened 8 months ago

DeanGrey commented 8 months ago

Distribution

21.1

Package version

6.0.4

Graphics hardware in use

No response

Frequency

Always

Bug description

While not the majority, many capitalize with caps lock more than shift. Some of us were just trained oddly and it stuck. Windows/Mac/Etc typically have caps lock disable upon press rather than release. I believe this is an unintentional bug in Mint and a google search will show quite a lot of links to users having issues with double/triple capitalization depending on their typing speed.

Steps to reproduce

  1. Open a document to type into.
  2. Click the caps lock key.
  3. Type a letter and then hold down the caps lock key and type again, and then release the caps lock key and type the letter once more.
  4. You will have two capitalized and one lowercase instance of that letter. This absolutely breaks speedy typers who use caps lock.

Expected behavior

Caps lock on press will disable upon press rather than release, being inline with other major operating systems and standard keyboard use.

Additional information

No response

DeanGrey commented 8 months ago

If not perceived as a bug, which I think it is as an oversight, then at least an option in the "Caps Lock behavior" section of keyboard layout options makes sense.

DeanGrey commented 8 months ago

I believe this is a behavior that is adopted from typewriters. https://en.wikipedia.org/wiki/Caps_Lock#History

I think it would be strange to model after that rather than contemporaries.