Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search broken on Element desktop app with Ubuntu 22.04 #22325

Closed
ASoTNetworks opened this issue May 24, 2022 · 7 comments · Fixed by element-hq/element-desktop#367
Closed

Search broken on Element desktop app with Ubuntu 22.04 #22325

ASoTNetworks opened this issue May 24, 2022 · 7 comments · Fixed by element-hq/element-desktop#367
Assignees
Labels
A-Electron A-Indexing Indexing messages via Seshat O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect X-Regression Z-Platform-Specific

Comments

@ASoTNetworks
Copy link

Steps to reproduce

  1. Open an encrypted room
  2. Try searching messages
  3. Error saying Use the Desktop app to search encrypted messages is displayed.

In the Security & Privacy settings it says:
image

Outcome

What did you expect?

Display encrypted messages results.

What happened instead?

Display an error saying to use the desktop client instead.

This started happening since version 1.10.12

Operating system

Ubuntu 22.04

Application version

Element version: 1.10.13, Olm version: 3.2.8

How did you install the app?

From https://element.io/get-started#linux-details

Homeserver

No response

Will you send logs?

No

@t3chguy
Copy link
Member

t3chguy commented May 24, 2022

Please send logs, they are very important to debug issues like this.

@t3chguy t3chguy added the X-Needs-Info This issue is blocked awaiting information from the reporter label May 24, 2022
@ASoTNetworks
Copy link
Author

Is there anything I should be looking for in the logs? There are too many information in it that I don't want to share the full log.

@t3chguy
Copy link
Member

t3chguy commented May 25, 2022

Is there anything I should be looking for in the logs?

Things relating to indexing, but if you're unable to figure out the cause and unwilling to share logs then this issue may not have sufficient information to remain open

@ASoTNetworks
Copy link
Author

Here is the startup section of Element desktop. I see it says EventIndex: Event indexing isn't installed for the platform, not initializing. so is it not built with matrix-seshat?

2022-05-25T21:30:08.288Z I Initialised rageshake.
2022-05-25T21:30:08.288Z I To fix line numbers in Chrome: Meatball menu � Settings � Ignore list � Add /rageshake\.js$
2022-05-25T21:30:08.290Z I Using Electron platform
2022-05-25T21:30:08.294Z I Configuring rageshake persistence...
2022-05-25T21:30:08.310Z I Using WebAssembly Olm
2022-05-25T21:30:08.321Z I set language to en
2022-05-25T21:30:08.511Z I Application is running in production mode
2022-05-25T21:30:08.511Z I Vector starting at vector://vector/webapp/
2022-05-25T21:30:08.511Z I Verifying homeserver configuration
2022-05-25T21:30:08.511Z I Config uses a default_server_name - doing .well-known lookup
2022-05-25T21:30:08.511Z W DEPRECATED CONFIG OPTION: In the future, default_server_name will not be accepted. Please use default_server_config instead.
2022-05-25T21:30:08.857Z I Using homeserver config: {"hsUrl":"https://matrix-client.matrix.org","hsName":"matrix.org","hsNameIsDifferent":true,"isUrl":"https://vector.im","isDefault":true,"isNameResolvable":true,"warning":null}
2022-05-25T21:30:08.858Z I Updating SdkConfig with validated discovery information
2022-05-25T21:30:08.913Z I Got pickle key
2022-05-25T21:30:08.915Z I Restoring session for @user:matrix-server.com
2022-05-25T21:30:08.917Z I StorageManager: Checking storage consistency
2022-05-25T21:30:08.917Z I StorageManager: Local storage supported? true
2022-05-25T21:30:08.917Z I StorageManager: IndexedDB supported? true
2022-05-25T21:30:08.917Z I StorageManager: Local storage contains data? true
2022-05-25T21:30:08.917Z I StorageManager: Crypto initialised? true
2022-05-25T21:30:08.917Z I StorageManager: Sync store using IndexedDB contains data? true
2022-05-25T21:30:08.918Z I StorageManager: Crypto store using IndexedDB contains data? true
2022-05-25T21:30:08.918Z I StorageManager: Storage consistency checks passed
2022-05-25T21:30:08.929Z I Session persisted for @user:matrix-server.com
2022-05-25T21:30:08.929Z I Lifecycle: Starting MatrixClient
2022-05-25T21:30:08.936Z I EventIndex: Event indexing isn't installed for the platform, not initializing.
2022-05-25T21:30:08.936Z I IndexedDBStore.startup: connecting to backend
2022-05-25T21:30:08.936Z I MatrixClientPeg: waiting for MatrixClient store to initialise
2022-05-25T21:30:08.995Z I StorageManager: Persistent? true
2022-05-25T21:30:09.016Z I IndexedDB worker is ready
2022-05-25T21:30:09.200Z I IndexedDBStore.startup: loading presence events
2022-05-25T21:30:09.214Z I IndexedDBStore.startup: processing presence events
2022-05-25T21:30:09.221Z I Crypto: Starting up crypto store...
2022-05-25T21:30:09.221Z I connecting to indexeddb matrix-js-sdk:crypto
2022-05-25T21:30:09.222Z I connected to indexeddb matrix-js-sdk:crypto
2022-05-25T21:30:09.223Z I Crypto: initialising roomlist...
2022-05-25T21:30:09.227Z I Crypto: initialising crypto object...
2022-05-25T21:30:09.227Z I Crypto: initialising Olm...
2022-05-25T21:30:09.227Z I Crypto: initialising Olm device...
2022-05-25T21:30:09.229Z I Crypto: loading device list...
2022-05-25T21:30:09.232Z I Crypto: fetching own devices...
2022-05-25T21:30:09.232Z I Loaded cross-signing public keys from crypto store
2022-05-25T21:30:09.233Z I Crypto: checking for key backup...
2022-05-25T21:30:09.233Z I Checking key backup status...
2022-05-25T21:30:09.276Z I MatrixClientPeg: really starting MatrixClient

On another machine that I haven't update Element have this in the log:

Element version: 1.10.9
Olm version: 3.2.8
2022-05-25T21:31:48.753Z I EventIndex: Successfully initialized the event index
2022-05-25T21:31:48.756Z I EventIndex: Loaded checkpoints []`

@t3chguy
Copy link
Member

t3chguy commented May 26, 2022

I can reproduce

image

@novocaine novocaine added S-Major Severely degrades major functionality or product features, with no satisfactory workaround O-Occasional Affects or can be seen by some users regularly or most users rarely labels May 26, 2022
@t3chguy
Copy link
Member

t3chguy commented May 26, 2022

As a workaround you could manually install libssl1.1 as required by Seshat to operate

https://askubuntu.com/a/1403961

@t3chguy
Copy link
Member

t3chguy commented May 26, 2022

Regressed by element-hq/element-desktop#334

@t3chguy t3chguy self-assigned this May 26, 2022
@t3chguy t3chguy removed the X-Needs-Info This issue is blocked awaiting information from the reporter label May 26, 2022
@t3chguy t3chguy changed the title Search broken on Element desktop app: "Use the Desktop app to search encrypted messages" Search broken on Element desktop app with Ubuntu 22.04 May 26, 2022
su-ex added a commit to SchildiChat/element-desktop that referenced this issue Jun 7, 2022
* Builds Windows 32-bit builds once more! ([\element-hq#369](element-hq#369)). Fixes element-hq/element-web#13175.
* Option to disable hardware acceleration ([\element-hq#365](element-hq#365)). Fixes element-hq/element-web#13648. Contributed by @novocaine.
* Make Lao translation available ([\#22358](element-hq/element-web#22358)). Fixes element-hq/element-web#22327.
* Option to disable hardware acceleration on Element Desktop ([\#22295](element-hq/element-web#22295)). Contributed by @novocaine.
* Configure custom home.html via `.well-known/matrix/client["io.element.embedded_pages"]["home_url"]` for all your element-web/desktop users ([\#7790](matrix-org/matrix-react-sdk#7790)). Contributed by @johannes-krude.
* Live location sharing - open location in OpenStreetMap ([\#8695](matrix-org/matrix-react-sdk#8695)). Contributed by @kerryarchibald.
* Show a dialog when Jitsi encounters an error ([\#8701](matrix-org/matrix-react-sdk#8701)). Fixes element-hq/element-web#22284.
* Add support for setting the `avatar_url` of widgets by integration managers. ([\#8550](matrix-org/matrix-react-sdk#8550)). Contributed by @Fox32.
* Add an option to ignore (block) a user when reporting their events ([\#8471](matrix-org/matrix-react-sdk#8471)).
* Add the option to disable hardware acceleration ([\#8655](matrix-org/matrix-react-sdk#8655)). Contributed by @novocaine.
* Slightly better presentation of read receipts to screen reader users ([\#8662](matrix-org/matrix-react-sdk#8662)). Fixes element-hq/element-web#22293. Contributed by @pvagner.
* Add jump to related event context menu item ([\#6775](matrix-org/matrix-react-sdk#6775)). Fixes element-hq/element-web#19883.
* Add public room directory hook ([\#8626](matrix-org/matrix-react-sdk#8626)).
* Revert back to using libsqlcipher0 for Debian & Ubuntu packages of Desktop ([\element-hq#367](element-hq#367)). Fixes element-hq/element-web#22325.
* Stop Jitsi if we time out while connecting to a video room ([\#22301](element-hq/element-web#22301)). Fixes element-hq/element-web#22283.
* Remove inline margin from UTD error message inside a reply tile on ThreadView ([\#8708](matrix-org/matrix-react-sdk#8708)). Fixes element-hq/element-web#22376. Contributed by @luixxiul.
* Move unread notification dots of the threads list to the expected position ([\#8700](matrix-org/matrix-react-sdk#8700)). Fixes element-hq/element-web#22350. Contributed by @luixxiul.
* Prevent overflow of grid items on a bubble with UTD generally ([\#8697](matrix-org/matrix-react-sdk#8697)). Contributed by @luixxiul.
* Create 'Unable To Decrypt' grid layout for hidden events on a bubble layout ([\#8704](matrix-org/matrix-react-sdk#8704)). Fixes element-hq/element-web#22365. Contributed by @luixxiul.
* Fix - AccessibleButton does not set disabled attribute ([\#8682](matrix-org/matrix-react-sdk#8682)). Contributed by @kerryarchibald.
* Fix font not resetting when logging out ([\#8670](matrix-org/matrix-react-sdk#8670)). Fixes element-hq/element-web#17228.
* Fix local aliases section of room settings not working for some homeservers (ie ([\#8698](matrix-org/matrix-react-sdk#8698)). Fixes element-hq/element-web#22337.
* Align EventTile_line with display name on message bubble ([\#8692](matrix-org/matrix-react-sdk#8692)). Fixes element-hq/element-web#22343. Contributed by @luixxiul.
* Convert references to direct chat -> direct message ([\#8694](matrix-org/matrix-react-sdk#8694)). Contributed by @novocaine.
* Improve combining diacritics for U+20D0 to U+20F0 in Chrome ([\#8687](matrix-org/matrix-react-sdk#8687)).
* Make the empty thread panel fill BaseCard ([\#8690](matrix-org/matrix-react-sdk#8690)). Fixes element-hq/element-web#22338. Contributed by @luixxiul.
* Fix edge case around composer handling gendered facepalm emoji ([\#8686](matrix-org/matrix-react-sdk#8686)).
* Fix a grid blowout due to nowrap displayName on a bubble with UTD ([\#8688](matrix-org/matrix-react-sdk#8688)). Fixes element-hq/element-web#21914. Contributed by @luixxiul.
* Apply the same max-width to image tile on the thread timeline as message bubble ([\#8669](matrix-org/matrix-react-sdk#8669)). Fixes element-hq/element-web#22313. Contributed by @luixxiul.
* Fix dropdown button size for picture-in-picture CallView ([\#8680](matrix-org/matrix-react-sdk#8680)). Fixes element-hq/element-web#22316. Contributed by @luixxiul.
* Live location sharing - fix square border for image-less avatar (PSF-1052) ([\#8679](matrix-org/matrix-react-sdk#8679)). Contributed by @kerryarchibald.
* Stop connecting to a video room if the widget messaging disappears ([\#8660](matrix-org/matrix-react-sdk#8660)).
* Fix file button and audio player overflowing from message bubble ([\#8666](matrix-org/matrix-react-sdk#8666)). Fixes element-hq/element-web#22308. Contributed by @luixxiul.
* Don't show broken composer format bar when selection is whitespace ([\#8673](matrix-org/matrix-react-sdk#8673)). Fixes element-hq/element-web#10788.
* Fix media upload http 413 handling ([\#8674](matrix-org/matrix-react-sdk#8674)).
* Fix emoji picker for editing thread responses ([\#8671](matrix-org/matrix-react-sdk#8671)). Fixes matrix-org/element-web-rageshakes#13129.
* Map attribution while sharing live location is now visible ([\#8621](matrix-org/matrix-react-sdk#8621)). Fixes element-hq/element-web#22236. Contributed by @weeman1337.
* Fix info tile overlapping the time stamp on TimelineCard ([\#8639](matrix-org/matrix-react-sdk#8639)). Fixes element-hq/element-web#22256. Contributed by @luixxiul.
* Fix position of wide images on IRC / modern layout ([\#8667](matrix-org/matrix-react-sdk#8667)). Fixes element-hq/element-web#22309. Contributed by @luixxiul.
* Fix other user's displayName being wrapped on the bubble message layout ([\#8456](matrix-org/matrix-react-sdk#8456)). Fixes element-hq/element-web#22004. Contributed by @luixxiul.
* Set spacing declarations to elements in mx_EventTile_mediaLine ([\#8665](matrix-org/matrix-react-sdk#8665)). Fixes element-hq/element-web#22307. Contributed by @luixxiul.
* Fix wide image overflowing from the thumbnail container ([\#8663](matrix-org/matrix-react-sdk#8663)). Fixes element-hq/element-web#22303. Contributed by @luixxiul.
* Fix styles of "Show all" link button on ReactionsRow ([\#8658](matrix-org/matrix-react-sdk#8658)). Fixes element-hq/element-web#22300. Contributed by @luixxiul.
* Automatically log in after registration ([\#8654](matrix-org/matrix-react-sdk#8654)). Fixes element-hq/element-web#19305. Contributed by @justjanne.
* Fix offline status in window title not working reliably ([\#8656](matrix-org/matrix-react-sdk#8656)).
* Align input area with event body's first letter in a thread on IRC/modern layout ([\#8636](matrix-org/matrix-react-sdk#8636)). Fixes element-hq/element-web#22252. Contributed by @luixxiul.
* Fix crash on null idp for SSO buttons ([\#8650](matrix-org/matrix-react-sdk#8650)). Contributed by @hughns.
* Don't open the regular browser or our context menu on right-clicking the `Options` button in the message action bar ([\#8648](matrix-org/matrix-react-sdk#8648)). Fixes element-hq/element-web#22279.
* Show notifications even when Element is focused ([\#8590](matrix-org/matrix-react-sdk#8590)). Contributed by @sumnerevans.
* Remove padding from the buttons on edit message composer of a event tile on a thread ([\#8632](matrix-org/matrix-react-sdk#8632)). Contributed by @luixxiul.
* ensure metaspace changes correctly notify listeners ([\#8611](matrix-org/matrix-react-sdk#8611)). Fixes element-hq/element-web#21006. Contributed by @justjanne.
* Hide image banner on stickers, they have a tooltip already ([\#8641](matrix-org/matrix-react-sdk#8641)). Fixes element-hq/element-web#22244.
* Adjust EditMessageComposer style declarations ([\#8631](matrix-org/matrix-react-sdk#8631)). Fixes element-hq/element-web#22231. Contributed by @luixxiul.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Electron A-Indexing Indexing messages via Seshat O-Occasional Affects or can be seen by some users regularly or most users rarely S-Major Severely degrades major functionality or product features, with no satisfactory workaround T-Defect X-Regression Z-Platform-Specific
Projects
None yet
3 participants