gcommit: get_column_number: assertion i < gtk_tree_view_get_n_columns (treeview)' failed

Bug #929319 reported by Curtis Hovey
8
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar GTK+ Frontends
Triaged
Low
Unassigned

Bug Description

This can be reporoduced in gci by selecting partial commit,
unselecting a file checkbox, then selecting the all files radio button.

The call to checked_col.set_visible(False) in _toggle_commit_selection() fails.

Tags: gtk
Revision history for this message
Curtis Hovey (sinzui) wrote :

This is very perplexing. I see this error changing the visibility of a column after it has been added to the treeview. I think the error is coming from the accessibility code that wants to report the number of visible columns. The methods reported in the error have existed since November 2011. This may be a Gtk defect, or it is considered an error to change a column's visibility once the treeview has drawn.

I may write a test to reproduce this and send it upstream.

I have changes in place that disable the checkboxes instead of hiding the column. This is not ideal, but may be what we must accept if changing column visibility is wrong in Gtk.

Revision history for this message
Curtis Hovey (sinzui) wrote :

I also see this error when I hide the viz window's Revision Number Column or Date Column.

Revision history for this message
Curtis Hovey (sinzui) wrote :

I am setting this aside. I am not convinced that bzr-gtk is doing anything wrong. I wonder if this is a defect in the the Gtk accessibility libs. I have seen this error in other apps too.

Changed in bzr-gtk:
assignee: Curtis Hovey (sinzui) → nobody
milestone: 0.104.0 → none
status: In Progress → Triaged
importance: Medium → Low
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.