[orca] Fix for bug 709447 - Orca segfaults when run with the wayland backend.
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix for bug 709447 - Orca segfaults when run with the wayland backend.
- Date: Fri, 4 Oct 2013 20:21:42 +0000 (UTC)
commit 5b5d7a765a1bc0643b1937ae351a1dfb245cc40c
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Fri Oct 4 16:16:12 2013 -0400
Fix for bug 709447 - Orca segfaults when run with the wayland backend.
Sometimes Wnck.Screen.get_default() causes Orca to segfault when
Orca is launched with the wayland backend. It appears to be a race
condition, but it happens often enough and is severe enough that
I'll comment the offending call out for now so work related to
Wayland accessibility is not held up further.
src/orca/mouse_review.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/mouse_review.py b/src/orca/mouse_review.py
index 12b39ff..3871804 100644
--- a/src/orca/mouse_review.py
+++ b/src/orca/mouse_review.py
@@ -150,7 +150,8 @@ class MouseReviewer:
return
# Need to do this and allow the main loop to cycle once to get any info
- wnck_screen = Wnck.Screen.get_default()
+ # IMPORTANT: This causes orca to segfault upon launch in Wayland.
+ # wnck_screen = Wnck.Screen.get_default()
self.active = False
self._currentMouseOver = _ItemContext()
self._oldMouseOver = _ItemContext()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]