Skip to content
GitLab
Explore
Sign in
Register
Hypra
gnome-orca
Compare revisions
ec6e2e32683b0895fbca4bba7e8f3a08a174201c to 38e387e6fa303fd475477f8d8b090e734c0a412b
Commits on Source (2)
Fix verbosity in LibreOffice 4.2 when style changes during navigation
· 0771f288
Colomban Wendling
authored
Feb 12, 2019
0771f288
Merge branch 'stretch-lo42-styles-verbosity' into stretch-master
· 38e387e6
Colomban Wendling
authored
Mar 19, 2019
38e387e6
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
38e387e6
...
...
@@ -54,6 +54,8 @@ gnome-orca (3.24.0-2+hypra2) UNRELEASED; urgency=medium
1001-Mark-character-with-SSML-say-as-when-speaking-single.patch.
* 1003-Speak-key-events-as-characters.patch: New patch to also speak keys
as characters when appropriate
* 2006_lo42-styles-verbosity.patch: New patch not to announce changes from
unfocused combo boxes in LibreOffice.
-- Samuel Thibault <sthibault@debian.org> Wed, 13 Jun 2018 17:23:04 +0200
...
...
debian/patches/2006_lo42-styles-verbosity.patch
0 → 100644
View file @
38e387e6
soffice: Do not announce selection changes from unfocused combo boxes
This is useful in LibreOffice 4.2 as the style toolbar updates when
navigating the document, and its combo boxes emit the signals when they
display the new value, leading to noise.
--- a/src/orca/scripts/apps/soffice/script.py
+++ b/src/orca/scripts/apps/soffice/script.py
@@ -875,7 +875,9 @@
class Script(default.Script):
return
selectedChildren = self.utilities.selectedChildren(event.source)
- if len(selectedChildren) == 1:
+ if len(selectedChildren) == 1 \
+ and self.utilities.containingComboBox(event.source) == \
+ self.utilities.containingComboBox(orca_state.locusOfFocus):
orca.setLocusOfFocus(event, selectedChildren[0], True)
def onTextSelectionChanged(self, event):
debian/patches/series
View file @
38e387e6
...
...
@@ -32,3 +32,4 @@ mozilla-invalid-images.patch
1002-french-y-pronunciation.patch
1002-Avoid-double-character-representation-expansion.patch
1003-Speak-key-events-as-characters.patch
2006_lo42-styles-verbosity.patch