Bugzilla – Attachment 66904 Details for
Bug 47368
Many crashes when accessibility enabled on MacOS X
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
potential infinite recursion fix (?)
mac-a11y-recursion.diff (text/plain), 1.18 KB, created by
Michael Meeks
on 2012-09-10 08:20:22 UTC
(
hide
)
Description:
potential infinite recursion fix (?)
Filename:
MIME Type:
Creator:
Michael Meeks
Created:
2012-09-10 08:20:22 UTC
Size:
1.18 KB
patch
obsolete
>diff --git a/vcl/aqua/source/a11y/aqua11ywrapper.mm b/vcl/aqua/source/a11y/aqua11ywrapper.mm >index 86bc720..604070e 100644 >--- a/vcl/aqua/source/a11y/aqua11ywrapper.mm >+++ b/vcl/aqua/source/a11y/aqua11ywrapper.mm >@@ -971,7 +971,9 @@ Reference < XAccessibleContext > hitTestRunner ( com::sun::star::awt::Point poin > com::sun::star::awt::Point hitPoint ( point.X - location.X , point.Y - location.Y); > Reference < XAccessible > rxAccessible = rxAccessibleComponent -> getAccessibleAtPoint ( hitPoint ); > if ( rxAccessible.is() && rxAccessible -> getAccessibleContext().is() ) { >- if ( rxAccessible -> getAccessibleContext() -> getAccessibleChildCount() > 0 ) { >+ if ( rxAccessible->getAccessibleContext() != rxAccessibleContext ) { // hit ourself >+ hitChild = rxAccessible -> getAccessibleContext(); >+ } else if ( rxAccessible -> getAccessibleContext() -> getAccessibleChildCount() > 0 ) { > hitChild = hitTestRunner ( point, rxAccessible -> getAccessibleContext() ); > if ( ! hitChild.is() ) { > hitChild = rxAccessible -> getAccessibleContext();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 47368
:
58540
|
64540
|
64623
|
66880
|
66904
|
66907
|
67635