Package: libqt6texttospeech6
Version: 6.8.2-2
Severity: important
Tags: a11y
Control: affects -1 okular
Control: found -1 6.11.2-2

Hi,
This is essentially the same bug as #958747, but now with Qt 6 instead of Qt 5. 
Basically, it appears libqt6texttospeech6 is not useful without a speech plugin 
installed, some applications using this library don't report this error to the 
user effectively, and no package relationships would cause a speech plugin to 
be pulled in (not even as a transitive Recommends or Suggests).

In Okular for example, on a conventional Debian system, one may go to 
Tools→Speak Whole Document, but Okular will do nothing and fail silently 
without any error indication. Only if one opens a terminal they may find the 
following message on the console:
> No text-to-speech plug-ins were found.

The commit 
https://salsa.debian.org/qt-kde-team/qt6/qt6-speech/-/commit/70d365d2113732678762ec0bc539ffaadd69fb17
 basically fixed this, but only for qml6-module-qttexttospeech. Okular doesn't 
need that package, just libqt6texttospeech6, and indeed, there's no package on 
my system that wants the former (as determined by 'aptitude why').

It appears this problem has been partly papered over, because a few packages 
have been explicitly adding their own relationships on a speech plugin when 
they shouldn't need to. qt6-speech-examples directly depends on at least one 
speech plugin, and Calibre (the e-book program) has directly added Recommends 
on a speech plugin.
I would appreciate if this could be addressed in Trixie; this problem is hard 
for a user to identify. I only recognized what was happening because I was the 
submitter of #958747 six years ago (wow, time sure does fly...) 

-- System Information:
Debian Release: 13.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security-debug'), (500, 
'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), 
(500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.107+deb13-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libqt6texttospeech6 depends on:
ii  libc6                                  2.43-5
ii  libqt6core6t64 [qt6-base-private-abi]  6.8.2+dfsg-9+deb13u2
ii  libqt6multimedia6                      6.8.2-8
ii  libstdc++6                             14.2.0-19

libqt6texttospeech6 recommends no packages.

libqt6texttospeech6 suggests no packages.

-- no debconf information

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to