Cannot introspect GtkTextView contents

Bug #1194371 reported by Martin Pitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
autopilot-gtk
Fix Released
Medium
Martin Pitt
autopilot-gtk (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

While writing unit tests for autopilot-gtk, I noticed that there is no way to get to the contents of a GtkTextView widget. This uses a GtkTextBuffer object for storing the contents, which can usually be accessed through the "buffer" property. But as that isn't a simple type, "buffer" doesn't exist in ap-gtk. GtkTextBuffer itself is not a widget, so it doesn't appear as a child either. Supposedly this needs some custom code in the plugin to export the text buffer contents as a synthetic string property, preferably "buffer" itself.

Related branches

Martin Pitt (pitti)
Changed in autopilot-gtk:
status: New → Triaged
importance: Undecided → Medium
Martin Pitt (pitti)
Changed in autopilot-gtk:
status: Triaged → In Progress
assignee: nobody → Martin Pitt (pitti)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:autopilot-gtk at revision 51, scheduled for release in autopilot-gtk, milestone Unknown

Changed in autopilot-gtk:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package autopilot-gtk - 1.3+13.10.20130628-0ubuntu1

---------------
autopilot-gtk (1.3+13.10.20130628-0ubuntu1) saucy; urgency=low

  [ Martin Pitt ]
  * Handle enum and flags properties. (LP: #1193342). (LP: #1193342)
  * Expose GtkBuilder widget identifiers as "BuilderName" property. (LP:
    #1082391). (LP: #1082391)
  * This fixes the two test failures on raring which Francis saw in
    https://code.launchpad.net/~pitti/autopilot-gtk/add-
    tests/+merge/171036/comments/382574 I also sneaked in an unrelated,
    but trivial change for dropping a leftover debugging statement, in
    the interest of saving human reviewer and builder resources.
  * Support GtkTextBuffer properties, to introspect GtkTextView
    contents. (LP: #1194371)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 51
 -- Ubuntu daily release <email address hidden> Fri, 28 Jun 2013 00:01:10 +0000

Changed in autopilot-gtk (Ubuntu):
status: New → Fix Released
Martin Pitt (pitti)
Changed in autopilot-gtk:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.