Launchpad has imported 12 comments from the remote bug at
https://bugzilla.xfce.org/show_bug.cgi?id=14406.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2018-05-18T18:46:08+00:00 Willem Hobers wrote:

Testing Xubuntu 18.10,
Description: Ubuntu Cosmic Cuttlefish (development branch)
Release: 18.10
Linux willem-Lenovo-ideapad-110-15ISK 4.15.0-15-generic #16-Ubuntu SMP Wed Apr 
4 13:58:14 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

xfce4-dict 0.8.0 (Xfce 4.12)

On a PC with Dutch local: When entering the word "mug" in the search field of 
xfce-dict and I choose "check spelling" the word is checked against the Dutch 
spelling; as expected. If I then do a Web-search I am directed to the English 
wikipedia; I would expect to be directed to the Dutch wikipedia.
In settings I tried to change http://en.wikipedia.org/wiki/{word} to 
http://nl.wikipedia.org/wiki/{word}, but that change did not persist.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-dict/+bug/1772092/comments/1

------------------------------------------------------------------------
On 2018-05-23T01:38:48+00:00 Andreldm-2 wrote:

Works for me, at Preferences -> Web Service -> URL I set it to 
http://nl.wikipedia.org/wiki/{word} and it correctly opens the URL 
https://nl.wikipedia.org/wiki/Mug and I'm query for "mug" (The radio button 
group "Search with:" is set to "Web Service").
When you set the ULR at preferences, is it lost? I mean, when you reopen 
preferences, is it reset to http://en.wikipedia.org/wiki/{word}?
Try to launch xfce4-dict from terminal and watch out for any error message.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-dict/+bug/1772092/comments/2

------------------------------------------------------------------------
On 2018-05-23T17:59:24+00:00 Willem Hobers wrote:

I had tried to change the wiki to NL; and indeed the setting is lost,
not even accepted I think. If I change the URL and press enter nothing
happens.

Starting form cli gives:
** (xfce4-dict:26074): WARNING **: 19:58:40.502: failed to connecting to 
org.xfce.Dict, reason was: 
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.xfce.Dict 
was not provided by any .service files

Any more information I can provide to help?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-dict/+bug/1772092/comments/3

------------------------------------------------------------------------
On 2018-05-24T03:05:02+00:00 Andreldm-2 wrote:

Still can't reproduce and reviewing the code, couldn't find anything suspicious.
That warning message is expected, when there is no running instance of 
xfce4-dict.
Can you check the contents of $HOME/.config/xfce4-dict/xfce4-dict.rc? More 
specifically the value of web_url.
You can also try to set it to web_url=http://nl.wikipedia.org/wiki/{word}, just 
make sure xfce4-dict is not running.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-dict/+bug/1772092/comments/4

------------------------------------------------------------------------
On 2018-05-24T07:00:08+00:00 Willem Hobers wrote:

$HOME/.config/xfce4-dict/xfce4-dict.rc:

mode_in_use=1
mode_default=3
web_url=http://en.wiktionary.org/wiki/{word}
show_panel_entry=false
panel_entry_size=150
port=2628
server=dict.org
dict=* (allemaal gebruiken)
spell_bin=/usr/bin/enchant
spell_dictionary=nl_NL
link_color=rgb(0,0,255)
phonetic_color=rgb(0,99,0)
error_color=rgb(128,0,0)
success_color=rgb(16,112,0)
geometry=695;227;580;360;0;
speedreader_font=Sans 32
speedreader_wpm=400
speedreader_grouping=1
speedreader_mark_paragraphs=false

Changing web_url=http://en.wiktionary.org/wiki/{word} to
web_url=http://nl.wiktionary.org/wiki/{word} in mousepad and then
showing the settings in xfce4-dict gives this:
https://i.imgur.com/fPiyqTF.png. The Web-address is now NL; the wiki-
button are still EN. Searching results in going to the nl-wiki. Clicking
the wiki-button changes the web-address to the en-version again. Closing
dict and re-opening it shows the en-wiki-weburl setting remains and
dict.rc has the en-webaddress again.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-dict/+bug/1772092/comments/5

------------------------------------------------------------------------
On 2018-05-25T03:14:39+00:00 Andreldm-2 wrote:

The buttons are just URL templates, their values are hard-coded, what
really matters is the value in the URL entry.

One more try: If you press the "Wikipedia, the free encyclopedia (EN)"
button, change the URL to "http://nl.wikipedia...";, will xfce4-dict keep
the correct (dutch) URL after you close the preferences? If not, it's
really odd, I have just installed Xubuntu 18.10 in a VM and everything
works are expected.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-dict/+bug/1772092/comments/6

------------------------------------------------------------------------
On 2018-05-25T07:36:48+00:00 Willem Hobers wrote:

First pressing the "Wikipedia, the free encyclopedia (EN)" button, then 
changing the URL does indeed change the url permanently.
So that resolves the issue, but I'm not certain the end-user will naturally 
assume pressing that button first is needed to change the url.

Anything else I can do to help?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-dict/+bug/1772092/comments/7

------------------------------------------------------------------------
On 2018-05-25T16:31:01+00:00 Andreldm-2 wrote:

Actually, I don't need to press any of the buttons to change the URL, just open 
preferences, change and close.
Any suggestion to improve usability or discoverability?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-dict/+bug/1772092/comments/8

------------------------------------------------------------------------
On 2018-05-25T19:22:18+00:00 Willem Hobers wrote:

Would it be possible to have the URL and the buttons adapt to the locale of the 
install at the initial set up of dict? 
Or that at the first start up of the program the user is asked for the URL?
I expect most users would want to go their "local" wiki. But I may be wrong of 
course.

I think I basically misunderstood the function of the "Wikipedia, the
free encyclopedia (EN)" button.

But it should at least work as you describe it: when I change the URL
the change should persist, and first pressing the buttons should not be
necessary I think.

Is this helpful at all?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-dict/+bug/1772092/comments/9

------------------------------------------------------------------------
On 2018-05-26T20:50:25+00:00 Andreldm-2 wrote:

The current template buttons are clearly biased to a german user :)

Using the locale might be a good idea or not, it really depends on the type of 
user we are talking about.
You see, there are users that want to search things about their language only, 
some will mostly search things about another language and some will search 
about lots of languages or things.

What this web service search feature really needs is a redesign from
ground up, because getting into preferences just to select another web
service is tiresome. But honestly, searching from a standalone desktop
app is not that common nowadays, people usually just open a browser tab
and search what they need. Modern browsers even allow custom searches
with a prefix/keyword.

Unfortunately I lack the time to devise how this feature could be improved, 
there are other higher profile Xfce components that need my attention.
If you're indeed interested in getting this sorted out, please open a new bug 
and let's discuss this enhancement there.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-dict/+bug/1772092/comments/10

------------------------------------------------------------------------
On 2018-05-27T07:37:30+00:00 Willem Hobers wrote:

Frankly I never really used xfce4-dict; I only came across it trying to help 
the xubuntu community update their test cases, as requested by Kev 
Bowring/flocculant. 
When I did come across xfce4-dict it did occur to me that the functionality of 
xfce4-dict seemed a tad outdated to me. So, no, I have no problem with you 
turning your attention to more important matters.

Perhaps it's time to remove xfce4-dict from the xfce-libraries
altogether?

Thanks for your patience, and your answers.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-dict/+bug/1772092/comments/11

------------------------------------------------------------------------
On 2018-05-27T23:26:50+00:00 Andreldm-2 wrote:

Well, it's up to ubuntu (and any other distro) folks to ship xfce4-dict or not.
I'll try to maintain it as long as I have the time, I like to think there is a 
guy or two that still find it useful ;)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/xfce4-dict/+bug/1772092/comments/12


** Changed in: xfce4-dict
       Status: Unknown => Invalid

** Changed in: xfce4-dict
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1772092

Title:
  xfce4-dict redirects web searches to the english wikipedia even when I
  have a non-english local set

To manage notifications about this bug go to:
https://bugs.launchpad.net/xfce4-dict/+bug/1772092/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to