Bug 390776

Summary: Dictionary does not work
Product: [Plasma] kdeplasma-addons Reporter: Max Schettler <max.schettler>
Component: dictionaryAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, epost.kde, erasmocaponio, f4tmike, kde, kde, matteo, mcpain, nate
Priority: NOR    
Version: 5.12.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.12.9

Description Max Schettler 2018-02-20 12:28:53 UTC
When using krunner's dictionary I get no results.

Steps to reproduce:
- open krunner
- enter 'define hello' (the define keyword might be different for you)

Expected results:
- a list of definitions for 'hello'

Actual results:
- no feedback at all, particularly no list of definitions
Comment 1 Øystein Steffensen-Alværvik 2018-02-21 15:55:27 UTC
I can reproduce on Neon 5.12.2. There's also a thread on KDE Forums with two users confirming the same: https://forum.kde.org/viewtopic.php?t=142476 
I am therefore marking this as confirmed.

From what I can understand (please fault me if I'm wrong), krunner's dictionary uses the same dict engine as the Plasma Widget 'Dictionary'. But this widget is able to look up definitions on my system (without extra dictionaries installed).
Comment 2 Kai Uwe Broulik 2018-02-21 16:01:45 UTC
There's two bugs:
First of all, the runner's adaptor to the data engine is broken and requests a word of ":" + word (note the colon) and then fails to map that.
Secondly, KRunner times out after 1.5 s or so invalidating the runner context usually before the dict result arrives.
Comment 3 Oleg Solovyov 2018-07-12 07:16:02 UTC
(In reply to Kai Uwe Broulik from comment #2)
> There's two bugs:
> First of all, the runner's adaptor to the data engine is broken and requests
> a word of ":" + word (note the colon) and then fails to map that.
> Secondly, KRunner times out after 1.5 s or so invalidating the runner
> context usually before the dict result arrives.

So, why nobody fixed it?
Comment 4 Oleg Solovyov 2018-07-12 07:24:13 UTC
(In reply to Kai Uwe Broulik from comment #2)
> Secondly, KRunner times out after 1.5 s or so invalidating the runner
> context usually before the dict result arrives.

It's milou times out after 0.5 seconds.

Created revisions
https://phabricator.kde.org/D14063
https://phabricator.kde.org/D14064
Comment 5 Matt 2019-04-03 23:23:06 UTC
Can confirm still an issue with the following system:

Operating System: Arch Linux 
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.56.0
Qt Version: 5.12.2
Kernel Version: 5.0.5-arch1-1-ARCH
OS Type: 64-bit
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 7.5 GiB of RAM

Hate to bump an old thread/bug, but its definitely still an issue for me. hspell and aspell are installed, and the Dictionary widget is installed as well
Comment 7 Nate Graham 2020-02-07 13:46:24 UTC
*** Bug 413077 has been marked as a duplicate of this bug. ***
Comment 8 Erasmo Caponio 2022-03-15 14:02:41 UTC
I have this bug in Manjaro with KDE plasma 5.24.3
Comment 9 David Edmundson 2022-03-15 16:54:21 UTC
Unless you know it's caused by the reasons states in #2 it's a new bug.
Comment 10 Erasmo Caponio 2022-03-15 17:04:20 UTC
(In reply to David Edmundson from comment #9)
> Unless you know it's caused by the reasons states in #2 it's a new bug.

I don't know. Actually, it involves the widget "Dictionay" as well. In particular, when configuring it nothing  appears in the list of available dictionaries. On the other hand,  other KDE applications in my system, kate  for example, have perfectly working language check.