Closed Bug 1777542 Opened 2 years ago Closed 2 years ago

Double clicking chat message executes first action

Categories

(Thunderbird :: Instant Messaging, defect)

Thunderbird 102
Desktop
All
defect

Tracking

(thunderbird_esr102 fixed, thunderbird103 fixed, thunderbird104 fixed)

RESOLVED FIXED
104 Branch
Tracking Status
thunderbird_esr102 --- fixed
thunderbird103 --- fixed
thunderbird104 --- fixed

People

(Reporter: freaktechnik, Assigned: freaktechnik)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

As reported in bug 1772767:

double-click on the "Decrypting..." message and that causes the message to be deleted

This is likely a regression from fixing chat message actions, where the code doesn't correctly check that it is being executed from the context menu item.

This isn't a regression, it is the default behavior which I forgot about when reviewing the patch, see https://searchfox.org/comm-central/rev/bbad2db99551a14a1a6062a7c6d6b1d9c094cbf7/chat/components/public/prplIMessage.idl#87-95

(The behavior exists so that you could double click a Tweet and do a proper reply to it or something. That's what actions were originally added for.)

Having the first action returned be an implicit default seems not awesome though.

(We really need to kill off the interfaces so we can check a single place for documentation...)

Okay, let's remove this twitter specific behavior then.

Keywords: regression
Blocks: tb102found
Assignee: nobody → martin
Status: NEW → ASSIGNED
Target Milestone: --- → 104 Branch
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED

Comment on attachment 9283811 [details]
Bug 1777542 - Don't execute first message action on chat message double click. r=#thunderbird-reviewers

[Approval Request Comment]
Regression caused by (bug #):
User impact if declined: Users might by accident report or redact their matrix chat messages from double clicking. Normally double clicking either selects parts of the message or mentions the author of the message.
Testing completed (on c-c, etc.): Tested on c-c
Risk to taking this patch (and alternatives if risky): Low risk

Attachment #9283811 - Flags: approval-comm-beta?

Comment on attachment 9283811 [details]
Bug 1777542 - Don't execute first message action on chat message double click. r=#thunderbird-reviewers

[Triage Comment]
Approved for beta

Attachment #9283811 - Flags: approval-comm-beta? → approval-comm-beta+

Comment on attachment 9283811 [details]
Bug 1777542 - Don't execute first message action on chat message double click. r=#thunderbird-reviewers

[Approval Request Comment]
Regression caused by (bug #):
User impact if declined: Users might by accident report or redact their matrix chat messages from double clicking. Normally double clicking either selects parts of the message or mentions the author of the message.
Testing completed (on c-c, etc.): 103.0b3
Risk to taking this patch (and alternatives if risky): Low risk

Attachment #9283811 - Flags: approval-comm-esr102?

Comment on attachment 9283811 [details]
Bug 1777542 - Don't execute first message action on chat message double click. r=#thunderbird-reviewers

[Triage Comment]
Approved for esr102

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

Attachment

General

Created:
Updated:
Size: