Bug 495845

Summary: Searching application (KRunner, Plasmashell) quits for some queries while the Browser Integration plugin is enabled
Product: [Plasma] plasma-browser-integration Reporter: Karcsesz <dump+kdebugs>
Component: FirefoxAssignee: Kai Uwe Broulik <kde>
Status: REPORTED ---    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Karcsesz 2024-11-05 15:23:04 UTC
SUMMARY
Whenever searching for a select few keywords in KRunner or through Application Launcher's search field, the given application cleanly exits without logging anything or generating a crash dump.

I have quite a lot of tabs open in Firefox (manually running a query against the extension's DBus service makes QDBusViewer lag), so my hunch is this either has to do with a message size limit or the request timing out.

Disabling "Browser Tabs" from Plasma Search works around the issue.

STEPS TO REPRODUCE
1. (probably) have a lot of open tabs in Firefox (I have a bit over 1000, no I do not have a problem >c<)
2. Install Plasma Integration 1.9.1 and have Browser Tabs enabled in Plasma Search settings
3. Experiment with KRunner while having `journalctl --user -f` running
4. On some search terms KRunner exits without a single logged error
5. Try the same with the builtin search for Application Launcher
6. plasmashell quits without any automatic recovery taking place

OBSERVED RESULT

```
nov 05 16:03:25 Littlepip systemd[1005]: Started KRunner.
nov 05 16:03:25 Littlepip krunner[7829]: Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
nov 05 16:03:32 Littlepip systemd[1005]: plasma-krunner.service: Consumed 844ms CPU time, 177.9M memory peak.
```

EXPECTED RESULT
Plasma Search either truncates the response and returns less precise results or scolds the user for having too many open tabs.

SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 6.11.6-arch1-1 (64-bit)
KDE Plasma Version: 6.2.2 (Wayland)
KDE Frameworks Version: 6.7.0
Qt Version: 6.8.0