GNOME Bugzilla – Bug 773404
Client: Disconnect doesn't reset browser selection
Last modified: 2016-10-24 11:49:16 UTC
Steps to reproduce: ( client side ) 1. Connect to DAAP server. 2. Click on one of the properties ( say, an artist "artist1" in browser ). The results should be updated for "artist1". 3. Click on disconnect. 4. Un-focus and refocus on the share. 5. The selection in browser is "All artists", but the result shows only results for "artist1".
Created attachment 338321 [details] [review] Reset search filters on client disconnect
Review of attachment 338321 [details] [review]: pushed with a couple of changes as commit cfd1676 ::: plugins/daap/rb-daap-source.c @@ +814,3 @@ rb_daap_source_disconnect (source); + + /* Clear search filters */ this isn't a useful comment @@ +815,3 @@ + + /* Clear search filters */ + g_signal_emit_by_name (RB_SOURCE (source), "reset-filters"); g_signal_emit_by_name takes a gpointer, so there's no reason to cast the RBDaapSource pointer to an RBSource pointer here.