Can't go to start / end of the line with Home / End keys

Description

Hitting the “Home” or “End” keyboard keys does not work as expected (going to beginning / end of the line).

The only way to go to beginning or end of the line is to hit the Home or End key twice.

This happens only when the reach text editor is enabled. It does happen independently of grammar and spell checks, meaning it happens when they are either enabled or disabled.

There’s a chance even other keyboard combinations are blocked and does not work.

To Reproduce…

Steps to reproduce the behavior:

  1. Make first sure “Rich text editor” feature is enabled in Settings → General
  2. Create a new mail composer
  3. Start typing anything
  4. Hit “Home” key
  5. Cursor does not go to the start of the line

On the contrary:

  1. Make first sure “Rich text editor” feature is enabled in Settings → General
  2. Create a new mail composer
  3. Start typing anything
  4. Hit “Home” key twice
  5. Cursor goes to the start of the line

Expected Behavior

  • Hitting “Home” key should take the cursor to the beginning of the line, even if hit only once
  • Hitting “End” key should take the cursor to the end of the line, even if hit only once

Screenshots

Setup

  • OS and Version: Kubuntu 25.10 (Questing Quokka) x86_64 on KDE Plasma 6.5.6
    • Installation Method:
  • Mailspring Version: 1.19.0-29769fad

Additional Context

There’s a similar topic open, marked as “Help request” instead of “bug report”: Hitting Home Key or End Key takes to hits instead of one?

I noticed the same thing & didn’t get it reported yet, so thanks :blush:

I’m on Windows 11

1 Like

Improve handling of navigation keys in typing state by ejbiker93ss · Pull Request #2644 · Foundry376/Mailspring

Ben merged this today, so it will be fixed in the next release

Great, thanks! Should this bug report be closed somehow? And perhaps also the related “Help request” Hitting Home Key or End Key takes to hits instead of one? ?

I’m a bit new to contributing to Mailspring and I’m not aware of all the processes.

1 Like

It would be great if one of the @moderators could install the solved plugin
Discourse Solved - Customization / Plugin - Discourse Meta