After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 305094 - Want results from multiple dict-servers
Want results from multiple dict-servers
Status: RESOLVED OBSOLETE
Product: gnome-dictionary
Classification: Core
Component: general
git master
Other Linux
: Normal enhancement
: ---
Assigned To: gnome-dictionary-maint
gnome-dictionary-maint
: 312281 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-05-22 14:10 UTC by Mikael Olenfalk
Modified: 2021-06-10 11:22 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Mikael Olenfalk 2005-05-22 14:10:50 UTC
Version details: 2.10.1
Distribution/Version: Ubuntu Breezy from 2005-05-22 14:00

I use gdict extensively while writing something with abiword and I would find it
great if it could return results from multiple dict-servers, just as it is
possible with web site searches.
Comment 1 Mikael Olenfalk 2005-05-22 14:22:16 UTC
hmm, it seems this is possible when choosing for example "All Dictionaries"
instead of "Search all databases", so maybe I should just file a bug because if
I choose "Search all databases" I only get a result from the first in the list.

but still if it would be possible to mark dictionaries I want to search with
checkboxes, this would be great (because for example All Dictionaries, seems
only to be useful to find out if a word actually exists)

If I have misunderstood the meaning of "Search all databases", please let me
know and I can file a bug against gnome-utils/gdict
Comment 2 Vincent Noel 2005-05-22 14:33:01 UTC
The situation is kinda unclear regarding the way searches work...
We probe a server that returns a list of all the dictionaries it knows, so we actually have little control on 
what is shown in the dictionary list :-( It means the dictionaries shown can sometimes be 
unappropriate, or there's too many of them, or there's some you'd like to remove but you can't... (for 
example with the current default settings you get all kind of translations and synonyms and other stuff)

I'm not sure what to do here - the possibility to set your own dictionaries is very important for gdict I 
think...
Comment 3 Richard Schwarting 2005-08-01 20:37:29 UTC
StarDict has you download dictionary files:
http://stardict.sourceforge.net/Dictionaries_dictd-www.freedict.de.php
onto your own PC.  That way, you have much more control over their availibility
and use.  
Also, I just made a dupe of this bug at #312281 .  Sorry.
Comment 4 Richard Schwarting 2005-08-01 20:39:04 UTC
*** Bug 312281 has been marked as a duplicate of this bug. ***
Comment 5 Emmanuele Bassi (:ebassi) 2006-01-13 11:28:22 UTC
the dictionary protocol mandates *two* meta-databases: ! (exclamation mark) means that "all of the databases will be searched until a match is found, and all matches in that database will be displayed"; * (star) means that "all of the matches in all available databases will be displayed" (from the RFC 2229).

up until now, we always used ! instead of *. we could switch to the second, standard, meta-database.

anyway, with the ability to create our own dictionary source, now we can set a specific database for a dictionary source; a better implementation would be allowing the user to create a local meta-database, which would resolve in a batch of queries, like (forgive the python-like syntax):

  meta_database = ('jargon', 'vera', 'wordnet')
  for db in meta_database:
    set_database(db)
    define_word(word)

this would require:

 1. the dictionary source definition file and GdictSource to support lists
    of strings inside the "Database" key;
 2. the Defbox to set multiple databases instead of a single one, using a
    list or a vector of strings;
 3. the Defbox to iterate through the list of databases using the same
    algorithm I've outlined above.

this changes are not that hard (it could even be a gnome-love task, so I'll mark it that way), but would require a change inside libgdict, for which I think is a little bit late in the release cycle.  I'll pin this down for the next release cycle. 
Comment 6 Emmanuele Bassi (:ebassi) 2006-01-15 00:35:10 UTC
> up until now, we always used ! instead of *. we could switch to the second,
> standard, meta-database.

I most probably was drunk when I wrote that.  Dictionary uses * since I re-wrote it.
Comment 7 André Klapper 2021-06-10 11:22:23 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version of gnome-dictionary, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a ticket at
  https://gitlab.gnome.org/GNOME/gnome-dictionary/-/issues/

Thank you for your understanding and your help.