Re: [g-a-devel] Gnopernicus and textmode app, how avoiding crash



Hi Daniel:

I attach a patch from Louie Zhao which is reported to fix the problem with Sun-mozilla, when applied to the Sun mozilla source tree.

Reverting to an earlier version of yelp should help you as well.

regards

Bill
/


/Daniel COTTO wrote:

			Hello everyone,

I have resolved the problem caused by textmode app by upgrading my debian to
the testing dist.

Now, I have gnome 2.10 and xfree 6.8.2 and no problems regarding textmode
apps.

However, the gnome system become no accessible. In fact yelp use mozilla and debian's mozilla is not accessible. What should I do ?
* hold the previous yelp version 2.6.x ?
* try to recompile mozilla (but someone has reported problem between
sun-mozilla and debian) ?
* Try to have an accessible firefox (but where can I download it).

Thanks for your help
Regards

Daniel


-----Message d'origine-----
De : gnome-accessibility-devel-bounces gnome org
[mailto:gnome-accessibility-devel-bounces gnome org] De la part de Calum
Benson
Envoyé : mardi 20 septembre 2005 16:11
À : Bill Haneman
Cc : gnome-accessibility-devel gnome org; Janina Sajka
Objet : Re: [g-a-devel] Gnopernicus and textmode app, how avoiding crash

On Tue, 2005-09-20 at 13:46 +0100, Bill Haneman wrote:

Apparently not... sorry!

(Because, FWIW, Sun wanted to use shortcuts in JDS that would be
familiar to Windows users in the most part, so we default to Super-R for
the Run dialog instead.)

Cheeri,
Calum.


Index: src/html/nsHTMLFormControlAccessible.cpp
===================================================================
RCS file: /export/src/cvs/mozilla1.7/mozilla/accessible/src/html/nsHTMLFormControlAccessible.cpp,v
retrieving revision 1.13
diff -p -u -5 -r1.13 nsHTMLFormControlAccessible.cpp
--- src/html/nsHTMLFormControlAccessible.cpp	28 Apr 2005 03:01:40 -0000	1.13
+++ src/html/nsHTMLFormControlAccessible.cpp	30 Sep 2005 07:05:14 -0000
@@ -473,18 +473,20 @@ nsIDOMNode* nsHTMLTextFieldAccessible::G
   // Set upperDepth to ensure finding all kinds of XUL Textbox successfully
   // 1. XUL Textbox (normal) is the grandparent of HTML inputField
   // 2. XUL Textbox (type=autocomplete) is the parent of the grandparent of HTML inputField
   const PRInt32 upperDepth = 3;
 
-  nsCOMPtr<nsIDOMNode> parentNode = mDOMNode;
+  nsCOMPtr<nsIDOMNode> parentNode;
+  nsCOMPtr<nsIDOMNode> tempNode(mDOMNode);
   for (PRInt32 i = 0; i < upperDepth; i++) {
-     if (!parentNode)
+     if (!tempNode)
        return nsnull;
-     parentNode->GetParentNode(getter_AddRefs(parentNode));
+     tempNode->GetParentNode(getter_AddRefs(parentNode));
      nsCOMPtr<nsIDOMXULTextboxElement> textBoxElt = do_QueryInterface(parentNode);
      if (textBoxElt)
        return textBoxElt;
+     tempNode = parentNode;
   }
 
   return nsnull;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]