Clicking on an attachment does not unhighlight text

(#2365) Bug Fixed desktop ui

Observed behaviour

Text remained highlighted. This is a fairly innocuous bug on its own, but as shown in the attachment the highlighted text means that the "Search the Web" option appears in the right click context menu, which is primed to search for the highlighted text. This could result in UI confusion if users wanted to reverse image search but saw this option instead.

Reproduction steps

  1. Highlight some text
  2. Left or Right click an image or video attachment

Build information

canary build 564 (ad137ad), Electron 41.2.2, Linux 6.19.14-200.fc43.x86_64 (x64), desktop canary 0.0.118, locale en-US

Platform

Linux

Details

Expected behaviour Text should stop being highlighted
  • image.png

    image.png

    632×843 | 288 kB

  1. Rex changed the status from Needs triage to Fixed

2 comments

Sign in with Fluxer to comment and vote.
Comment by Caus
CausMod 1 vote
Can reproduce CR. canary build 577 (49be171), Electron 41.2.2, Linux 7.0.3-1-cachyos-bore-lto (x64), desktop canary 0.0.119, locale fr