← Back to team overview

dx-packages team mailing list archive

[Bug 877358] Re: QtAccessibility causes crashes in several applications

 

The Precise Pangolin has reached end of life, so this bug will not be
fixed for that release

** Changed in: qt-at-spi (Ubuntu Precise)
       Status: Confirmed => Won't Fix

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to unity-2d in Ubuntu.
https://bugs.launchpad.net/bugs/877358

Title:
  QtAccessibility causes crashes in several applications

Status in at-spi2-core package in Ubuntu:
  Invalid
Status in unity-2d package in Ubuntu:
  Fix Released
Status in at-spi2-core source package in Oneiric:
  Fix Released
Status in qt-at-spi source package in Oneiric:
  Won't Fix
Status in unity-2d source package in Oneiric:
  Fix Released
Status in at-spi2-core source package in Precise:
  Invalid
Status in qt-at-spi source package in Precise:
  Won't Fix
Status in unity-2d source package in Precise:
  Fix Released

Bug description:
  See backtraces, and possible further comments here:

  https://bugs.kde.org/buglist.cgi?long_desc_type=substring&long_desc=QAccessible&bug_severity=crash&bug_status=UNCONFIRMED

  If possible, please give instructions how to workaround it (e.g. by
  disabling QtAccessibility) until the bugs are fixed. If the crashes
  are caused by bugs in KDE applications itself, please file back bug
  reports to the KDE bug tracker.

  ---- SRU Info ----

  [Impact]

  QtAccessibility causes crashes in several applications when enabled.
  This affects Qt and KDE applications started on an accessibility-
  enabled desktop, be it Unity or KDE.

  [Development Fix]

  Upstream is confident QtAccessibility is stable enough in Qt 4.8 that
  no workaround will be needed in Precise.

  [Stable Fix]

  QtAccessibility does not cause Unity 2D to crash, as crashes are
  caused by widgets which are not used in Unity 2D. Since the desktop
  must be accessible, it is important to keep QtAccessibility activated
  for Unity 2D, but not for other applications.

  Activation of QtAccessibility is controlled by the QT_ACCESSIBILITY
  environment variable.

  The fix consists of two steps:

  - Do not enable QtAccessibility if desktop accessibility is enabled.
  This is implemented in the at-spi2-core debdiff

  - Enable QtAccessibility at startup of Unity 2D so that the desktop
  remains accessible, but disable it before starting applications so
  that they do not suffer from the crashes.

  It is still possible for Qt application developers to test
  accessibility of their application by explicitly setting the
  QT_ACCESSIBILITY environment variable.

  [Test Case]

  Those crashes are difficult to reproduce, but I can reliably trigger
  one on my machine with Kopete.

  1. Enable accessibility
  2. Restart the session => the QT_ACCESSIBILITY environment variable should be set
  3. Start Kopete => crash
  4. Ensure unity-2d still have accessibility enabled

  [Regression Potential]

  This fix causes accessibility to be disabled for all Qt applications
  but Unity 2D. Users who have started to rely on QtAccessibility will
  not be able to use it anymore. We (upstream and I) believe that the
  current situation is worse and that QtAccessibility is not good enough
  in Oneiric anyway for users to rely on it yet.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/at-spi2-core/+bug/877358/+subscriptions