GNOME Bugzilla – Bug 780838
Media selector's state between display header bars is not in sync
Last modified: 2018-08-17 08:15:23 UTC
How to reproduce: * Run a multidisc game * Click media > change the disc * Go to fullscreen mode * Click media The disc in this media selector is not updated.
Created attachment 355141 [details] [review] ui: Update MediaSelector on media number update This syncs the MediaSelectors in both normal header bar and full screen header bar.
Review of attachment 355141 [details] [review]: Thanks! It's almost good, just a small thing to fix and it will be perfect. ::: src/ui/media-selector.vala @@ +7,3 @@ set { _media_set = value; + _media_set.notify["selected-media-number"].connect (reset_media); You need to disconnect any previous connection, to do so you need to store the ID return by this line and use it in `_media_set.disconnect (your_id_here)`.
Created attachment 365600 [details] [review] ui: Update MediaSelector on media number update This syncs the MediaSelectors in both normal header bar and full screen header bar.