Bug#881099: libatk-adaptor: breaks LibreOffice TexMaths extension
Paul Gevers
elbrus at debian.org
Tue Nov 7 19:28:33 UTC 2017
Package: libatk-adaptor
Version: 2.22.0-2
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
This bug is a forward of Ubuntu bug 1641284¹, that was reported to also exist
in Debian Strech. I have not verified myself, but the report seemed carefully
written.
=====
If the package libatk-adaptor is installed on Ubuntu (as a depency of
gnome-orca for example), it breaks down the LibreOffice TexMaths
extension. TexMaths is a popular extension used to enter / edit LaTeX equations
on LibreOffice (see http://roland65.free.fr/texmaths).
Step to reproduce the bug:
1. It is assumed that LibreOffice 5.1.4 (with at least the Writer and Draw
components) is installed on Ubuntu. It is also assumed that libatk-adaptor is
installed.
2. Install texlive:
sudo apt-get install texlive
3. Download and install the TexMaths extension (version 0.42) from there:
https://sourceforge.net/projects/texmaths/files/0.42/
4. Create a new empty Writer document, then click on the Pi icon (this is the
TexMaths icon) and in the window that opens, type: 'x(t)+y(t)' (without the
quotes), then click on the LaTeX button. This generates an SVG image of the
'x(t)+y(t)' equation.
5. Select the SVG image of the equation by left clicking on it. Then click on
the Pi icon. Now, instead of editing the equation, an error message is
displayed: "The selected object is not a TexMaths equation... Please unselect
it and call the macro again...".
6. Now, right click on the SVG image and select the 'Description' menu
voice. In the window that opens, the description is empty and does not contain
the equation text, as it should.
7. Now purge (and not just remove) the libatk-adaptor package:
sudo apt-get purge libatk-adaptor
then logout and login and repeat the steps 4, 5, and 6: everything is OK and
the equation can be edited as usual.
Another way to remove the bug instead of purging libatk-adaptor is to rename
the file: /etc/X11/Xsession.d/90atk-adaptor to
/etc/X11/Xsession.d/90atk-adaptor.orig . Then logout and login.
- ---
I forgot to mention that I am the author of the TexMaths extension. Of course,
during my testing there was no other extension installed. The bug occurs in
5.1.x and 5.2.x versions of LibreOffice. I used a fresh Ubuntu 16.04.1 install
for the test, but the bug appears in various Ubuntu flavours too, as many
TexMaths users reported.
You should also consider the other bug I reported
(https://bugs.launchpad.net/ubuntu/+source/at-spi2-atk/+bug/1584795), which
relates LibreOffice and liabatk-adaptor.
These two bugs are 100% reproducibles.
- ---
Bug confirmed on Debian 9 (stretch), too.
Here, libatk-adaptor is installed by default as a dependency of orca und
task-xfce-desktop. So i cannot purge it without breaking my system.
After disabling atk-adaptor
mv /etc/X11/Xsession.d/90atk-adaptor /etc/X11/Xsession.d/90atk-adaptor.bak
as suggested by Roland65 here
https://sourceforge.net/p/texmaths/bugs/69/#822d
my TexMaths-Plugin works fine.
¹ https://bugs.launchpad.net/ubuntu/+bug/1641284
- -- System Information:
Debian Release: buster/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing'), (200, 'testing'), (50, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 4.13.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages libatk-adaptor depends on:
ii libatk-bridge2.0-0 2.26.0-1
ii libatk1.0-0 2.26.0-2
ii libatspi2.0-0 2.26.0-2
ii libc6 2.24-17
ii libdbus-1-3 1.11.22-1
ii libglib2.0-0 2.54.1-1
libatk-adaptor recommends no packages.
libatk-adaptor suggests no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEWLZtSHNr6TsFLeZynFyZ6wW9dQoFAloCCVsACgkQnFyZ6wW9
dQp8IAf/UmJKirNG5kgCjioyQanwr3eKVy4d8a7NUlOeIPCO1iRJTFgsjkoDY1po
FOefdf4zj1rmxFwbxWEfaVbbxwykgLUsjNlwNvekh2nAwNwzJKp1DJNLKiRGK7wM
ZKgFxDmDj7dYkdUwpCmDQG16lYrLESnckO+57cstsaZCEGyMvEMOGmkRQNUWTYUu
fkDCct66tT+CiWS3XNnzUuwSRMoJMGM2vlM3QtVExLgX8fRi2YkczwGpTG6+4mw0
JwyHrO6A7xE496Nc3k4kGouLKGDC+M9Px7kbhBlAG29uqtWruWYIQtIh8vpQU0C9
tTqm9VLYTRIT111tJXGn4RU8ZG6gCQ==
=gexh
-----END PGP SIGNATURE-----
More information about the Pkg-a11y-devel
mailing list