thunderbird-android icon indicating copy to clipboard operation
thunderbird-android copied to clipboard

Selecting Text in K-9/Thunderbird Does Not Visibly Highlight the Selected Text

Open nh905 opened this issue 7 months ago • 9 comments

Checklist

  • [x] I have used the search function to see if someone else has already submitted the same bug report.
  • [x] I will describe the problem with as much detail as possible.

App

Thunderbird for Android

App version

18.0

Where did you get the app from?

Google Play

Android version

16

Device model

Pixel 7a

Steps to reproduce

  1. Apply the light theme.
  2. Open the message compose screen.
  3. Type some message text.
  4. Select some of the text.
  5. Text is highlighted white on white background.

Expected behavior

In the past, selected text was highlighted in blue.

Actual behavior

Selected text shows only the end markers, making it difficult to verify that the correct text has been selected. There is additional information at https://forum.k9mail.app/t/selecting-text-in-k-9-v17-does-not-mark-the-selected-text/14229/

Logs

No response

nh905 avatar May 01 '26 22:05 nh905

+1 face the same issue

saisafe avatar May 02 '26 06:05 saisafe

Confirmed on 18.0 K-9 in compose screen

Tried testing Thunderbird beta on 19.0b1 and hit https://github.com/thunderbird/thunderbird-android/issues/10976

coreycb avatar May 04 '26 15:05 coreycb

Of the 2 dups above, one is reported on 17.0 and the other is on 19.0b1

coreycb avatar May 04 '26 15:05 coreycb

Issue still exists in Thunderbird for Android 19.2

https://github.com/thunderbird/thunderbird-android/issues/11114#issuecomment-4638014459

Illustration:

For Light interface effectively no selection is visible: Screenshot_20260606_104847_Thunderbird.jpg

For Dark interface the selection is clearly visible: Screenshot_20260606_105049_Thunderbird.jpg

Reasoning:

The selection handles are visible, but the highlight is not.

1. Touch input requires a correction loop On touch, selection is inherently imprecise. The intended workflow is: tap approximately → see the selection → drag handles to correct. Without a visible highlight, the correction step is blind. The handles alone don't replace it.

2. Handles do not convey selection content Start and end markers show two points. For wrapped or multi-line text they do not tell you what is contained between them. The user must mentally reconstruct the selection path across line breaks — which will fail regularly in practice.

3. All composer text operations are destructive Cut, delete, replace-by-typing — all act on the selection without preview. An invisible selection means the user cannot verify what they are about to destroy before committing. In an email composer the consequence is not an accidental cell edit but potentially wrong message content sent.

4. The failure is present for some versions This bug has now persisted across multiple app versions with no fix and no status update. However, the root cause is almost certainly a single color token: the selection highlight color is not correctly bound to the light theme and likely inherits a value that renders invisible against a white background — a one-line or one-attribute fix in the theme definition.

5. This is a regression The functionality worked before. This is not a missing feature — it is a broken one. The selection highlight color is either hardcoded to a dark theme value or not correctly bound to the light theme's color token. The fix path is well understood.

The composer's text selection is non-functional under the light theme.

thungsten avatar Jun 06 '26 16:06 thungsten

The issue still exists in v20.1. I'll temporarily switch to dark mode, but I'd really prefer to see this bug fixed.

hebu avatar Jul 20 '26 18:07 hebu

Hi, I’d be interested in working on this if it’s still available.

I’ll first reproduce the selection highlight issue on the current build in both K-9 Mail and Thunderbird, then trace whether it comes from the composer editor styling, selection colors, or the active light theme.

Would you be open to an external PR for this?

AvikMakwana avatar Jul 22 '26 06:07 AvikMakwana

Hi @AvikMakwana, thanks for your interest in helping us with this issue! I've assigned it to you.

Feel free to ping me if you have any questions, or need any help!

rafaeltonholo avatar Jul 22 '26 11:07 rafaeltonholo

Still present as of v22.0.

Like others, dark theme has enough contrast. Light theme shows a difference but it's so faint that it is hardly visible.

The selection markers (start/end) are the only visual indication of the selection.

unode avatar Aug 20 '26 19:08 unode

May someone responsible please do a code review of the pull request, so we finally get rid of this really annoying misbehaviour?

hebu avatar Aug 21 '26 05:08 hebu