Closed Bug 1770402 Opened 2 years ago Closed 2 years ago

For right-click on contacts or address books, context menus open at a distance from mouse pointer

Categories

(Thunderbird :: Address Book, defect, P3)

Unspecified
Windows

Tracking

(thunderbird_esr91 unaffected)

VERIFIED FIXED
102 Branch
Tracking Status
thunderbird_esr91 --- unaffected

People

(Reporter: thomas8, Assigned: darktrojan)

References

(Blocks 1 open bug)

Details

(Keywords: ux-consistency, ux-efficiency)

Attachments

(3 files, 1 obsolete file)

It's pretty inconvenient when you right-click on an AB or contact in address book, and the context menu pops up somewhere else, but not where you clicked, requiring extra mouse moves. Horizontal layout is most affected.

STR

  • right-click on the icon or in the middle of an address book item in directory pane
  • right-click on the icon, the first name, or in the middle of a contact item in the list of contacts
  • Do Change the list order > Switch to horizontal layout, and right-click e.g. on the email address of a contact.
  • For comparison, right-click anywhere on a message in message list.

Actual

  • context menu pops up at a distance from click position / mouse pointer
  • in horizontal layout, depending on where you clicked, the context menu might be very far away from current pointer position.

Expected

  • context menu should pop up at the click position, i.e. at the mouse pointer (as happens when right-clicking on a message in message list).

Horizontal mode: Have a safe journey from where you clicked to where the context menu pops up!
New screenshot to visualize the mouse journey after right-click.

Attachment #9277465 - Attachment is obsolete: true

We should only pop up the context menu at the triple dots when the triple dots were clicked, to avoid inconvenient mouse moves for users who prefer to right-click anywhere on the contact (which is a far bigger hence faster click target than the triple dots).

That's … odd. And it's only happening on Windows.

OS: Unspecified → Windows

We've lost the event.buttons value, which should be 2 in these places (it's 0).

Depends on: 1770671

Uses something other than event.buttons to check if the contextmenu event comes from a mouse click. That property is buggy (bug 1770671).

Also moves the cards list context menu to the middle of the selected row when opened by keyboard, which looks a bit better now we have a layout with long rows.

Assignee: nobody → geoff
Status: NEW → ASSIGNED

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/e890e942c2a9
Fix Address Book context menus on Windows. r=mkmelin

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

I just updated to Build ID 20220525102342 on Windows 10 and both views look fixed.

Status: RESOLVED → VERIFIED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: