GNOME Bugzilla – Bug 330246
Detaching a tab after reordering the tab will freeze the terminal
Last modified: 2006-03-04 06:18:53 UTC
Steps to reproduce: 1. Open two tabs 2. Drag 2nd tab to the far left without releasing the mouse button 3. Move the mouse pointer outside the terminal window as if to detach the tab Stack trace: Other information:
Created attachment 58851 [details] [review] Patch to fix freeze when detaching Hi, Here is a patch to fix the bug. The freeze was caused by an infinite loop which resulted because the data, "notebook-page", associated with Tab menuitems was not updated before being activated in notebook_tab_selected_callback(). What needs to be done is for the data in Tab menuitems to updated before detaching the tab in notebook_tab_detached_callback(). The patch also removes redundant calls to update_tab_sensitivity() and reset_tab_menuitems() in detach_tab(). These functions have already been called in notebook_tab_removed_callback() after the tab was detached. Cheers, Tony
This is a 2.14 blocker, IMHO. Marking as so.
This has been committed with some slight changes. Thanks!