Closed Bug 1819137 Opened 2 years ago Closed 2 years ago

Don't load messages when the ArrowDown key is pressed and held

Categories

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

Thunderbird 112

Tracking

(thunderbird_esr102 unaffected, thunderbird112? verified)

VERIFIED FIXED
113 Branch
Tracking Status
thunderbird_esr102 --- unaffected
thunderbird112 ? verified

People

(Reporter: aleca, Assigned: aleca)

References

(Blocks 1 open bug)

Details

(Keywords: perf, Whiteboard: [Supernova3p])

Attachments

(2 files)

When pressing and holding down the ArrowDown key, the selection moves across messages.
For every selected messages the Message Pane is updated to show the currently selected message.

That's not really useful and it affects the speed of switching between messages. We should avoid that, mimicking what happens in 102, and only load the message on key release.

Bonus issue: The focus sometimes it's lost when quickly switching messages with the arrow keys, sometimes it's captured by the message pane or sometimes the focus moves to the entire body.

Good catch.
If this is really 102 parity, then it's a regression => defect ;) (and true for other regressions as well)

FWIW, for N/B navigation there is a preference which sets the delay for message display. I wonder if that is similarly impacted.

Severity: -- → S3
Type: enhancement → defect
Blocks: sn-treeperf
No longer blocks: 1814320

Found what I was looking for. Navigation should be subject to the preference

mailnews . threadpane_select_delay Integer 250 (default): To improve scrolling performance, prevents immediate display of message when scrolling through threadpane.

Flags: needinfo?(alessandro)
Priority: -- → P2

Nice, good catch!
I'm gonna try to tackle this

Assignee: nobody → alessandro
Flags: needinfo?(alessandro)
Target Milestone: --- → 113 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/07c6dab1afa6
Re implement the mailnews.threadpane_select_delay preference to delay the message selection on keypress. r=darktrojan

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

This is breaking comm/mail/components/addrbook/test/browser/browser_display_card.js

Flags: needinfo?(alessandro)
Status: RESOLVED → REOPENED
Flags: needinfo?(alessandro)
Resolution: FIXED → ---

All failures reported are also on comm-central.
Let's try to land this and see if I break something else.

Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/48ffe8abfef4
Re implement the mailnews.threadpane_select_delay preference to delay the message selection on keypress. r=darktrojan

Status: REOPENED → RESOLVED
Closed: 2 years ago2 years ago
Resolution: --- → FIXED
Pushed by alessandro@thunderbird.net: https://hg.mozilla.org/comm-central/rev/190fcdf57464 Fix broken tests after select delay. r=elizabeth

Comment on attachment 9325314 [details]
Bug 1819137 - Fix broken tests after select delay. r=#thunderbird-reviewers

[Triage Comment]
Approved for beta

Attachment #9325314 - Flags: approval-comm-beta+

Comment on attachment 9324585 [details]
Bug 1819137 - Re implement the mailnews.threadpane_select_delay preference to delay the message selection on keypress. r=darktrojan

[Triage Comment]
Approved for beta

Attachment #9324585 - Flags: approval-comm-beta+

Working well in in 112.0b5 and daily.
Thanks.

Status: RESOLVED → VERIFIED
Whiteboard: [Supernova] → [Supernova3p]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: