             
         case "title":
             title = mwv.title
+            self.view.window?.windowController?.synchronizeWindowTitleWithDocumentName()
             break;
             
         default:


                    // once loaded update window title,size with video name,dimension
                    if let toolTip = (mwv.url?.absoluteString) {
                        title = url.isFileURL ? url.lastPathComponent : (url.path != "/" ? url.lastPathComponent : url.host) ?? toolTip
                        self.heliumPanelController?.hoverBar?.superview?.toolTip = toolTip

                        if let track = AVURLAsset(url: url, options: nil).tracks.first {

                    if let doc = self.document, let hpc = doc.heliumPanelController {
                        self.view.window?.representedURL = url
                        hpc.updateTitleBar(didChange: false)
                        NSApp.addWindowsItem(self.view.window!, title: doc.displayName, filename: false)
                    }
                }
            }
