Public bug reported: According to the documentation: "If you only plan to have simple (text-only) tooltips on full rows, you can use this function to have GtkTreeView handle these automatically for you. column should be set to the column in tree_view's model containing the tooltip texts, or -1 to disable this feature." This works fine in most cases, but it fails to show anything in the tooltip if the text contains & or <, or some other odd characters. It shows warnings like this: test.py:62: GtkWarning: Failed to set text from markup due to error parsing markup: Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity - escape ampersand as & gtk.main() test.py:62: GtkWarning: Failed to set text from markup due to error parsing markup: Error on line 1 char 12: '<' is not a valid name gtk.main()
In the attached example, you can see the tooltip on all text unless it has odd characters like & or <. Also, commenting out the line with self.window.set_size_request causes the desktop effects to crash on 10.04. ** Affects: pygtk (Ubuntu) Importance: Undecided Status: New ** Tags: tooltip -- treeview.set_tooltip_column won't work with some text https://bugs.launchpad.net/bugs/582536 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to pygtk in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs