Closed Bug 1804880 Opened 2 years ago Closed 2 years ago

Selected item in XUL <richlistbox> loses highlighting when the list loses focus (e.g. Identities, Outgoing Servers (SMTP))

Categories

(Thunderbird :: Theme, defect)

Thunderbird 108
defect

Tracking

(thunderbird_esr102 unaffected)

RESOLVED FIXED
109 Branch
Tracking Status
thunderbird_esr102 --- unaffected

People

(Reporter: loop.channel.622289.8887d40853d1c794, Assigned: Paenglab)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36

Steps to reproduce:

Go to Account Settings, then to Outgoing Server (SMTP).
Have several servers in the list.
Select one of them to get it highlighted.
Click Edit, then click Cancel.

Actual results:

You can see how the selected server lost its highlighting. If you click Edit again, you'll get to edit the same server. Plus, details at the bottom also show that the server is still selected, just without highlighting.

Expected results:

The highlighting should stay

Thanks loop.channel, that's true. It's actually a little bit worse - list selection will no longer be indicated as soon as the list loses focus, which also affects keyboard operation of the action buttons.

Richard, maybe missing styles for selected without focus?

STR:

  1. ≡ > Account Settings
  2. Select Outgoing Server (SMTP) below accounts list
  3. Select an SMTP account from the list
  4. press Tab.

Actual:

  • Selected item no longer indicated in the list
  • Happy guessing which item you're actually going to act on

Expected:

  • Selected item still indicated in the list (so that user can visually verify which item the subsequent action will apply to)
Flags: needinfo?(richard.marti)

Confirming per my comment 1, happens on other <richlistbox> elements, too. Maybe a platform thing. Oh, and it's a XUL element.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Component: Untriaged → Theme
Ever confirmed: true
Summary: Selected item in the list is losing hightlighting unexpectedly → Selected item in XUL <richlistbox> loses highlighting when the list loses focus (e.g. Identities, Outgoing Servers (SMTP))

XUL richlistbox bugs: https://mzl.la/3F9c7UU

Assignee: nobody → richard.marti
Status: NEW → ASSIGNED
Flags: needinfo?(richard.marti)
Target Milestone: --- → 109 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/fb7b03cd0eb8
Use our color variable for --in-content-item-selected-unfocused. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: