johnfactotum / foliate

Read e-books in style
https://johnfactotum.github.io/foliate/
GNU General Public License v3.0
6.3k stars 288 forks source link

Dictionary lookup #897

Closed kaia009 closed 2 years ago

kaia009 commented 2 years ago

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:

kaia009 commented 2 years ago

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 commented 2 years ago

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

kaia009 commented 2 years ago

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.