Bug 485047 - Neochat doesn't start when Krunner seach plugin is enabled
Summary: Neochat doesn't start when Krunner seach plugin is enabled
Status: REPORTED
Alias: None
Product: NeoChat
Classification: Applications
Component: General (show other bugs)
Version: 24.02.1
Platform: NixOS Linux
: NOR normal
Target Milestone: ---
Assignee: Tobias Fella
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-04 20:17 UTC by patka
Modified: 2024-04-04 20:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description patka 2024-04-04 20:17:48 UTC
SUMMARY

Neochat starts properly with the desktop file when the Krunner Search Plugin is disabled. When I enable it and want to start Neochat it doesn't work. I can start it from the terminal and then it works, but I get the following errors:

```
org.kde.kunifiedpush.client: No UnifiedPush distributor found.
qt.qml.typeresolution.cycle: Cyclic dependency detected between "qrc:/qt/qml/org/kde/desktop/private/TextFieldContextMenu.qml" and "qrc:/qt/qml/org/kde/desktop/MenuItem.qml"
Reading access token from the keychain for "@patka_123:matrix.org"
quotient.main: The library is built with end-to-end encryption (E2EE)
qrc:/org/kde/neochat/qml/main.qml:250:9: QML RoomListPage: Created graphical object was not placed in the graphics scene.
qrc:/org/kde/neochat/qml/RoomPage.qml:17:1: QML RoomPage: Created graphical object was not placed in the graphics scene.
qrc:/org/kde/neochat/qml/RoomInformation.qml:133:13: QML ListSectionHeader: Binding loop detected for property "implicitWidth"
qrc:/org/kde/neochat/qml/RoomInformation.qml:67:13: QML ListSectionHeader: Binding loop detected for property "implicitWidth"
quotient.jobs.thumbnail: 400 <- GET https://matrix-client.matrix.org/_matrix/media/v3/thumbnail/nixos.org/f4d22fb201b86281502301aea97c3c692c9ea2db
quotient.jobs.thumbnail: "GetContentThumbnailJob" status IncorrectRequest: Cannot find any thumbnails for the requested media ('/_matrix/media/v3/thumbnail/nixos.org/f4d22fb201b86281502301aea97c3c692c9ea2db'). This might mean the media is not a supported_media_format=(image/jpeg, image/jpg, image/webp, image/gif, image/png) or that thumbnailing failed for some other reason. (Dynamic thumbnails are disabled on this server.)
ThumbnailResponse: no valid image for "nixos.org/f4d22fb201b86281502301aea97c3c692c9ea2db" - "Cannot find any thumbnails for the requested media ('/_matrix/media/v3/thumbnail/nixos.org/f4d22fb201b86281502301aea97c3c692c9ea2db'). This might mean the media is not a supported_media_format=(image/jpeg, image/jpg, image/webp, image/gif, image/png) or that thumbnailing failed for some other reason. (Dynamic thumbnails are disabled on this server.)"
qrc:/qt/qml/org/kde/kirigamiaddons/labs/components/Avatar.qml:201:9: QML QQuickImage: Cannot find any thumbnails for the requested media ('/_matrix/media/v3/thumbnail/nixos.org/f4d22fb201b86281502301aea97c3c692c9ea2db'). This might mean the media is not a supported_media_format=(image/jpeg, image/jpg, image/webp, image/gif, image/png) or that thumbnailing failed for some other reason. (Dynamic thumbnails are disabled on this server.)
There's no gateway, not setting up push notifications.
kf.sonnet.core: No language dictionaries for the language: "en_US"
kf.sonnet.core: No language dictionaries for the language: "en_US"
qrc:/org/kde/neochat/qml/TimelineView.qml:139:17: QML SectionDelegate: Possible anchor loop detected on horizontal anchor.
```

STEPS TO REPRODUCE
1. Make sure Neochat is installed but not running.
2. Go to Krunner settings -> Configure Enabled Search plugins -> select Neochat -> Apply.
3. Use Krunner to open Neochat and observe that it doesn't work.
4. run neochat from the terminal and observe that it does work, with the above error message.

OBSERVED RESULT
Neochat not starting with Krunner.

EXPECTED RESULT
Neochat starting with Krunner.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma:  NixOS 24.05
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3
Wayland

ADDITIONAL INFORMATION
I have asked the NixOS KDE maintainers and they suspect it's an upstream bug (hence why I post it here).