Bug 514404 - Errors with search from the overview, running in another thread
Summary: Errors with search from the overview, running in another thread
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-overview (other bugs)
Version First Reported In: 6.5.4
Platform: CachyOS Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-10 03:15 UTC by Jérôme L
Modified: 2026-01-10 03:15 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jérôme L 2026-01-10 03:15:46 UTC
SUMMARY
Errors about plasma activities when using the search in the overview.

STEPS TO REPRODUCE
1. Open overview
2. Type to trigger a search (is it Milou? src/plugins/overview/qml/Main.qml:751)
3. Inspect journalctl

OBSERVED RESULT
Logs in journalctl about QSqlError indicates the search is performed on the wrong thread.
```
kwin_wayland[7880]: QSqlDatabasePrivate::database: requested database does not belong to the calling thread.
kwin_wayland[7880]: PlasmaActivities: Database is not open:  "" "" QSqlError("", "Driver not loaded", "Driver not loaded")
kwin_wayland[7880]: QSqlDatabasePrivate::database: requested database does not belong to the calling thread.
kwin_wayland[7880]: PlasmaActivities: Database is not open:  "" "" QSqlError("", "Driver not loaded", "Driver not loaded")
kwin_wayland[7880]: Plasma Activities ERROR: There is no database. This probably means that you do not have the Activity Manager running, or that something else is broken on your system. Recent documents and alike will not work!
```

EXPECTED RESULT
Search run correctly, just like in krunner and app launcher.

SOFTWARE/OS VERSIONS
Linux: 6.18.3
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1
Wayland
Built kwin at commit 72e6170c4eec62f800e4939c4bc2fd5ed7242e24

ADDITIONAL INFORMATION
Second part of https://bugs.kde.org/show_bug.cgi?id=491460
In the original issue, a plugin crashed the desktop.