After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 545658 - filemanager preferences media tab combobox corruption
filemanager preferences media tab combobox corruption
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: Preferences
2.23.x
Other Linux
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-07-31 09:29 UTC by Sebastien Bacher
Modified: 2008-07-31 10:54 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Sebastien Bacher 2008-07-31 09:29:23 UTC
the bug has been described on https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/253506

"Binary package hint: nautilus

Ubuntu Hardy w/ Nautilus 2.22.3

In the "File Management Preferences" dialog box (Edit->Preferences), under the "Media" tab there are multiple drop-down combo boxes with items such as "Ask what to do", "Do Nothing", "Open Folder".

There is a bug if the combo box selection is toggled 22-23 times. At which point, eventually all items in the combo box will be identical to the last selected item. Selecting the same item repeatedly will not produce the error, only toggling between different values.

The corruption can be remedied by closing the dialog, and re-opening.

http://launchpadlibrarian.net/16437982/file_manager_pref_corruption.png"


confirming on the current intrepid version, you need to change the select items every time though, when the issue starts those warnings are displayed

"(nautilus:20388): Gtk-CRITICAL **: gtk_tree_row_reference_new: assertion `GTK_IS_TREE_MODEL (model)' failed

(nautilus:20388): Gtk-CRITICAL **: gtk_cell_view_set_displayed_row: assertion `GTK_IS_TREE_MODEL (cell_view->priv->model)' failed

(nautilus:20388): Gtk-CRITICAL **: gtk_tree_model_get_iter_first: assertion `GTK_IS_TREE_MODEL (tree_model)' failed"
Comment 1 Jared Moore 2008-07-31 09:41:03 UTC
An easy way to reproduce this is to get keyboard focus on one of the combo boxes (e.g. by clicking or tabbing to it) and then press up,down,up,down, etc on the keyboard.
Comment 2 Christian Neumair 2008-07-31 10:54:40 UTC
Thanks, I fixed the bug both in trunk and in the GNOME 2.22 branch, together with an unhandled NULL pointer:

http://svn.gnome.org/viewvc/nautilus?view=revision&revision=14431
http://svn.gnome.org/viewvc/nautilus?view=revision&revision=14432

Closing as fixed.