Closed Bug 1539295 Opened 6 years ago Closed 6 years ago

Tab in auto-complete in emailing list create/edit is stuck

Categories

(Thunderbird :: Address Book, defect)

defect
Not set
normal

Tracking

(thunderbird_esr6067+ fixed, thunderbird67 fixed, thunderbird68 fixed)

RESOLVED FIXED
Thunderbird 68.0
Tracking Status
thunderbird_esr60 67+ fixed
thunderbird67 --- fixed
thunderbird68 --- fixed

People

(Reporter: jorgk-bmo, Assigned: jorgk-bmo)

Details

(Keywords: regression)

Attachments

(1 file, 2 obsolete files)

STR:

  • Open the address book
  • Create a new mailing list or edit an existing one
  • start typing a new member's address to autocomplete will show
    a dropdown menu. Navigate down with down-arrow
  • Hit the tab key. Autocomplete entry is accepted,
    cursor now behind the accepted entry.
  • Hit the tab key again. Nothing happens.

Focus should move to the next UI element, so the OK button on Windows.

This was working in TB 60.

Alice, can you find the regression for us.

Flags: needinfo?(alice0775)

In TB60, the focus moved immediately to the next button (OK on Windows, Cancel on Linux). On trunk, it stays at the end of the completed entry. That seems better behaviour. The question is why it does not move to next widget (button) on the NEXT Tab press.

Thanks. You're saying we broke it in bug 1499410? But that works on the ESR now. Strange.

Attached patch 1539295-crazy-fix.patch (obsolete) (deleted) — Splinter Review

Please don't ask why this works, but it does. It's the code we have in the ESR, see
https://hg.mozilla.org/releases/comm=esr60/rev/dd1713342fe3f723edb6da6ac8de2ed3c36d13a1
EDIT: Destroying the link so my "this needs uplift filter" works.

Assignee: nobody → jorgk
Status: NEW → ASSIGNED
Attachment #9053788 - Flags: review?(acelists)

This isn't completely right, see bug 1536374 comment 23.

Attached patch 1539295-crazy-fix.patch (v2) (obsolete) (deleted) — Splinter Review

Reverted the suite/ part as well, like on ESR. "Not completely right", so what do you suggest instead?

Attachment #9053788 - Attachment is obsolete: true
Attachment #9053788 - Flags: review?(acelists)
Attachment #9053833 - Flags: review?(acelists)
Summary: Tab in auto-complete in emaling list create/edit is stuck → Tab in auto-complete in emailing list create/edit is stuck
Attached patch 1539295-crazy-fix.patch (v3) (deleted) — Splinter Review

Need to check param. Maybe we can bring this to a close one day ;-)

Attachment #9053833 - Attachment is obsolete: true
Attachment #9053833 - Flags: review?(acelists)
Attachment #9054071 - Flags: review?(acelists)
Comment on attachment 9054071 [details] [diff] [review] 1539295-crazy-fix.patch (v3) Review of attachment 9054071 [details] [diff] [review]: ----------------------------------------------------------------- Thanks, this works for me. Sadly, after autocomplete selection using tab, it again jumps to the next button as in TB60. But maybe better than nothing. At least you can select with click and Enter whoch moves to the next address line, not button. So everyone can have what he wants.
Attachment #9054071 - Flags: review?(acelists) → review+
Keywords: checkin-needed
OS: Unspecified → All
Hardware: Unspecified → All

Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/6548cadb1648
fix tab after auto-complete in mailing list add/edit. r=aceman

Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 68.0
Attachment #9054071 - Flags: approval-comm-esr60+
Attachment #9054071 - Flags: approval-comm-beta+

TB 60.7 ESR (or earlier, like TB 60.6.2):
https://hg.mozilla.org/releases/comm-esr60/rev/6fba52b75d2ec7bd5ac0f349be5d866ba9f5b9bd

This already worked in TB 60.6.1 but here's the last update to match trunk and avoid the JS errors in the console.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: