http://defect.opensolaris.org/bz/show_bug.cgi?id=11910


Darren Kenny <dkenny at opensolaris.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dkenny at opensolaris.org
         Resolution|                            |FIXINSOURCE
         AssignedTo|nwam-dev at opensolaris.org    |dkenny at opensolaris.org


--- Comment #2 from Darren Kenny <dkenny at opensolaris.org> 2009-10-13 
13:45:27 UTC ---
This was a strange one, and appears to be a bug in GTK+, but I've worked around
it for now. 

The issue is that when applying a filter function, that function attempts to
look at the state of the NCUs, which can cause a state to be updated from
nwamd, which in turns sends a notify message that the state has changed. If
such a notification message is sent while refiltering, this causes a duplicate
entry in the view (post filter) - the original model remains unchanged.

The fix is to defer the notify calls by calling g_object_freeze/thaw_notify for
each ncu, before and after the filter as appropriate.

There would still appear to be an obscure but in GTK+ which will need to be
addressed separately - I still don't understand how this occurred now when it's
not been seen all-along, but may be a GTK+ 2.18.x bug.

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

Reply via email to