element-hq / element-desktop

A glossy Matrix collaboration client for desktop.
https://element.io
GNU Affero General Public License v3.0
1.15k stars 262 forks source link

Searching encrypted rooms does not warn you if indexing is incomplete #903

Open kittykat opened 3 years ago

kittykat commented 3 years ago

Steps to reproduce

  1. Log into a new desktop session
  2. Go to a DM
  3. Search for something you can see in the scrollback -> see result shown correctly
  4. Search for something you know is in the room history but haven't scrolled to yet -> Be told that there are no search results (have been trying to search this conversation for some time at this point)

Outcome

What did you expect?

If the conversation is still being indexed, a warning about that. That the conversation I am looking at is prioritised for indexing over ones which I haven't openned. Maybe that clicking the request keys link causes the decrypted messages to be indexed first?

What happened instead?

I can't search an encrypted conversation because the search tells me that there are no matches (and this is blocking my work).

Light theme is web client, dark theme is desktop client:

Screenshot from 2021-10-19 11-41-30

Operating system

Arch Linux

Application version

element-desktop-1.9.2-2, electron-15.2.0-1

How did you install the app?

Distro package

Homeserver

No response

Will you send logs?

No

novocaine commented 3 years ago

Is this specific to encrypted rooms, or all rooms?

kittykat commented 3 years ago

Only encrypted rooms

MadLittleMods commented 2 years ago

Related to https://github.com/vector-im/element-web/issues/17299

t3chguy commented 1 year ago

@kittykat what is the status shown in Settings > Security & Privacy > Message Search? Is it still indexing or is it done? Are you still seeing this issue?

richvdh commented 1 year ago

Let's assume this happened because indexing was incomplete.

herkhinah commented 1 year ago

Let's assume this happened because indexing was incomplete.

shekhinah has the same issue. shekhinah scrolled back the entire history of an encrypted room to make sure it's not a sync issue and not a decryption issue. The Message search settings shows: Indexed rooms: 25 out of 25. But the reliability of the search is still very close to zero. Even when I scroll back to a message in the room history wait a minute and search for a word that's contained in the message it doesn't show up.