Closed Bug 1829194 Opened 2 years ago Closed 2 years ago

Right-click on set of multiple selected messages visually semi-deselects all but the clicked message: unclear selection status

Categories

(Thunderbird :: Folder and Message Lists, defect, P1)

Thunderbird 114

Tracking

(thunderbird114? fixed)

RESOLVED FIXED
115 Branch
Tracking Status
thunderbird114 ? fixed

People

(Reporter: thomas8, Assigned: elizabeth)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression, ux-mode-error, Whiteboard: [Supernova3p])

Attachments

(2 files, 1 obsolete file)

There's an extremely irritating and error-prone selection styling error when right-clicking on a set of multiple selected messages. Should fix this asap as it's very exposed, too.

Regression seen on Daily 114.0a1 (2023-04-20) (64-bit), Win10.

  • Kindly asking Alice for a regression range if possible.
  • Elizabeth might have insights as she worked on related bug 1819277.
  • Richard may be able to help with styling analysis.

STR

  1. Select some messages in 3-pane message list
  2. Right-click on selection

Actual (see screenshot)

  • Visually semi-deselects all but the clicked message: Only the right-clicked message of the selected set looks fully selected, all others have a "dimmed" semi-selection
  • Unclear selection status: now I'm not sure which messages I'll be acting on - just the bright one or the whole set? Happy guessing!
  • Error-prone: Easy to overlook semi-selection and be mislead to think only one message is selected. Dataloss if I shift-delete based on the false/misleading visual state: Only one looks fully selected, but more will get deleted.

Expected

  • Maintain the regular selected styling for all selected messages even after right-clicking on one message out of the selected set, as we're still acting on all of them.
Flags: needinfo?(richard.marti)
Flags: needinfo?(elizabeth)

I'd say this is because of the new behavior that the message under the right click becomes the active state. This should be expanded to all before selected messages.
This looks more like a JS issue than a CSS issue.

Flags: needinfo?(richard.marti)

(In reply to Thomas D. (:thomas8) from comment #0)

Created attachment 9329558 [details]
Screenshot: Semi-selected messages after right-click on selected set of messages
Regression seen on Daily 114.0a1 (2023-04-20) (64-bit), Win10.

  • Kindly asking Alice for a regression range if possible.

^^ see comment 0

Flags: needinfo?(alice0775)

I'd say this is because of the new behavior that the message under the right click becomes the active state.

I guess this bug would be resolved by reverting the this. Which should happen, see bug 1817731

(In reply to Magnus Melin [:mkmelin] from comment #4)

I'd say this is because of the new behavior that the message under the right click becomes the active state.
I guess this bug would be resolved by reverting the this. Which should happen, see bug 1817731

I don't think so. Making the right-clicked message focused/selected or not is independent of the correct selection behaviour here. Right-click on selection must never alter the selection. The focus/selection on right-click is only relevant for previously unselected messages (i.e. right-clicking outside the selection without holding Ctrl). Right-click with Ctrl outside selection must not change or add to selection.

Right-click on selection must never alter the selection.

But currently it does that.

(In reply to Magnus Melin [:mkmelin] from comment #6)

Right-click on selection must never alter the selection.

But currently it does that.

It doesn't. It only alters the visual appearance of the selection (this bug), but most context menu actions will still apply to the full selection of multiple messages.

As a simple fix, we can adjust the background color of selected items.

Assignee: nobody → elizabeth
Status: NEW → ASSIGNED
Flags: needinfo?(elizabeth)
Whiteboard: [supernova] → [Supernova3p]
Attachment #9330775 - Attachment description: WIP: Bug 1829194 - Fix selected message color. → Bug 1829194 - Fix selected message color. r=#thunderbird-front-end-reviewers
  • Address how items are displayed in and out of focus
Attachment #9330775 - Attachment description: Bug 1829194 - Fix selected message color. r=#thunderbird-front-end-reviewers → WIP: Bug 1829194 - Adjust background of multiple selected messages. r=#thunderbird-front-end-reviewers
Attachment #9333186 - Attachment is obsolete: true
Attachment #9330775 - Attachment description: WIP: Bug 1829194 - Adjust background of multiple selected messages. r=#thunderbird-front-end-reviewers → Bug 1829194 - Adjust background of multiple selected messages. r=#thunderbird-front-end-reviewers
Attachment #9330775 - Attachment description: Bug 1829194 - Adjust background of multiple selected messages. r=#thunderbird-front-end-reviewers → Bug 1829194 - Adjust background of multiple selected messages. r=paenglab
Target Milestone: --- → 115 Branch

Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/ec072b8546f2
Adjust background of multiple selected messages. r=Paenglab

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED

Comment on attachment 9330775 [details]
Bug 1829194 - Adjust background of multiple selected messages. r=paenglab

[Triage Comment]
Approved for beta

Attachment #9330775 - Flags: approval-comm-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: