dogtail-devel [Bug 321564] Sniff does not show text for non-editable text nodes



Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=321564
 dogtail | Framework | Ver: CVS HEAD

Dave Malcolm changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Sniff does not show text for|Sniff does not show text for
                   |all text nodes in epiphany  |non-editable text nodes



------- Additional Comments From Dave Malcolm  2005-11-16 00:29 -------
OK, I liberally scattered print expressions in setupTable and I think I've
figured out the problem.

In this line:
# Eeew! I'm touching tree's privates.
assert node._Node__editableText

If a node supports the Text interface but not the EditableInterface, then the
expression node._Node__editableText causes an AttributeError; the assertion
never gets a chance to fire.  Hence control passes into the  except
AttributeError: clause where the buffer for the GtkTextView is emptied, and you
never see the text.

I can write a patch for this but it's not clear what that whole signal thing is
meant to do.  Are you trying to suppress emission of the "changed" signal whilst
 changing the buffer yourself?  If so, there are ways to do this

Changing bug title to better reflect the problem

------- You are receiving this mail because: -------
You are watching the assignee for the bug.
You are watching the QA contact.



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