Gnurou / tagainijisho

A free Japanese dictionary and learning assistant
http://www.tagaini.net
GNU General Public License v3.0
364 stars 51 forks source link

[Bug Report] Not able to open browser links in definition pane by clicking them #267

Open TheV360 opened 12 months ago

TheV360 commented 12 months ago

I'm running OpenSUSE Tumbleweed and GNOME 45.1, and I have installed Tagaini Jisho through the package manager, via YaST2.

I have "find example sentences online" enabled, and when I click links, nothing happens and no browser opens. I decided to run an experiment - I hooked this up to strace to see if it even asks to open a link in a web browser, like so:

strace -s 256 -f tagainijisho 2>&1 | grep '://'

Unfortunately, there was no printout over the time I used the program, while I was clicking any hyperlink I saw in the definitions pane. (Aside from the hyperlinks to searches (like allwords:?reset=true&kanji=来, which successfully changes the search parameters) the magnifying glass button, and clicking any term in the "related" and "radicals/components" boxes, which all work as intended.) This also did not work when I tried to click the "vocabulary type" hyperlinks (adv longdesc://pos#adv, vk longdesc://pos#vk and vi longdesc://pos#vi, etc.)

To see what a regular "open this page in the browser" requests look like, I opened gnome-dictionary and clicked the License link in the About window.

[pid 10000] execve("/usr/libexec/gio-launch-desktop", ["/usr/libexec/gio-launch-desktop", "/usr/bin/firefox", "https://www.gnu.org/licenses/old-licenses/gpl-2.0.html"], 0x123456789abc /* 84 vars */ <unfinished ...>

The work-around for now is to right-click the web links and copy the address, then paste it into a new tab. However, I have no way to access the "vocabulary type" filters (longdesc://pos#adv and such)