! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
add Web Search link to successful searches
Status:
RESOLVED: FIXED
Severity:
enhancement
Product:
Xfce4-dict
Component:
General

Comments

Description Liv 2015-08-19 11:50:14 CEST
Using 0.7.1. 


I have a workflow issue with xfce4-dict that has been bugging me for years. Here it goes: 
- my usual flow is to use local wordnet dictionaries. I have a "ctrl+alt+s" binding that calls `xfce4-dict -c`, so I double click a word (e.g. "hello" in browser), call the shortcut, and get the instantaneous definition
- if the word is unknown to the selected dictionary (e.g. "helloa"), I get a "Web Search:" link which is very helpful. I click on it and try to see if the word is known to an online dictionary

The difficulty is when I have a word that is known to the current dictionary (e.g. "hello"), but I also want to further explore its meanings in a web-search. To do that I have to select "Web service" in xfce4-dict and hit Find, after which the dict closes. The trouble is that this changes the default usage of the dictionary, so that next time I double click a word and "ctrl+alt+s", I will get a web-search, but what I actually want is what I usually do: a local search. So after a web-search I *always* have to revert the default settings in xfce4-dict. 

I think it would be easy to work around this issue if "Dictionary Server" searches *always* displayed a web-search link below the definition when the search is successful. So if you search for "hello", you get the wordnet definition, and below you still get: 

Web Search:
Search "hello" using "Wiktionary, the free dictionary (EN)"

This would keep "Dictionary Server" always as default, but also allow for easily launching the web-search when the user so desires.
Comment 1 Git Bot editbugs 2017-06-12 02:11:33 CEST
Andre Miranda referenced this bugreport in commit 4224d2c30cd6b766c02355ca4729fab2e85b7ced

Append web search link to successful queries (bug #12154)

https://git.xfce.org/apps/xfce4-dict/commit?id=4224d2c30cd6b766c02355ca4729fab2e85b7ced
Comment 2 Andre Miranda editbugs 2017-06-12 02:13:12 CEST
Fair enough, improvement available in master.

Bug #12154

Reported by:
Liv
Reported on: 2015-08-19
Last modified on: 2017-06-12

People

Assignee:
Harald Judt
CC List:
2 users

Version

Attachments

Additional information