foliate icon indicating copy to clipboard operation
foliate copied to clipboard

Dictionary lookup

Open kaia009 opened this issue 2 years ago • 3 comments

Question: A clear and concise statement of your question. Foliate shuts down if I attempt to look up a word in dictionary. And the text-to-speech command is disabled. Both dict. lookup and text-to-speech worked perfectly in 20.04. I have installed sdcv and added the dictionaries - and lookup in terminal works perfectly. I have installed Festival, added a festvox voice, etc.

Version:

  • Foliate version: 2.6.4
  • OS/Distribution and version: [e.g. Ubuntu 18.04] Ubuntu 22.04 (fresh install, not upgrade)
  • Desktop environment: [e.g. GNOME 3.36] Gnome 42 and Wayland
  • Installation method: [e.g. Flatpak] : ppa:apandada1/foliate

kaia009 avatar May 09 '22 19:05 kaia009

Update: I was going to ask whether this is a Wayland issue and realised I restart Ubuntu without Wayland - which I did. The dictionary lookup was resolved, but the text-to-speech issue was not

kaia009 avatar May 09 '22 19:05 kaia009

New update: SOLVED After restarting again in Wayland, BOTH dictionary lookup and Text-to-speech are working perfectly.

kaia009 avatar May 09 '22 22:05 kaia009

I have now installed Ubuntu 22.04 with freshly (i.e. reformating the partitions) on TWO - 2 - laptops. a) In both cases dictionary lookup and text>speech did not initially work on the Wayland windowing system (which is now default on 22.04) although I restarted several times to be quite sure. b) In both cases dictionary lookup and text>speech both worked perfectly when I restarted with the legacy windowing system. (reached if the user clicks the bottom-right wheel on the log-in page before entering pass phrase.) c) Oddly, in both cases, dictionary lookup and text>speech both worked perfectly when I again restarted with the Wayland windowing system. Since that first detour to legacy, dictionary look-up and text>speech has worked without a glitch. I should add that the character set of the epub book I was reading was not standard latin.

I think this is worth noting, since the "workaround" is so simple, it would be a pity if users were not informed of it. So I am reopening the post.

kaia009 avatar May 14 '22 20:05 kaia009